Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1: (EMA(Var1,3)+EMA(Var1,6)+EMA(Var1,12)+EMA(Var1,24))/4;
A2: EMA(A1,2);
A3: EMA(A2,2);
A4: EMA(A3,2);
A5: EMA(A4,2);
A6: EMA(A5,2);
A7: EMA(A6,2);
A8: EMA(Var1,2.78)*1.028,colorffffff,linethick1;
A9: MA(OPEN,3.2)*1.028,colorgreen,linethick1;
PARTLINE(A1,A1>REF(A1,1),RGB(255,0,0),A1
PARTLINE(A8,A9);
DRAWTEXT(CROSS(A8,A9),A8,'★'),COLORyellow,LINETHICK1;
DRAWTEXT(CROSS(A9,A8),A9,'●'),COLORgreen,LINETHICK1;
DRAWTEXTREL(10,100,'= 黄★点 '),coloryellow,linethick1;
DRAWTEXTREL(55,100,' +红线 股价上升 ='),colorred,linethick1;
DRAWTEXTREL(10,250,'= 绿●点 '),colorgreen,linethick1;
DRAWTEXTREL(55,250,' +黄线 股价下降 ='),coloryellow,linethick1;
安全线: EMA(CLOSE,55),colorgreen, CIRCLEDOT;