该指标适用于短期操作,出现红色塔尖符号为买入信号,短期上涨概率较大,反之,下跌风险较大。
N:=6;
Var1:=(2*CLOSE+OPEN+HIGH+LOW)/5;
Var2:=(CLOSE-MA(CLOSE,n))/MA(CLOSE,n)*100;
Var3:=(EMA(Var2,3)+EMA(Var2,6)+EMA(Var2,12)+EMA(Var2,24))/4;
A1: EMA(Var3,2);
A2: EMA(A1,2);
A3: EMA(A2,2);
A4: EMA(A3,2);
A5: EMA(A4,2);
强弱: 0, CIRCLEDOT;
买进: IF(CROSS(A1,A5),-1,-5);
卖出: IF(CROSS(A5,A1),1,5);
A6: 3*A1-2*A2;
DRAWTEXT(CROSS(A1,A2),A1,'始');
DRAWTEXT(CROSS(A2,A1),A2,'终');