发出信号可以加仓买入,没有卖出信号提示,自己把握。但是买入信号很准的.
m5:=MA(C,5),colorcyan;
m10:=MA(C,10),colorcyan,Linethick2;
m20:=MA(C,20);
m30:=MA(C,30),colormagenta;
m60:=MA(C,60),colormagenta,Linethick2;
m120:=MA(C,120),coloryellow,Linethick2;
sp40:=REF(CLOSE,60);
MA5sp40:=MA(sp40,5);
zf40:CLOSE/MA5sp40;
sxss:=IF(M5 REF(M5,1) AND (m10 REF(m10,1)) AND (m20 REF(m20,1)) AND (m30 REF(m30,1)) AND (m60 REF(m60,1)),1,0);
加仓:(CROSS(REF(sxss,1),0.9) AND sxss=1 AND zf40 1.3),colorblue;