股票论坛

标题: 箱体公式预警 [打印本页]

作者: 我的名字很长    时间: 2015-9-13 16:40
标题: 箱体公式预警
M10:MA(C,10);
TJ1:=CROSS(MA(C,10)>=C,0.5) AND C<O;
NOTEXT1:DRAWLINE(TJ1,O,REF(TJ1,1),REF(O,1),1)COLORYELLOW;
NOTEXT2:DRAWLINE(TJ1,C,REF(TJ1,1),REF(C,1),1)COLORGREEN;
TJ11:=CROSS(O<NOTEXT1 AND C>NOTEXT1,0.5);
TJ111:=CROSS(O<NOTEXT2 AND C>NOTEXT2,0.5);
DRAWTEXT(TJ11,L*0.95,'买入')COLORLIRED;
DRAWTEXT(TJ111,L*0.9,'买入')COLORYELLOW;
怎么改为预警公式,可以选股!
作者: 新人报道    时间: 2015-9-13 16:40
M5:=MA(C,5);
M10:=MA(C,10);
TJ1:=CROSS(MA(C,10)>=C,0.5) AND C<O;
NOTEXT1:=DRAWLINE(TJ1,O,REF(TJ1,1),REF(O,1),1)COLORYELLOW;
NOTEXT2:=DRAWLINE(TJ1,C,REF(TJ1,1),REF(C,1),1)COLORGREEN;
TJ11:=CROSS(O<NOTEXT1 AND C>NOTEXT1,0.5);
TJ111:=CROSS(O<NOTEXT2 AND C>NOTEXT2,0.5);
买入1:=DRAWTEXT(TJ11 AND M5>=REF(M5,1),L*0.95,'买入')COLORLIRED;
买入2:=DRAWTEXT(TJ111 AND M5>=REF(M5,1) ,L*0.9,'买入')COLORYELLOW;
XG:买入1 OR 买入2 AND M5>=M10 AND C>=REF(C,1)*1.01;
作者: 学习    时间: 2016-11-1 15:38
学习




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2