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

复盘放宽 筹码穿透 筹码集中度(股池选股策略公式)和谐公式、源码分享[通达信公式]

相关标签:

 

这个是股池选股策略,一共用到3个公式:筹码穿透率和集中度是技术指标,复盘放宽 是选股。
{筹码穿透}穿越筹码:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,STICK,COLORDDDDFF;换手率:=VOL/CAPITAL*100,STICK,COLORFF0099;A1:=LLV(HIGH,240);MYP:=100*(CLOSE-A1)/A1;A2:=REF(HHV(CLOSE,240),1);B2:=REF(LLV(CLOSE,240),1);RPY:=100*(CLOSE -B2)/(A2-B2);A3:=1.1*CLOSE;B3:=0.9*CLOSE;ASR:=100*(WINNER(A3)-WINNER(B3));A4:=WINNER(CLOSE);A5:=DMA(A4,VOL/CAPITAL);B4:=DMA(VOL,VOL/CAPITAL)/CAPITAL;A6:=100*VOL/CAPITAL;B6:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));A7:=ABS(B6/A6);CYA:=A4/B4*50,COLORYELLOW;CYB:=EMA(A4/B4*50,34),COLORFF00FF,LINETHICK2;CYF:=A5/B4*50,COLORFFFF99,LINETHICK2;CYD:=WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW,STICK,LINETHICK4;筹码穿透率:B6/A6;获利比例:WINNER(C)*100,COLORGREEN;主力筹码估算:=EMA(WINNER(CLOSE)*70,3),NODRAW;散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;散户套牢比率:=散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;{筹码集中度}cxh1:=COST(10)*0.000;cxh2:=IF(YEAR=2001 AND MONTH>7, 0, 1);九十筹码密集度:(COST(95)-COST(5))/CLOSE*100*cxh2;七十筹码密集度:(COST(85)-COST(15))/CLOSE*100*cxh2;尖峰价:= COST(50);{平均成本线}筹码1:=WINNER(尖峰价*0.90); {也可调成0.95}筹码2:=WINNER(尖峰价*1.1); {也可调成1.05}筹码集中度: (筹码2-筹码1)*100;上界: 100,POINTDOT;{复盘放宽}VA1:=HHV(HIGH,9)-LLV(LOW,9); VA2:=HHV(HIGH,9)-CLOSE;VA3:=CLOSE-LLV(LOW,9);VA4:=VA2/VA1*100-70;VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VA6:=(CLOSE+HIGH+LOW)/3;VA7:=SMA(VA3/VA1*100,3,1);VA8:=LLV(LOW,34);VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);cxhA:=IF(VA9>100,VA9-100,0);cxhB:=HHV(HIGH,34);cxhC:=EMA((VA6-VA8)/(cxhB-VA8)*100,13);cxhD:=EMA(0.667*REF(cxhC,1)+0.333*cxhC,2);cxhE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;cxhF:=MA(cxhE,3);cxh1:=HHV(HIGH,9)-LLV(LOW,9);cxh2:=HHV(HIGH,9)-CLOSE;cxh3:=CLOSE-LLV(LOW,9);cxh4:=((cxh2)/(cxh1))*(100)-70;cxh5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);cxh6:=((2)*(CLOSE)+HIGH+LOW)/(4);cxh7:=SMA(((cxh3)/(cxh1))*(100),3,1);cxh8:=LLV(LOW,34);cxh9:=SMA(cxh7,3,1)-SMA(cxh4,9,1);cxh10:=IF((cxh9>100),cxh9-100,0);cxh11:=HHV(HIGH,34);B1:=EMA(((cxh6-cxh8)/(cxh11-cxh8))*(100),8);领先:=EMA(B1,5);生命线:=EMA(cxhD,1);V1:=MA(C,5)=HHV(MA(C,5),20);V2:=MA(C,5)>MA(C,10);V3:=MA(V,5)>MA(V,40)*1.01;V4:=COUNT(MA(C,1)>REF(C,1),2)=2;VV:=V1 AND V2 AND V3 AND V4;A1:=EMA(CLOSE,8);A2:=EMA(A1,20);A3:=CROSS(A1,A2);A4:=A1<EMA(CLOSE,120);A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2* SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);安全位:=20;{程序化久久公式网}低位转强:=CROSS(A5,安全位);开始拉升:=CROSS(cxhC,生命线) AND cxhC>cxhD AND cxhC<55 AND C>O;A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);极地上涨:=A6 AND 领先;转强:=低位转强+开始拉升+极地上涨>=1;A:=SUM(IF(CURRBARSCOUNT=3,INDEXC,0),0);B:=SUM(IF(CURRBARSCOUNT=1,INDEXC,0),0);E:=SUM(IF(CURRBARSCOUNT=3,CLOSE,0),0);F:=SUM(IF(CURRBARSCOUNT=1,CLOSE,0),0);TJ1:=((F-E)/E)>(((B-A)/A)+0.01);TJ2:=100*SUM(VOL,4)/CAPITAL>=10;XG:COUNT(转强,4)>0 AND TJ1 AND TJ2 AND FINANCE(40)<4000000000 AND BARSCOUNT(C)>20 AND C/REF(C,1)>1.096 AND DYNAINFO(8)>0 AND NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容