通达信【金钻指标】自创指标:黑马启动预警选股指标公式

 自创指标:黑马启动预警选股,主要根据成交量原理,抓住主力进驻、启动的最佳时刻!

绝对没有未来函数!信号绝不漂移


{公式名称: 黑马启动1008

公式描述:

无参数

公式类型: 技术指标公式-其他类型

画线方法: 副图

公式版本: 0

显示小数: 缺省位数

坐标线位置: 自动

额外Y轴分界: 无

 

参数精灵:无

用法注释:无

公式源码:}

 

VAR1:=1;

VAR3:=LLV(HIGH,240);

VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;

VAR5:=REF(LLV(CLOSE,480),1)*VAR1;

VAR6:=REF(HHV(CLOSE,480),1)*VAR1;

VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;

VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1;

VAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1;

VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1;

VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1;

VARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1;

VARD:=IF(VARC>23.16,VARC,0)*VAR1;

VARE:=VARC<1*VAR1;

VARF:=VARD*VAR1;

VAR10:=VAR4<0 AND VAR7<0;

VAR11:=1;

VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;

VAR13:=EMA(VAR12,21);

VAR14:=STD(VAR12,21);

VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11;

VAR16:=(EMA(VAR15,89)-25)*1.56*VAR11;

VAR17:=EMA(VAR16,5)*1.22*VAR11;

VAR18:=EMA(VAR17,3)*VAR11;

VAR19:=3*VAR17-2*VAR18*VAR11;

VAR1A:=IF(CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18) AND CROSS(VAR17,VAR18),1,0);

VAR1B:=IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);

买:=IF(FILTER(VAR8=0 AND VARE AND VAR10 AND VAR1A,5)=1,10,0);

卖:=IF(FILTER(VAR8=100 AND VARF AND VAR1B,5)=1,10,0);

VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR1;

VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;

VAR1E:=EMA(VAR1D,30)*VAR1;

VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;

VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;

VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR22:=EMA(VAR21*0.97,3)*VAR1;

VAR23:=(HIGH+LOW+CLOSE)/3*VAR1;

VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14))*VAR1;

VAR25:=IF(VAR1F>0.015,VAR20,0)/45*VAR1;

私募拉升资金:=VAR25;

VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);

VAR27:=EMA(VAR26,100);

VAR28:=2*(VAR26-VAR27);

VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);

VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR2B:=EMA(VAR2A*0.97,3);

VAR2C:=(HIGH+LOW+CLOSE)/3;

VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));

机构主力资金:=IF(VAR28>0.1,VAR29,0)*5;

私募拉升:=私募拉升资金>REF(私募拉升资金,1);

LCZ:=(CLOSE-MA(CLOSE,210))/MA(CLOSE,210)*100;

A1:=COUNT(MA(CLOSE,60)>MA(CLOSE,210),100)>75;

A2:=COUNT(LCZ<25,100)>75;

A3:=COUNT(CLOSE>MA(CLOSE,210),100)>70;

A4:=MA(CLOSE,60)>MA(CLOSE,250) AND MA(CLOSE,210)>MA(CLOSE,250) AND MA(CLOSE,13)>MA(CLOSE,210);

跑道乖离:=COUNT((MA(CLOSE,13)-MA(CLOSE,210))/MA(CLOSE,210)*100>0,60)>=20 OR COUNT(MA(CLOSE,13)>MA(CLOSE,210),60)>=20;

跑道乖离率:=(CLOSE-MA(CLOSE,210))/MA(CLOSE,210)*100<35 AND (CLOSE-MA(CLOSE,210))/MA(CLOSE,210)*100>0;

跑道:=A1 AND A2 AND A3 AND A4 AND 跑道乖离率 AND COUNT(CROSS(MA(CLOSE,60),MA(CLOSE,210)),240)=1 OR (跑道乖离 AND 跑道乖离率 AND A4 AND COUNT(CROSS(MA(CLOSE,60),MA(CLOSE,210)),240)=1) OR (跑道乖离 AND 跑道乖离率);

VOLUME:=VOL;

启动线:=MA(VOLUME,5);

异动线:=MA(VOLUME,135);

前有堆量量坑:=REF(COUNT(启动线<异动线,15),1)>=8 AND REF(COUNT(启动线>异动线,30)>=20,15);

前有堆量量坑1:=REF(COUNT(启动线<异动线,70),1)>=40;

庄家进场:=前有堆量量坑 OR 前有堆量量坑1;

波动涨幅小:=REF(CLOSE,1)/REF(LOW,6)<1.15 OR REF(CLOSE,1)<REF(CLOSE,3) OR REF((HHV(HIGH,5)-LLV(LOW,5))/LLV(LOW,5),1)<0.15;

T:=FROMOPEN;

倍量:=前有堆量量坑 AND VOL/REF(VOL,1)>=2 AND VOL>异动线;

SHORT:=9;

LONG:=26;

MID:=9;

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);

DEA:=EMA(DIF,MID);

MACD:=(DIF-DEA)*2;

金叉:=COUNT(CROSS(DIF,DEA),10)=1;

轴附近金叉1:=CROSS(MACD.DIF,MACD.DEA) AND BETWEEN(MACD.DEA,0.1,(-0.05));

振幅小:=HHV(HIGH,40)/LLV(LOW,40)<=1.25;

A:=LOW=LLV(LOW,60);

TT:=BARSLAST(A);

底部抬高:=LLV(LOW,20)>REF(LOW,20) OR LLV(LOW,20)>=REF(LLV(LOW,40),20);

黑马启动:=CROSS(启动线,异动线) AND 私募拉升 AND REF(VOL,1)>异动线 AND 庄家进场 AND 跑道 AND 金叉 AND 波动涨幅小 AND 底部抬高;

老唐黑马启动:黑马启动 AND (REF(BARSLAST(黑马启动),1)>20 OR BARSSINCE(黑马启动)=0);

TDXSTEP106:STICKLINE(老唐黑马启动,0,98,3,0),COLORGREEN;

TDXSTEP107:DRAWTEXT(老唐黑马启动,88,1),COLORYELLOW;

TDXSTEP108:DRAWICON(老唐黑马启动>0,65,4);

TDXSTEP109:DRAWICON(老唐黑马启动>0,50,1);

TDXSTEP110:DRAWICON(老唐黑马启动>0,35,7);

TDXSTEP111:DRAWICON(老唐黑马启动>0,25,9);




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图