通达信【五湖四海】个人珍藏选股指标公式
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);
天界真龙:STICKLINE(VAR5>20 AND VAR5<80,VAR5,VAR5,6,1),LINETHICK2,POINTDOT,COLORYELLOW;
STICKLINE(VAR5>80,VAR5,VAR5,6,1),LINETHICK2,POINTDOT,COLORRED;
STICKLINE(VAR5<20,VAR5,VAR5,6,1),LINETHICK2,POINTDOT,COLORBLUE;
三十三天:80,POINTDOT,COLORMAGENTA;
天界:50,POINTDOT,COLORWHITE;
五湖四海:IF(VAR3 AND VAR4,50,20),COLORGREEN;