波段指标,供大家参考。
ma5:MA(C,5);;
ma6:=MA(C,6);
ma10:MA(C,10);
ma20:MA(C,20);
A2:=REF(ma20,1);J1:=(ma20-A2)/A2*100;MJ1:=MA(J1,3);
ma30:MA(C,30);
ma55:MA(C,55);
ma120:MA(C,120);
乖离2:=(ma20-ma30)/ma30*100;
max1:=MAX(ma20,ma30);
max2:=MAX(max1,ma55);
min1:=MIN(ma20,ma30);
min2:=MIN(min1,ma55);
上火车轨:=ma20>ma30 AND ma20>REF(ma20,1) AND ma30>REF(ma30,1) AND ma20-ma30>REF((ma20-ma30),1) ;
STICKLINE(上火车轨,ma20,ma30,2,0),colorred;
神枪手:=DRAWTEXT(FILTER(上火车轨 AND "macd.diff"<0.15 AND "macd.diff">REF("macd.diff",1) AND MA(V,60)>REF(MA(V,60),1) AND MA(V,5)>MA(V,10) AND J1>REF(j1,1) AND
( L<=ma20 AND C>ma20 OR (CROSS(ma5,ma20)) ),5),L*0.98,'←神枪手');