VAR1:=EMA(CLOSE,8);
VAR2:=EMA(VAR1,20);
VAR3:=crOSS(VAR1,VAR2);
VAR4:=VAR1<EMA(CLOSE,120);
VAR5:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
DRAWTEXTAbs(5,5,' '),linethick1,COLOR00EEff;
天河过江龙:STICKLINE(VAR5>20 AND VAR5<80,VAR5,VAR5,6,1),POINTDOT,LINETHICK2,colorFFFFff;
STICKLINE(VAR5>80,VAR5,VAR5,6,1),POINTDOT,LINETHICK2,colorFF0000;
STICKLINE(VAR5>90,VAR5,VAR5,6,1),POINTDOT,LINETHICK2,colorFFFF00;
STICKLINE(VAR5<20,VAR5,VAR5,6,1),POINTDOT,LINETHICK2,colorFFF00F;
STICKLINE(VAR5<10,VAR5,VAR5,6,1),POINTDOT,LINETHICK2,colorFF00FF;
风险线:80,POINTDOT,colorFF0000;
牛熊线:50,POINTDOT,colorFFFFFF;
安全线:20,POINTDOT,colorFF00FF;