同花顺合并即涨副图指标 源码介绍
同花顺合并即涨副图指标 源码
VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:=SMA(VAR3,4,1)-10;
VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR5:=SMA(VAR4,3,1);
STICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),colorred;
STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),coloryellow;
A:90-SMA(VAR5,4,1),colorwhite;
DRAWTEXT(IF(CROSS(0,A),100,0),A+10,'关注'),colorwhite ;
DRAWTEXT(IF(CROSS(A,80),100,0),A-10,'顶'),colorwhite ;
底:0,colorred;
超级底:-10,colorred;
顶:80,colorgreen;
超级顶:90,colorgreen;
gd47744