Var1:=(CLOSE*2+HIGH+LOW)/4;
s:=EMA(Var1,13)-EMA(Var1,21);
D:=EMA(s,2);
差: 2*(s-D)*3.8*10;
参考:EMA(差,2);
X:0;
DRAWTEXT(差>REF(差,1) AND REF(差,1)
DRAWTEXT(差>REF(差,1) AND REF(差,1)
DRAWTEXT(差REF(差,2)AND 差<参考 ,REF(差,1),'卖'),colorblue;
STICKLINE(差>REF(差,1) AND REF(差,1)
STICKLINE(差REF(差,2),0,REF(差,1),4,0),colorblue;