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

换手量能饱和,和谐公式、源码[通达信公式]

相关标签:

 

原版在这里:http://www.cxh99.com/soft/sort013/sort05/down-136455.html{换手量能饱和}{副图}cxh1:=EMA(CLOSE,20);cxh2:=REF(cxh1,1);廿日均线斜率:(cxh1-cxh2)/cxh2*100,NODRAW;cxh3:=(HIGH+LOW+CLOSE)/3;cxh4:=VOL/IF(HIGH=LOW,4,HIGH-LOW);cxh5:=cxh4*(cxh3-MIN(CLOSE,OPEN));cxh6:=cxh4*(MIN(OPEN,CLOSE)-LOW);cxh7:=cxh4*(HIGH-MAX(OPEN,CLOSE));cxh8:=cxh4*(MAX(CLOSE,OPEN)-cxh3);cxh9:=25;cxh10:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));cxh11:=11;cxh12:=VOL/CAPITAL*100;cxh13:=SUM(cxh12,cxh11);cxh14:=100*(CLOSE-REF(CLOSE,cxh11))/REF(CLOSE,cxh11);cxh15:=MA(CLOSE,13);cxh16:=MA(CLOSE,75);cxh17:=REF(CLOSE,1);cxh18:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);cxh19:=SMA(cxh18,3,1);cxh20:=3*cxh18-2*cxh19;cxh21:=DYNAINFO(17)*REF(MA(VOL,5),1);cxh22:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;cxh23:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,cxh21,cxh22);cxh24:=IF(VOL>=cxh23 AND PERIOD=5,VOL,cxh23);cxh25:=cxh24/VOL;cxh26:=DYNAINFO(23)*cxh25;cxh27:=DYNAINFO(22)*cxh25;cxh28:=MA(CLOSE,26)+2*STD(CLOSE,26);cxh29:=EMA((INDEXC-LLV(INDEXL,11))/(HHV(INDEXH,25)-LLV(INDEXL,11))*4,8)+1;cxh30:=POW(cxh29,2)-10;cxh31:=EMA((CLOSE-LLV(LOW,11))/(HHV(HIGH,25)-LLV(LOW,11))*4,8)+1;cxh32:=IF(1=1,POW(cxh31,2)-10,DRAWNULL);cxh33:=SUM(cxh12,3);cxh34:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100;cxh35:=CAPITAL*CLOSE;cxh36:=REF(CLOSE,1);cxh37:=SMA(MAX(CLOSE-cxh36,0),7,1)/SMA(ABS(CLOSE-cxh36),7,1)*100;cxh38:=WINNER(CLOSE)*100;cxh39:=100-cxh36;cxh40:=ABS(cxh36-cxh37);cxh41:=BACKSET(ISLASTBAR,1);cxh42:=IF(EMA(CLOSE,3)>MAX(EMA(CLOSE,13),EMA(CLOSE,55)),1,IF(EMA(CLOSE,3)<MIN(EMA(CLOSE,13),EMA(CLOSE,55)),(-1),0));DRAWBAND(100,RGB(50,50,0),0,RGB(0,0,0));庄净入:IF(cxh5-cxh6>0,cxh5-cxh6,0)/10000,NODRAW,COLORRED;庄净出:IF(cxh5-cxh6<0,cxh5-cxh6,0)/10000,NODRAW,COLORGREEN;散净入:IF(cxh7-cxh8>0,cxh7-cxh8,0)/10000,NODRAW,COLORGREEN;散净出:IF(cxh7-cxh8<0,cxh7-cxh8,0)/10000,NODRAW,COLORRED;量能饱和度:IF(cxh10>1,1,cxh10)*100,NODRAW,COLORYELLOW;预计换手:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/CAPITAL*100,0),NODRAW;十日换手平均:MA(cxh12,10),NODRAW;活跃度:IF(DATE>1000101,(MA(VOL,11)+MA(VOL,11*2)+MA(VOL,11*3)+MA(VOL,11*4))/4/CAPITAL*1000,1),NODRAW;STICKLINE(cxh41,cxh38,0,5,0),COLORRED;STICKLINE(cxh41,cxh39,0,3,0),COLORYELLOW;STICKLINE(cxh41,cxh40,0,1,0),COLORMAGENTA;牛:IF(cxh42=1 AND VOL>1,12,0),COLORRED,LINETHICK4;熊:STICKLINE(cxh42=(-1) AND VOL>1,0,4,2,0),COLORYELLOW;马:STICKLINE(cxh42=0 AND VOL>1,0,4,2,0),COLORMAGENTA;STICKLINE(cxh42=1 AND VOL>1,0,4,2,0),COLORRED;STICKLINE(CURRBARSCOUNT=cxh9,30*1.9,30*1.5,100,1),COLOR00DDDD;STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=cxh9,30*1.88,30*1.52,量能饱和度,0),COLOR0033FF;STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=cxh9,30*1.82,30*1.58,量能饱和度,0),COLOR0077FF;STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=cxh9,30*1.76,30*1.64,量能饱和度,0),COLOR0099FF;STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=cxh9,30*1.7,30*1.7,量能饱和度,0),COLOR00DDFF;STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=cxh9,30*1.88,30*1.52,量能饱和度,0),COLORFF7700;STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=cxh9,30*1.82,30*1.58,量能饱和度,0),COLORFF9900;STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=cxh9,30*1.76,30*1.64,量能饱和度,0),COLORFFBB00;STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=cxh9,30*1.71,30*1.69,量能饱和度,0),COLORCYAN;DRAWTEXT(cxh12<=2 AND ISLASTBAR,50,180);DRAWTEXT(cxh12>2 AND cxh12<3 AND ISLASTBAR,50,181);DRAWTEXT(cxh12>3 AND cxh12<5 AND ISLASTBAR,50,182);DRAWTEXT(cxh12>5 AND cxh12<8 AND ISLASTBAR,50,183);DRAWTEXT(cxh12>8 AND cxh12<15 AND ISLASTBAR,50,184);DRAWTEXT(cxh12>15 AND cxh12<25 AND ISLASTBAR,50,185);DRAWTEXT(cxh12>=25 AND ISLASTBAR,50,186);DRAWTEXT(cxh13>3*cxh11 AND cxh14>3*cxh11 AND ISLASTBAR,30,187);DRAWTEXT(cxh13<0.5*cxh11 AND cxh14<cxh11 AND ISLASTBAR,30,188);DRAWTEXT(cxh13<0.5*cxh11 AND cxh14>(-cxh11) AND cxh14>0 AND ISLASTBAR,10,189);DRAWTEXT(cxh13>3*cxh11 AND cxh14<(-3)*cxh11 AND ISLASTBAR,30,190);DRAWTEXT(cxh13>3*cxh11 AND cxh14<cxh11 OR (cxh13<0.5*cxh11 AND cxh14>3*cxh11) OR (cxh13>3*cxh11 AND cxh14>(-cxh11) AND cxh14<0) OR (cxh13<0.5*cxh11 AND cxh14<(-3)*cxh11) AND ISLASTBAR,5,191);STICKLINE(CURRBARSCOUNT=53,100,0,88,0),COLOR333344;DRAWTEXT(VOL/CAPITAL>0.075 AND CURRBARSCOUNT=59,80,192),COLORCYAN;DRAWTEXT(cxh34>0 AND CURRBARSCOUNT=59,90,193);DRAWTEXT(cxh34<=0 AND CURRBARSCOUNT=59,90,194);DRAWTEXT(CURRBARSCOUNT=59,60,195),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,50,196),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,40,197),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,20,198),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,10,199),COLORGREEN;DRAWTEXT(活跃度>=41 AND ISLASTBAR,80,200),COLORGREEN;DRAWTEXT(活跃度>20 AND 活跃度<=40 AND ISLASTBAR,80,201),COLORGREEN;DRAWTEXT(活跃度<=20 AND ISLASTBAR,80,202),COLORGREEN;{程序化交易 www.cxh99.com }
{程序化交易 www.cxh99.com }

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容