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

发射副图指标公式(通达信公式 副图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

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;cxh111:=EMA(cxh10,30);cxh12:=cxh111-CLOSE;cxh13:=REF(CLOSE,1);cxh14:=SMA(MAX(CLOSE-cxh13,0),7,1)/SMA(ABS(CLOSE-cxh13),7,1)*100,LINETHICK2;cxh15:=SMA(MAX(CLOSE-cxh13,0),13,1)/SMA(ABS(CLOSE-cxh13),13,1)*100,LINETHICK2;cxh16:=BARSCOUNT(CLOSE);cxh17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,LINETHICK1;cxh18:((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2,LINETHICK1;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,LINETHICK1;cxh11:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;cxh22:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;cxh33:=IF(ABS(cxh1)<2,0.9,1);cxh44:=cxh33*(cxh22-cxh11);cxh20:=IF(cxh17<=50 AND cxh18<-95 AND cxh1F>0 AND cxh1B<-50 AND cxh1E<50 AND cxh12>=-0.20 AND cxh14<25 AND cxh15<30 AND cxh16>50,70,0);{cxh20:=IF(cxh17<=30 AND cxh18<0 AND cxh1F>20 AND cxh1B<-30 AND cxh1E<45 AND cxh12>=-0.25 AND cxh14<25 AND cxh15<30 AND cxh16>50,70,0);{cxh20:=IF(cxh17<=25 AND cxh18<-95 AND cxh1F>20 AND cxh1B<-30 AND cxh1E<30 AND cxh12>=-0.25 AND cxh14<25 AND cxh15<30 AND cxh16>50,70,0);}发射:= cxh20,LINETHICK0,COLORRED;预警系统:IF(cxh7>=200 AND cxh6>=150,15,IF(cxh7<=-200 AND cxh6<=-150,-15,cxh9))+60,LINETHICK0;发射: cxh20,LINETHICK0,COLORRED;STICKLINE(发射>0,15,发射*1.1,0,0),POINTDOT,COLORWHITE;STICKLINE(发射>0 AND 发射<400,40,发射,0,1),COLORRED,LINETHICK1;STICKLINE(发射>0,15,发射*0.7,1.5,0),COLORFFA4A6,LINETHICK5;STICKLINE(发射>0,15,发射*0.1,3,0),COLOR0099CC,LINETHICK7;STICKLINE(发射>0,15,0,5,0),COLORRED,LINETHICK6;天:=IF(cxhB<90,cxhB,100);地:= IF(cxh1>0,cxh1,0);基D:= IF(cxh1<0,cxh2,0);T1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);T2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);T3:=地>50 AND 预警系统>60 AND 天 =100;T4:=地>48 AND 预警系统>60 AND 天<100;T5:=基D>38 AND 预警系统<55;T6:=发射>50 AND 天<90;T7:=cxh3<REF(cxh4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);T8:=cxh3>=REF(cxh4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=60 AND 发射=0 AND 基D>REF(基D,1) AND cxhC<REF(cxhD,1);STICKLINE(T8,0,5,6,0),COLORFFFF00;

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容