通达信行云流水指标+选股源码副图
2017-10-18原创 编 辑:翔博软件
{行云流水}
DRAWGBK(OPEN>CLOSE,RGB(48,41,124),RGB(0,0,0),0,1,0);
行云流水:DRAWNULL,COLORFFAA00;
VAR1:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR2:=(HHV(HIGH,25)-LLV(LOW,25))/EMA(CLOSE-LLV(LOW,25),5);
VAR3:=CROSS(VAR2,VAR1);
VAR4:=REF(VAR2,2)<REF(VAR2,1) AND VAR2<REF(VAR2,1);
VAR5:=COUNT(VAR3,7)>0 AND VAR4;
VAR6:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR7:=SMA(ABS(LOW-VAR6),13,1)/SMA(MAX(LOW-VAR6,0),10,1);
VAR8:=EMA(VAR7,10);
VAR9:=EMA(CLOSE,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR9,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
VAR13:=VAR5 AND COUNT(VAR5,5)=1;
STICKLINE(VAR13,0,110,1,0),COLOR1029FF;
STICKLINE(VAR13,0,110,0.8,0),COLOR1040FF;
STICKLINE(VAR13,0,110,0.6,0),COLOR1083FF;
STICKLINE(VAR13,0,110,0.4,0),COLOR10ABFF;
STICKLINE(VAR13,0,110,0.2,0),COLOR10D0FF;
STICKLINE(VAR13,0,110,0.1,0),COLOR10FFFF;
STICKLINE(VAR13,80,0,2.5,0),COLOR000099;
STICKLINE(VAR13,80,0,1.5,0),COLOR0000BB;
STICKLINE(VAR13,80,0,1,0),COLOR0000DD;
STICKLINE(VAR13,80,0,0.5,0),COLORRED;
STICKLINE(VAR13,40,0,4,0),COLOR770077;
STICKLINE(VAR13,40,0,3,0),COLOR990099;
STICKLINE(VAR13,40,0,2,0),COLORBB00BB;
STICKLINE(VAR13,40,0,1,0),COLORDD00DD;
STICKLINE(VAR13,40,0,0.5,0),COLORMAGENTA;
DRAWICON(VAR13,120,1);