您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

大波黑马起步点副图指标公式源码[通达信公式]

相关标签:

 

 

原理解析:


 

 来源:程序化99( WWW.CXH99.COM )

源码:

 

 

 

VAR1:=100*(CLOSE-MA(CLOSE,30))/MA(CLOSE,30);VAR2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20 )-LLV(LOW,20));VAR3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);VAR4:=MA(VAR3,6);红持股:IF(VAR2<VAR4,VAR4,VAR2),COLORRED;绿持币:IF(VAR2>VAR4,VAR4,VAR2),COLORGREEN;强弱:VAR4,COLORYELLOW;VAR5:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);VAR6:=10;百万测底:CROSS(VAR5,VAR6)*75,COLORRED,LINETHICK2;VAR7:=REF(CLOSE,1)/CLOSE;VAR8:=MIN(MA(AMOUNT/VOL/100,15),EMA(AMOUNT/VOL/100,15));VAR9:=(1-SMA(LOW*VAR7-VAR7/10,6,1)/EMA(AMOUNT/VOL/100,15))*100-100/10;VAR10:=(1-MA(LOW-VAR7/10,6)/VAR8)*DMA(CLOSE,VOL/CAPITAL)/MA(LOW,6)*100-100/10;VAR11:=VAR9+VAR10/10>0 AND DATE>1000101 AND DATE<1991231 AND COUNT(1-CLOSE/REF(CLOSE,1)>0.099 AND 1-REF(CLOSE,1)/REF(CLOSE,2)>0.099,20)<3;VAR12:=VAR9+VAR10/10>(-3.688) AND DATE>1000101 AND DATE<1991231 AND CLOSE/REF(CLOSE,1)>1.02 AND COUNT(1-CLOSE/REF(CLOSE,1)>0.099 AND 1-REF(CLOSE,1)/REF(CLOSE,2)>0.099,20)<3 AND REF(CLOSE,1)/REF(CLOSE,2)<0.95 AND CLOSE/HHV(HIGH,20)<0.855;VAR13:=IF(100<100 AND VAR9+VAR10/10>0 AND DATE>1000101 AND DATE<1991231,VAR11=1,VAR12=1)*100;VAR14:=EMA(CLOSE,8);VAR15:=EMA(VAR14,20);VAR16:=CROSS(VAR14,VAR15);VAR17:=VAR14<EMA(CLOSE,120);大波黑马起步:(VAR16 AND VAR17)*75,COLORYELLOW,LINETHICK2;D_18:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);D_19:=SUMBARS(VOL,CAPITAL);D_20:=IF(CLOSE>LLV(CLOSE,D_19),1,(-1))*IF(D_18>LLV(D_18,D_19),1,(-1));D_21:=IF(D_20=(-1),1,0);D_22:=COUNT(D_21=1,8)>2;D_23:=SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100;D_24:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/D_23);D_25:=(CLOSE-D_24)/D_24*100<(-15);D_26:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.05;D_27:=REF(LOW,1);D_28:=SMA(ABS(LOW-D_27),3,1)/SMA(MAX(LOW-D_27,0),3,1)*100;D_29:=EMA(IF(CLOSE*1.2,D_28*10,D_28/10),3);D_30:=LLV(LOW,38);D_31:=HHV(D_29,38);D_32:=IF(LLV(LOW,90),1,0);D_33:=EMA(IF(LOW<=D_30,(D_29+D_31*2)/2,0),3)/618*D_32;STICKLINE(D_33,0,D_33,6,1),COLORYELLOW;底部必买:IF(D_25 AND D_26 AND D_22,60,0);DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;

 

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容