结合KDJ买入!效果会更好设了止损止赢自己把握
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
XYS1:=MA(XYS0,2);
XYS2:=MA(XYS0,1);
A:=CROSS(XYS1,XYS2);
B:=CROSS(XYS2,XYS1);
DRAWTEXT(B,O,'▲-狙击涨停-----下破止损-------------------------'),COLOR00FF00;