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

控盘力度(通达信公式 副图指标公式 测试图)无未来函数,完全加密[通达信公式]

相关标签:

 

个人结合坛友总结的一个副图指标,通达信的,为不误导股友,完全加密,内有引用公式,解密不会完整,仅供参考。不喜勿喷


{公式名称: 控盘力度公式描述:参数数量: 3参数1: KN, 最小: 1, 最大: 200, 缺省: 18参数2: N1, 最小: 1, 最大: 800, 缺省: 2参数3: N2, 最小: 1, 最大: 300, 缺省: 21公式类型: 技术指标公式-未知画线方法: 副图公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 值1: 90公式源码:}DRAWGBK(CLOSE>0,RGB(10,0,150),RGB(30,0,0),0,28,0);DRAWGBK(CLOSE>0,RGB(0,20,0),RGB(10,0,0),0,28,0);NOTEXT0:45,POINTDOT;cxh1:=SMA(EMA(((CLOSE+LOW)/2-LLV(LOW,34))/(HHV((HIGH+CLOSE)/2,34)-LLV(LOW,34))*100,3),8,1)*1.2;cxh2:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100-10;cxh3:=SMA(cxh2,13,8);cxh4:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;cxh5:=SMA(cxh4,13,8);cxh6:=CEILING(SMA(cxh5,21,8));买A:IF(cxh6-cxh3<(-65) AND Func_0x761C.SubValue_0x0<10 AND cxh1<20 AND Func_0x761F.SubValue_0x4>REF(Func_0x761F.SubValue_0x4,1),26,0),COLORLIMAGENTA,LINETHICK3;卖A:IF(cxh6-cxh3>80 AND cxh1>100,115,120),COLORF0F000,LINETHICK2;J34:Func_0x761F.SubValue_0x5,COLORC6C600;DRAWTEXT(CROSS(Func_0x761F.SubValue_0x4#DAY,15),(-5),173),COLORRED;cxh7:=EMA(CLOSE,12)-EMA(CLOSE,26);cxh8:=EMA(cxh7,9);cxh9:=2*(cxh7-cxh8);cxh10:=(HIGH+LOW+CLOSE)/3;cxh11:=(cxh10-MA(cxh10,IF(PERIOD=5,14,34)))/(0.015*AVEDEV(cxh10,IF(PERIOD=5,14,34)));cxh12:=27;cxh13:=(CLOSE-LLV(LOW,cxh12))/(HHV(HIGH,cxh12)-LLV(LOW,cxh12))*100;cxh14:=SMA(cxh13,6,1);cxh15:=SMA(cxh14,3,1);控盘力_R:Func_0x7606.SubValue_0x8#DAY,COLOR408000,LINETHICK2;cxh16:=SMA((HHV(HIGH,KN)-CLOSE)/(HHV(HIGH,KN)-LLV(LOW,KN))*100-50,KN/2,1);cxh17:=SMA(SMA((CLOSE-LLV(LOW,KN))/(HHV(HIGH,KN)-LLV(LOW,KN))*100,KN/3,1),5,1);cxh18:=(cxh17-cxh16)*1;cxh19:=IF(PERIOD=5,RSI.RSI1#WEEK(7),RSI.RSI1#DAY(7));控盘力:cxh18,COLORGREEN,LINETHICK2;cxh20:=IF(cxh18<0,cxh18,DRAWNULL);NOTEXT2:IF(cxh18>REF(cxh18,1) AND cxh19>20,cxh18,DRAWNULL),COLORRED,LINETHICK2;NOTEXT3:IF(cxh18<10 AND cxh18>=REF(cxh18,1),cxh18,DRAWNULL),COLORMAGENTA,LINETHICK5;cxh21:=Func_0x761B.SubValue_0x2#DAY;cxh22:=cxh18>REF(cxh18,1);cxh23:=cxh18<REF(cxh18,1);cxh24:=MACD.MACD<REF(MACD.MACD,1);DRAWICON(Func_0x761C.SubValue_0x0<35 AND cxh18>REF(cxh18,1) AND REF(cxh18,1)<REF(cxh18,2),cxh18,1);DRAWICON(CROSS(Func_0x761F.SubValue_0x1,cxh18) AND cxh18<60 AND Func_0x761F.SubValue_0x5<30,cxh18,17);cxh25:=45;cxh26:=SMA((CLOSE-LLV(LOW,cxh25))/(HHV(HIGH,cxh25)-LLV(LOW,cxh25))*100,6,1);cxh27:=EMA(cxh26,3);cxh28:=VOL<MA(VOL,5) AND CLOSE<MA(CLOSE,5)*1 AND CLOSE<HHV(CLOSE#DAY,15)*0.95 AND CLOSE<HHV(CLOSE#DAY,60)*0.85 AND LOW<MA(CLOSE,5)*0.95 AND cxh11<(-130) AND 控盘力<30 AND LOW!=CLOSE;DRAWICON(cxh28>0,40,41);cxh29:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;cxh30:=cxh29-cxh29*0.49;cxh31:=cxh29+cxh29*0.22;cxh32:=cxh29-cxh29*0.29;回踩极底:IF(REF(CLOSE,1)>cxh32 AND LOW<=cxh32 AND CLOSE>=cxh32,80,0),COLORA2A200,LINETHICK2;回踩铁底:IF(REF(CLOSE,1)>cxh30 AND LOW<=cxh30 AND CLOSE>=cxh30,80,0),COLORCYAN,LINETHICK2;cxh33:=SUM(CLOSE/REF(CLOSE,1),BARSLAST(HIGH=HHV(HIGH,30)));cxh34:=SUM(CLOSE/REF(CLOSE,1),BARSLAST(HIGH=HHV(HIGH,60)));cxh35:=SUM(CLOSE/REF(CLOSE,1),BARSLAST(LOW=LLV(LOW,30)));cxh36:=SUM(CLOSE/REF(CLOSE,1),BARSLAST(LOW=LLV(LOW,60)));低点:IF(cxh35/REF(cxh35,1)<0.01 AND LOW<=HHV(CLOSE,30)*0.85 AND cxh15<15 AND 控盘力<10,58,0),COLORFF8000,LINETHICK2;cxh37:=10;cxh38:=5;cxh39:=(CLOSE-OPEN)/OPEN*100;cxh40:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;cxh41:=COUNT(cxh40<cxh37,20)>=1;cxh42:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);cxh43:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,cxh38);cxh44:=CROSS((-5),cxh43) AND cxh42<(-0.4);cxh45:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*125;cxh46:=SMA(MAX(CLOSE-REF(CLOSE,1),0),10,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),10,1)*125;cxh47:=cxh45<80 AND cxh46<78 AND SUM(VOL/CAPITAL,10)*125>=10 AND CLOSE/LLV(CLOSE,120)<=1.2 AND (CLOSE-LLV(CLOSE,15))/LLV(CLOSE,15)>=0.12 AND CLOSE/OPEN>1.02 AND MA(CLOSE,10)>MA(CLOSE,20);低狙击:(cxh39>6 AND cxh41 OR cxh44 OR cxh47)*100,COLORFF0080;cxh48:=SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,6,1),3,1);cxh49:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;cxh50:=SMA(cxh49,13,5);cxh51:=SMA(cxh50,8,3);cxh52:=SMA(cxh51,5,1);cxh53:=cxh51;cxh54:=cxh52;cxh55:=CROSS(cxh51,cxh52) AND cxh52<20 AND cxh48<25 AND EMA(Func_0x761F.SubValue_0x5,3)<25 AND EMA(Func_0x761F.SubValue_0x8,3)<25;DRAWTEXT(FILTER(cxh55,1)=1,12,174),LINETHICK3;STICKLINE(FILTER(cxh55,1)=1,0,20,1,0),COLORYELLOW;cxh56:=CROSS(cxh52,cxh51) AND cxh51>80;STICKLINE(FILTER(cxh56,1)=1,85,100,1,0),COLORLIGREEN;DRAWTEXT(FILTER(cxh56,1)=1,100,175),COLORLIGREEN,LINETHICK3;cxh57:=CROSS(cxh50,cxh51) AND cxh51>80 AND cxh51>cxh52;STICKLINE(cxh57,85,100,2,0);cxh58:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;cxh59:=SMA(cxh58,20,1);cxh60:=(cxh10-MA(cxh10,34))/(0.015*AVEDEV(cxh10,34));cxh61:=SMA(cxh60,5,1);cxh62:=SMA(cxh61,3,1);cxh63:=3*cxh61-2*cxh62;cxh64:=390+REVERSE(EMA(cxh63,1));cxh65:=(-290)+REVERSE(EMA(cxh63,1));吸D:IF(cxh63<(-150) AND cxh59<40 AND cxh65<REF(cxh65,1) AND 控盘力<15,80,(-3)),COLOR44A2FF;抛D:IF(cxh63>cxh64,102,110),COLORGREEN;cxh66:=60;cxh67:=6;cxh68:=60;cxh69:=(2*CLOSE+HIGH+LOW)/4;cxh70:=EMA(EMA((cxh69-LLV(LOW,cxh66))/(HHV(HIGH,cxh68)-LLV(LOW,cxh66))*100,cxh67),cxh67/3);cxh71:=EMA(0.667*REF(cxh70,1)+0.333*cxh70,2);DRAWICON(CROSS(cxh70,cxh71) AND cxh70<20,21,1);cxh72:=89;cxh73:=13;cxh74:=REVERSE(100-3*SMA((CLOSE-LLV(LOW,cxh72))/(HHV(HIGH,cxh72)-LLV(LOW,cxh72))*100,cxh73,1)+2*SMA(SMA((CLOSE-LLV(LOW,cxh72))/(HHV(HIGH,cxh72)-LLV(LOW,cxh72))*100,21,1),cxh73,1))+100;cxh75:=REVERSE(100-3*SMA((OPEN-LLV(LOW,cxh72))/(HHV(HIGH,cxh72)-LLV(LOW,cxh72))*100,cxh73,1)+2*SMA(SMA((OPEN-LLV(LOW,cxh72))/(HHV(HIGH,cxh72)-LLV(LOW,cxh72))*100,21,1),cxh73,1))+100;DRAWTEXT(CROSS(cxh70,67) AND cxh71<cxh70,58,39),COLOR9966FF,LINETHICK2;DRAWTEXT(CROSS(cxh70,76) AND cxh71<cxh70,68,40),COLOR669900,LINETHICK2;DRAWTEXT(CROSS(cxh71,cxh70) AND cxh71>78,110,41),COLORCYAN;DRAWTEXT(CROSS(cxh70,cxh71) AND cxh70<25 AND cxh74<0,(-20),42),COLORCYAN;买入脉冲:IF(CROSS(cxh70,cxh71) AND cxh70<25 AND cxh74<0 AND cxh18<10,-0,(-15)),COLORYELLOW,LINETHICK2;卖出脉冲:IF(CROSS(cxh71,cxh70) AND cxh71>78,105,120),COLORGREEN,LINETHICK2;

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容