通达信三日出货源码
-
相关简介:HH:=IF(CREF(C,1) AND HREF(L,1),REF(L,1),H); LL:=IF(CREF(C,1) AND LREF(H,1),REF(H,1),L); 穿越筹码:=(WINNER(HH)-WINNER(LL))*100; V1:=(WINNER(HH)-PWINNER(1,HH))*100; V2:=(PWINNER(1,LL)-WINNER(LL))*100; 出货:IF(IF(V20,V2,DRAWNULL)0,V2, DRAWNULL),COLOR0000FF,NO
-
文章来源:股海网作者:股海网发布时间:2020-01-06浏览次数:
HH:=IF(C<REF(C,1) AND H<REF(L,1),REF(L,1),H);
LL:=IF(C>REF(C,1) AND L>REF(H,1),REF(H,1),L);
穿越筹码:=(WINNER(HH)-WINNER(LL))*100;
V1:=(WINNER(HH)-PWINNER(1,HH))*100;
V2:=(PWINNER(1,LL)-WINNER(LL))*100;
出货:IF(IF(V2>0,V2,DRAWNULL)>0,V2, DRAWNULL),COLOR0000FF,NODRAW;
割肉:IF(IF(V1>0,V2, DRAWNULL)>0,V1,DRAWNULL),COLOR00FFFF,NODRAW;
三日出货:SUM(IF(V2>0,V2,DRAWNULL),3),COLORFF00FF,LINETHICK1;
三日割肉:SUM(IF(V1>0,V2, DRAWNULL),3),COLOR9FFFFF,LINETHICK3;
VAR1:=(CLOSE+LOW+HIGH)/3;
VAR2:=SUM((VAR1-REF(LOW,1)-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);
VAR3:=EMA(VAR2,1);
VAR4:=VAR3;
VAR5:=MA(VAR3,12);
VAR6:=MA(VAR3,26);
VAR7:=(VAR4-VAR5)*60;
VAR8:=(VAR5-VAR6)*30;
VAR9:=CAPITAL/EMA(VOL,5)/30*1.1;
拉升:IF(CROSS(VAR7,VAR9),10,DRAWNULL),COLORRED,NODRAW;
STICKLINE(拉升,0,5,3,0),COLOR0000FF;
DRAWTEXT(拉升,5,'拉升'),COLOR00FFFF;