源码
VAR1:=EMA(CLOSE,6);
VAR2:=EMA(VAR1,10);
VAR3:=CROSS(VAR1,VAR2);
VAR4:=VAR1< EMA(CLOSE,120);
VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);
天河过江龙: STICKLINE(VAR5>20 AND VAR5<80,VAR5,VAR5,6,1),coloryellow;
STICKLINE(VAR5>80,VAR5,6,1),color00FF00;
STICKLINE(VAR5<20,VAR5,6,1),color0000FF;
风险区: 80,color00FF00;
牛熊线: 50,colorwhite;
安全区: IF(VAR3 AND VAR4,50,20),color33FFFF;