股票论坛

标题: 请老师修改个选股器和预警公式,谢谢 [打印本页]

作者: 同程者    时间: 2016-7-24 19:37
标题: 请老师修改个选股器和预警公式,谢谢
A:=CLOSE/REF(CLOSE,3)>=1.1;
B:=BACKSET(A,3);
三日内看板:IF((B AND COUNT(B,3)=1),80,0);
{买进}
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
买入三五天:IF(REF(TJ,1)=0 AND TJ>=1,80,0),COLORRED,LINETHICK2;
作者: (百川)    时间: 2016-7-24 21:36
{副图}
A:=CLOSE/REF(CLOSE,3)>=1.1;
B:=BACKSET(A,3);
三日板:=IF((B AND COUNT(B,3)=1),80,0);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
五日涨:=IF(REF(TJ,1)=0 AND TJ>=1,80,0);
选股:三日板 OR 五日涨,COLORRED;
DRAWTEXT(选股,(三日板 OR 五日涨)*0.58,'三日板'),COLORRED;
DRAWTEXT(选股,(三日板 OR 五日涨)*0.38,'五日涨'),COLORRED;
作者: (百川)    时间: 2016-7-24 21:36
{预警}
A:=CLOSE/REF(CLOSE,3)>=1.1;
B:=BACKSET(A,3);
三日板:=IF((B AND COUNT(B,3)=1),80,0);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
五日涨:=IF(REF(TJ,1)=0 AND TJ>=1,80,0);
选股:三日板 OR 五日涨;
作者: (百川)    时间: 2016-7-24 21:38
有未来
作者: 同程者    时间: 2016-7-25 12:35
(百川) 发表于 2016-7-24 21:38
有未来






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