本人参考的指标,拿出来给同学。解决一跌就想买,一涨就想卖的问题。
你可以随意给他起个名字,不过叫大波段好像更恰切。
源码:
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,22);{默认参数14}
B:=REF(A,3);{默认参数1}
STICKLINE(A>B,A,B,3,0),COLORYELLOW;
STICKLINE(A
DRAWTEXT(CROSS(A>B,0.5),L-0.5,2),COLORYELLOW;
DRAWTEXT(CROSS(B>A,0.5),H+0.5,1),COLORGREEN;
M5:EMA(CLOSE,5);
M10:EMA(CLOSE,10);
M20:EMA(CLOSE,20);
M60:EMA(CLOSE,60);
M120:=EMA(CLOSE,120);
M250:EMA(CLOSE,250), COLORRED,LINETHICK2;