通达信财神送宝副图指标公式

[复制链接]
查看183 | 回复0 | 2021-8-20 20:02:06 | 显示全部楼层 |阅读模式
本文指标含有选股公式如下:

财神送宝之选股指标公式

MA13:=MA(C,13);
MA34:=MA(C,34);
MA55:=MA(C,55);
YY1:=O<MA13 AND C>MA13;
YY2:=O<MA34 AND C>MA34;
YY3:=O<MA55 AND C>MA55;
YY4:=C/O>=1.04;
YY5:=V>HHV(H,10);
YY6:=MA13>=REF(MA13,1);
VARQ0:=1.04;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250);
VARQ5:=MA(CLOSE,13);
VARQ6:=MA(CLOSE,34);
VARQ7:=MA(CLOSE,55);
VARQ15:=OPEN < VARQ5 AND CLOSE > VARQ5;
VARQ16:=OPEN < VARQ6 AND CLOSE > VARQ6;
VARQ17:=OPEN < VARQ7 AND CLOSE > VARQ7;
VARQ18:=CLOSE / OPEN >= VARQ0;
VARQ19:=VOL > HHV(HIGH,10);
VARQ20:=VARQ5 >= REF(VARQ5,1);
VARQ21:=VARQ15 AND VARQ16 AND VARQ17 AND VARQ18 AND VARQ19 AND VARQ20;
VARQ24:=BARSLAST(VARQ21 > 0) < 25 AND CLOSE < MA10;
VARQ25:=FILTER(VARQ24,25 - BARSLAST(VARQ21 > 0));
VARQ27:=(OPEN + CLOSE) / 2;
VARQ29:=CLOSE = HHV(CLOSE,13);
VARQ30:=BARSLAST(FILTER(CROSS(0.8,VARQ29),2)) + 1;
VARQ33:=CLOSE = LLV(CLOSE,13);
VARQ34:=BARSLAST(FILTER(CROSS(0.8,VARQ33),2)) + 1;
VARQ37:=IF(CLOSE / REF(CLOSE,1) >= 1.099,1,0);
ZT:=C/REF(C,1)>1.099 AND C=H;
A1:=MA5>L AND MA5<O;
A2:=MA60>L AND MA60<O;
A3:=MA120>L AND MA120<O;
A4:=A1 OR A2 OR A3;
昨日涨幅:=(REF(C,1)/REF(C,(2)))<1.09;
主升浪:=ZT AND MA5>MA120 AND C>MA5 AND 昨日涨幅;
均线金叉:=ZT AND (CROSS(MA5,MA60) OR CROSS(MA5,MA120)) AND 昨日涨幅;
击穿均线:=ZT AND A4 AND 昨日涨幅;
海底捞月:=ZT AND C<MA5 AND 昨日涨幅;
鱼跃龙门:=CROSS(C,MA120) AND ZT AND MA5>MA60 AND (CROSS(MA5,MA60) OR CROSS(MA5,MA120)) AND 昨日涨幅;
突破半年线:=CROSS(C,MA120) AND ZT AND 昨日涨幅;
一阳洞穿:=REF(C,1)<MA5 AND REF(C,1)<MA20 AND REF(C,1)<MA30 AND REF(C,1)<MA60 AND
C>MA5 AND C>MA20 AND C>MA30 AND C>MA60 AND ZT AND 昨日涨幅;
旱地拔葱:=ZT AND MA120>MA5 AND MA5>MA60 AND OPEN>MA120 AND CLOSE>MA120 AND 昨日涨幅;
超跌反攻:=ZT AND C> MA5 AND MA120/MA5>1.15 AND 昨日涨幅;
反转:=ZT AND REF(MA5,1)/REF(C,1)>1 AND C/MA5>1 AND 昨日涨幅;
AA:= REF(EVERY((C/REF(C,1)>1.099 AND O=C AND H=L),3),1);
BB:=O/REF(C,1)>1.099 AND H=O AND L<O ;
CC:=BARSCOUNT(C)<30;
打开一字:=AA AND BB AND CC;
A5:=HHV(H,30);
A6:=CROSS(C,REF(A5,1));
DDT:=MA5>MA10 AND MA10>MA30 AND MA30>MA60;
CDT:=MA30>MA60 AND MA60>MA120 AND MA120>MA250;
PC:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND DYNAINFO(17)>=2 AND CAPITAL<=8000000;{非ST}
T1:=MA30>MA5 AND MA30>MA10 AND MA60>MA5 AND MA60>MA10;
T2:=CROSS(C,MA30) AND CROSS(C,MA60);
T3:=MA120>MA60 AND MA120>MA30 AND MA120>MA10 AND MA120>MA5;
T4:=MA250>MA120 AND MA250>MA60 AND MA250>MA30 AND MA250>MA10 AND MA250>MA5;
TP1:=T1 AND T2 AND PC AND C>MA250 AND C>MA120;
TP2:=CDT AND PC AND CROSS(C,MA5) AND CROSS(C,MA10) AND C>MA30;
TP3:=T3 AND CROSS(C,MA120) AND PC OR T4 AND CROSS(C,MA250) AND PC;
TP4:=DDT AND CDT AND PC AND A2;
ZF:=C>O AND C/REF(C,1)>=1.05;
TP5:=EXIST(CROSS(MA10,MA5),10) AND CROSS(C,MA5) AND CROSS(C,MA10) AND ZF;
短线起爆:=TP1 AND ZF OR TP2 AND ZF OR TP3 AND ZF OR TP5 AND CDT;
跳空高开:=ZT AND OPEN>MA5 AND LOW/REF(CLOSE,1)>1 AND OPEN/REF(CLOSE,1)>1 AND O<C AND 昨日涨幅;
天天涨停:=(YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6) OR 跳空高开 OR 短线起爆 OR 打开一字 OR 反转 OR 超跌反攻 OR 旱地拔葱 OR 一阳洞穿 OR 突破半年线 OR 鱼跃龙门 OR 海底捞月 OR 击穿均线 OR 均线金叉 OR 主升浪;
STICKLINE(天天涨停,58,55,14,0),COLORYELLOW;
STICKLINE(天天涨停,57,56,12,0),COLORCYAN;
STICKLINE(天天涨停,45,48,4,0),COLORWHITE;
STICKLINE(天天涨停,53,50,9,0),COLOR0088DD;
STICKLINE(天天涨停,55,48,6,0),COLORLIRED;
STICKLINE(天天涨停,53,53,5,0),COLOR000000;
STICKLINE(天天涨停,52,52,3,0),COLOR000000;
STICKLINE(天天涨停,53,50,2,0),COLOR0077EE;
STICKLINE(天天涨停,53,50,1,0),COLOR0077EE;
STICKLINE(天天涨停,60,55,7,0),COLORRED;
STICKLINE(天天涨停,60,63,4,0),COLORRED;
财神送宝:IF(天天涨停,58,DRAWNULL),LINETHICK4,POINTDOT,COLORGREEN;
STICKLINE(天天涨停,20,17,16,0),COLORWHITE;
STICKLINE(天天涨停,22,20,12,0),COLORYELLOW;
STICKLINE(天天涨停,22,17,5,0),COLORBLACK;
STICKLINE(天天涨停,33,22,13,0),COLORRED;
STICKLINE(天天涨停,46,42,18,0),COLORMAGENTA;
STICKLINE(天天涨停,46,31,16,0),COLORRED;
STICKLINE(天天涨停,41,31,12,0),COLORBROWN;
STICKLINE(天天涨停,41,31,11,0),COLORRED;
STICKLINE(天天涨停,32,31,12,0),COLORYELLOW;
STICKLINE(天天涨停,35,33,8,0),COLOR00AAFF;
STICKLINE(天天涨停,49,49,1,0),COLOR0000EE;
DRAWICON(天天涨停,38,9);
DRAWICON(天天涨停,26,29);

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则