大智慧买卖指示公式
-
相关简介:大智慧买卖指示公式 {买卖指示} Var0:=SMA(MAX(CLOSE-ref(c,1),0),12,1)/SMA(ABS(CLOSE-ref(c,1)),15,1)*100; DRAWTEXT(CROSS(82,Var0),high,'卖'),colorwhite; s:=C-REF(C,1); DX:=100*EMA(EMA(s,6),6)/EMA(EMA(ABS(s),6),6); 买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX0,2) AND CROSS(
-
文章来源:股海网作者:股海网发布时间:2012-06-08浏览次数:
大智慧买卖指示公式
{买卖指示}
Var0:=SMA(MAX(CLOSE-ref(c,1),0),12,1)/SMA(ABS(CLOSE-ref(c,1)),15,1)*100;
DRAWTEXT(CROSS(82,Var0),high,'卖'),colorwhite;
s:=C-REF(C,1);
DX:=100*EMA(EMA(s,6),6)/EMA(EMA(ABS(s),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(filter(买=1,5),LOW-0.03,'升'),ColorFFDE00;
da:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
db:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(da-db,0),L*0.99,'B'),ALIGN1,VALIGN0,COLOR00FFFF,linethick5;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH),H*1.02,'S'),ALIGN1,VALIGN0,COLORGREEN,linethick4;
YC:=REF(CLOSE,1);
止损价位:(YC*1.0035*97+0.2)/99.65,PRECIS2,ColorFFCC33,LINETHICK0;
盘子:CAPITAL/1000000,linethick0;
盘子1:CAPITAL/100,linethick0;
盘子2:FINANCE2(37),linethick0;
{缺口}
STICKLINE(L>REF(H,1),L,REF(H,1),50,1001),Color408080;
STICKLINE(REF(L,1)>H,ref(L,1),H,50,1001),Color808040;
DRAWTEXT(L>REF(H,1),REF(H,1),NUMTOSTRN(REF(H,1),2)+'-'+NUMTOSTRN(L,2)),Color408080;
DRAWTEXT(REF(L,1)>H,REF(L,1),NUMTOSTRN(ref(l,1),2)+'-'+NUMTOSTRN(h,2)),VALIGN2,Color808040;