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

盘中参考(通达信公式 副图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

cxh1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;cxh2:=2*ABS(cxh1);cxh3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);cxh4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);cxh5:=(HIGH+LOW+CLOSE)/3;cxh6:=(cxh5-MA(cxh5,14))/(0.015*AVEDEV(cxh5,14));cxh7:=(cxh5-MA(cxh5,70))/(0.015*AVEDEV(cxh5,70));cxh8:=IF(cxh6>=150 AND cxh6<200 AND cxh7>=150 AND cxh7<200,10,0);cxh9:=IF(cxh6<=-150 AND cxh6>-200 AND cxh7<=-150 AND cxh7>-200,-10,cxh8);cxhA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;cxhB:=100-ABS(cxhA);cxhC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);cxhD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);cxhE:=REF(LOW,1)*0.9;cxhF:=LOW*0.9;cxh10:=(cxhF*VOL+cxhE*(CAPITAL-VOL))/CAPITAL;cxh11:=EMA(cxh10,30);cxh12:=cxh11-CLOSE;cxh13:=REF(CLOSE,1);cxh14:=SMA(MAX(CLOSE-cxh13,0),7,1)/SMA(ABS(CLOSE-cxh13),7,1)*100;cxh15:=SMA(MAX(CLOSE-cxh13,0),13,1)/SMA(ABS(CLOSE-cxh13),13,1)*100;cxh16:=BARSCOUNT(CLOSE);cxh17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;cxh18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;cxh19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;cxh1A:=(SMA(cxh19,4,1)-50)*2;cxh1B:=SMA(cxh1A,3,1);cxh1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;cxh1D:=SMA(cxh1C,4,1);cxh1E:=SMA(cxh1D,3,1);cxh1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;cxh20:=IF(cxh17<=25 AND cxh18<-95 AND cxh1F>20 AND cxh1B<-30 AND cxh1E<30 AND cxh12>=-0.25 AND cxh14<22 AND cxh15<28 AND cxh16>50,80,0);情报: cxh3;天线: IF(cxhB<90,cxhB,100);红军: IF(cxh1>0,cxh1,0),colorred, LINESTICK;绿军: IF(cxh1<0,cxh2,0),colorgreen,LINESTICK;导弹: cxh20;预警系统: IF(cxh7>=200 AND cxh6>=150,15,IF(cxh7<=-200 AND cxh6<=-150,-15,cxh9))+60;STICKLINE(cxh3>=REF(cxh4,1),cxh3,cxh4,8,0);STICKLINE(cxh3<REF(cxh4,1),cxh3,cxh4,8,0);cxh21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);cxh22:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);cxh23:=红军>50 AND 预警系统>60 AND 天线=100;cxh24:=红军>48 AND 预警系统>60 AND 天线<100;cxh25:=绿军>38 AND 预警系统<55;cxh26:=导弹>50 AND 天线<90;cxh27:=cxh3<REF(cxh4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);cxh28:=cxh3>=REF(cxh4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=60 AND 导弹=0 AND 绿军>=REF(绿军,1) AND cxhC<REF(cxhD,1);DRAWTEXT(cxh21 AND COUNT(cxh21,30)=1,100,'上升通道,持股待长或高抛低吸!');DRAWTEXT(cxh22 AND COUNT(cxh22,30)=1,90,'下降通道,小心无量阴跌! ');DRAWTEXT(cxh23 AND COUNT(cxh23,30)=1,70,'上涨过急,需要调整,短线先抛出! ');DRAWTEXT(cxh24 AND COUNT(cxh24,30)=1,80,'庄家出货,大跌在即,中线抛出! ');DRAWTEXT(cxh25 AND COUNT(cxh25,30)=1,50,'不必杀跌,应有小反弹 ,跌停除外!');DRAWTEXT(cxh26 AND COUNT(cxh26,30)=1,30,'坚决抢反弹,但巨量封跌停除外 ');DRAWTEXT(cxh27 AND COUNT(cxh27,30)=1,40,'有大资金进场迹象,关注!');DRAWTEXT(cxh28 AND COUNT(cxh28,30)=1,20,'见顶回落');{程序化交易 www.cxh99.com }

 

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

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


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

相关文章

    没有相关内容