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

多空转换金叉黑马买点(通达信公式 副图指标公式 公式、源码 测试图)没未来函数[通达信公式]

相关标签:

 

多空转换金叉黑马买点,没未来函数N:=20;cxh01:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),15,1);cxh02:=HIGH-REF(HIGH,5);cxh03:=REF(LOW,5)-LOW;JJ:=(HIGH+LOW+CLOSE)/3;cxh04:=SMA(IF(cxh02>0 AND cxh02>cxh03,cxh02,0),15,1);cxh05:=SMA(IF(cxh03>0 AND cxh03>cxh02,cxh03,0),15,1);cxh06:=LLV(LOW,27);cxh07:=HHV(HIGH,34);cxh08:=EMA((CLOSE-cxh06)/(cxh07-cxh06)*4,4)*25;cxh09:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);做空:cxh05*100/cxh01,COLORLIBLUE;提示买入:IF(cxh09<=8,8,0),STICK,COLORWHITE,LINETHICK2;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));cxh10:=MA(C,2)>REF(MA(C,2),1);cxh11:=MA(C,10)>MA(C,20);cxh12:=(CLOSE*2+HIGH+LOW)/4;cxh13:=EMA(cxh12,12)-EMA(cxh12,50);cxh14:=EMA(cxh13,2);cxh15:=(CROSS(cxh13,cxh14) AND cxh13<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(cxh13,cxh14) AND cxh13<=-0.14 ) OR (CROSS(cxh13,cxh14) AND cxh13<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) AND cxh10 AND cxh11;STICKLINE(cxh15>0,60,110,2,0),COLORRED;DRAWTEXT(cxh15,90,'←黑马'),COLORYELLOW;DDX:20*((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,100000000,1000000),COLOR00AAAA,LINETHICK;DX:=(MA(DDX,5)*N)*2;涨跌:=IF(BETWEEN(C,REF(C,1),H),VOL,0);动因:=IF(BETWEEN(C,REF(C,1),L),VOL,0);cxh16:=REF(LOW,1);cxh17:=(SMA(ABS(LOW-cxh16),13,1))/(SMA(MAX(LOW-cxh16,0),13,1))*100;cxh18:=MA(cxh17,13);cxh19:=LLV(LOW,34);CC2:=IF(涨跌 AND 动因,0,VOL/3);涨跌动因:3*(涨跌-(动因+CC2))/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL),LINETHICK0;cxh20:=EMA(IF(LOW<=cxh19,cxh18,0),3);cxh21:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);cxh22:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-cxh21*10.9;cxh23:=FILTER(IF(cxh22<=cxh21 AND cxh20>REF(cxh20,1),cxh20*8,0),20);STICKLINE(涨跌动因>0,20,20+涨跌动因*18.5,2.5,0 ),COLORYELLOW;STICKLINE(涨跌动因<0,20,20+涨跌动因*18.5,2.5,0 ),COLORBLUE;DRAWTEXT(cxh23,35,'←洗盘'),COLORGREEN;STICKLINE(cxh23=1,35,110,2,0),COLORGREEN;cxh24:=3;cxh25:=(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));买点:IF((cxh25<=3),15,0),COLORYELLOW,LINETHICK2;补仓:IF((cxh25<5),10,0),COLORRED,LINETHICK2;cxh26:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;cxh27:=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);cxh28:=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);cxh29:=cxh27<REF(cxh28,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);cxh30:=(HIGH+LOW+CLOSE)/3;MA1:MA(涨跌动因,N)*2;AA:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);CC:=(AA - BB);cxh31:=(cxh30-MA(cxh30,14))/(0.015*AVEDEV(cxh30,14));cxh32:=(cxh30-MA(cxh30,70))/(0.015*AVEDEV(cxh30,70));cxh33:=IF(cxh31>=150 AND cxh31<200 AND cxh32>=150 AND cxh32<200,10,0);cxh34:=IF(cxh31<=-150 AND cxh31>-200 AND cxh32<=-150 AND cxh32>-200,-10,cxh33);cxh35:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;cxh36:=100-ABS(cxh35);cxh37:=IF(cxh36<90,cxh36,100);cxh38:=IF(cxh26>0,cxh26,0);cxh39:=IF(cxh32>=200 AND cxh31>=150,15,IF(cxh32<=-200 AND cxh31<=-150,-15,cxh34))+60;cxh40:=cxh38>60 AND cxh39>70 AND cxh37<100;cxh41:=((CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100+(CLOSE-MA(CLOSE,90))/MA(CLOSE,90)*100+(CLOSE-MA(CLOSE,72))/MA(CLOSE,72)*100)/3;DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);EE:=(((CC < 3) AND (DD < 0.5)) AND (OPEN > LOW));DRAWTEXT(cxh29 AND COUNT(cxh29,30)=1,70,'←筹码进入'),COLORMAGENTA;STICKLINE(cxh29 AND COUNT(cxh29,30)=1,60,110,2,0),COLORMAGENTA;DRAWTEXT(cxh40 AND COUNT(cxh40,30)=1,35,'←出逃'),COLORCYAN;STICKLINE(cxh40 AND COUNT(cxh40,30)=1,50,110,2,0),COLORCYAN;A1:=DYNAINFO(6);A22:=IF((LOW > A1),0,IF((HIGH < A1),1,(((A1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));A3:=(VOL / WINNER(LOW));A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);DRAWTEXT(FILTER(cxh41<-9 AND cxh41>REF(cxh41,1),78),55,'←买票'),COLORWHITE;STICKLINE(FILTER(cxh41<-9 AND cxh41>REF(cxh41,1),78),55,110,2,0),COLORWHITE;WWWcxh99COM:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;A6:=((100 * (CLOSE - A5)) / (A4 - A5));A7:=((A22 > 0) OR (A22 = 1));A8:=((A7 AND ((A3 / REF(A3,3)) >= 3)) AND (A6 < 80));A9:=(((REF(A8,1) OR REF(A8,2)) OR REF(A8,3)) OR REF(A8,4));A10:=(A8 AND A9);快:=COUNT(CLOSE>REF(CLOSE,2),4)/4*100;慢:=COUNT(CLOSE>REF(CLOSE,2),6)/6*100;关注:IF(快=0 AND 慢=0,10,0),COLORCYAN,LINETHICK2;风险:IF(快=100 AND 慢>=80,100,110),COLORLIGREEN;

{程序化交易 www.cxh99.com }

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容