万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信板后突破主图指标公式源码

admin 2024-02-01 15:57:58 通达信主副图指标 540 ℃

通达信板后突破主图指标公式源码

VAR1:=HHV(HHV(LOW,14),240);VAR2:=CLOSE*vol;VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);VAR4:=EMA(CLOSE,9);VAR5:=1.06*VAR3;VAR6:=DMA((H + L + C * 2) / 4,0.9);VAR7:=EMA(VAR6,5),NODRAW;穿腰:=L<=VAR7 AND C>=VAR5;腰比:=Abs(VAR5/VAR7-1)*100,NODRAW;细:=腰比<=2;DRAWBAND(VAR5,RGB(40,40,20),VAR7,RGB(120,0,0));DRAWKLINE(H,O,L,C);{强弱分界}弱分界:=EMA(COST(85),10);分界:=EMA(COST(99),10);分界比:=分界/弱分界;分界比1:=分界比<1.11;主线1:=EMA(EMA(C,1),5);本1:=EMA(HHV(主线1,5),1);急:=EMA(HHV(本1,21),1);稳:=EMA(HHV(急,21),2),;投:=EMA(HHV(稳,21),3);散:=EMA(HHV(投,21),4);集:=EMA(HHV(散,21),5);马:=EMA(HHV(集,21),6);角度马:=ATAN((马/REF(马,1)-1)*100)*180/3.1416;T马:=BARSLAST(NOT(角度马=0));界:=EMA(EMA(EMA(EMA(MA(MA(MA(SUM(MA(CLOSE,60)/1,1),1),1),1),5),5),12),13)*1.01;马界比:=马/界;马界比1:=马界比<1.18;主T:=BARSLAST(crOSS(MA(C,5),MA(C,60)));偏离度:=MA(C,5)/REF(MA(C,60),主T);BBC:=LLV(C,0);涨幅:=C/BBC;倍量:=V/REF(MA(V,5),1)>=2&&C>O&&C>EMA(C,13)&&V=HHV(V,4)&&C>REF(C,1);百日大量:=VOL>REF(HHV(VOL,100),1);量:=V/REF(V,1)>=2 OR 百日大量;涨板:=C/REF(C,1)>1.095 AND C=H;一字板:=涨板 AND C=O AND C=L;{筹码}YM1:=90;YM2:=80;YM3:=70;YM4:=10;YM5:=YM1+(100-YM1)/2;YM6:=(100-YM1)/2;YM7:=COST(YM5);YM8:=WINNER(C)*100;GS:=COST(YM6);YMGS:=(YM7-GS)/(YM7+GS);筹码集中度:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;三穿标:=BARSLAST(涨板 AND NOT(一字板) AND (偏离度<1.05 OR C<MA(C,60)) AND (倍量 OR 量) AND REF(COUNT(涨板,5),1)<1);MZTJ:=REF(COUNT(ABS(C/REF(C,1)-1)>0.05,三穿标)<=1,1) AND EVERY(C<=REF(H,三穿标)*1.08,三穿标) AND LLV(C,三穿标)>=(REF(C,三穿标)+REF(O,三穿标))/2 AND REF(H,三穿标-1)/REF(C,三穿标)<1.08 ;穿高:=L<=REF(H,三穿标-1) AND C>=REF(H,三穿标-1);YH1:=REF(EVERY(ABS(C/REF(C,1)-1)<0.03,三穿标),1);YH2:=REF(REF(V,三穿标-1)>=HHV(V,三穿标),1);YH3:=REF(REF(H,三穿标-1)>=HHV(C,三穿标),1);YH4:=REF(EVERY(筹码集中度<10,三穿标),1) OR COUNT(筹码集中度<10,8)>=8;YH5:=REF(EVERY(腰比<3,三穿标),1);YH6:=REF(EVERY(马界比1,三穿标),1);YH7:=REF(EVERY(分界比1,三穿标),1);优化:=YH1+YH2+YH3+YH4+YH5+YH6+YH7>=2 AND 涨幅<1.65 AND 偏离度<1.15 AND (马界比<1.18 OR 分界比<1.12);突破:=REF(三穿标>=9,1) AND REF(MZTJ,1) AND (CROSS(C,REF(H,三穿标-1)) OR 穿高) AND C/REF(C,1)>1.025 AND 优化;位置:=IF(MZTJ,(REF(C,三穿标)+REF(O,三穿标))/2,0);位置1:=IF(MZTJ,REF(H,三穿标-1),0);STICKLINE(三穿标<=40,位置,位置,3.1,0),COLORWHITE;STICKLINE(三穿标<=40,位置1,位置1,3.1,0),COLORWHITE;SBT1:=BARSLAST(涨板 AND REF(涨板,1) AND REF(涨板,2) AND REF(NOT(涨板),3) AND REF(COUNT(涨板,5)<1,3) AND 偏离度<=1.25);SBT2:=BARSLAST(涨板 AND REF(涨板,1) AND REF(NOT(涨板),2) AND REF(COUNT(涨板,5)<1,2) AND 偏离度<=1.25);SB1:=REF(COUNT(C>REF(C,SBT1),SBT1)<=2,1) AND 涨幅<1.8 AND LLV(C,SBT1)>REF(L,SBT1+2) AND REF(EVERY(C<REF(C,SBT1)*1.05,SBT1+1),1);SB2:=涨幅<1.8 AND LLV(C,SBT2)>=REF(L,SBT2+1)*0.99 AND HHV(C,SBT2)<REF(C,SBT2)*1.1;突破线1:=IF(SB1,REF(REF(C,SBT1),1),0);突破线2:=IF(SB2,REF(REF(C,SBT2),1),0);STICKLINE(SBT1<=30,突破线1,突破线1,3.1,0),COLOR80FF80;STICKLINE(SBT2<=30,突破线2,突破线2,3.1,0),COLOR80FF80;突破1:=C/REF(C,1)>1.03 AND REF(SBT1>=3,2) AND CROSS(C, 突破线1);突破2:=C/REF(C,1)>1.03 AND REF(SBT2>=3,2) AND CROSS(C, 突破线2);STICKLINE(突破 OR 突破1 OR 突破2,H,L,0,0),COLORYELLOW;STICKLINE(突破 OR 突破1 OR 突破2,CLOSE,OPEN,3.5,0),COLOR00AAFF;STICKLINE(突破 OR 突破1 OR 突破2,CLOSE,OPEN,2.1,0),COLOR00BBFF;STICKLINE(突破 OR 突破1 OR 突破2,CLOSE,OPEN,1.5,0),COLOR00CCFF;STICKLINE(突破 OR 突破1 OR 突破2,CLOSE,OPEN,1,0),COLOR00DDFF;STICKLINE(突破 OR 突破1 OR 突破2,CLOSE,OPEN,0.6,0),COLOR00EEFF;STICKLINE(突破 OR 突破1 OR 突破2,CLOSE,OPEN,0.2,0),COLORYELLOW;STICKLINE(突破,O,L,0,0),COLORB8B872;STICKLINE(突破,O,REF(H,三穿标-1),3.5,0),COLOR808040;STICKLINE(突破,O,REF(H,三穿标-1),2.1,0),COLOR8D8D47;STICKLINE(突破,O,REF(H,三穿标-1),1.5,0),COLOR9C9C4E;STICKLINE(突破,O,REF(H,三穿标-1),1,0),COLORAAAA55;STICKLINE(突破,O,REF(H,三穿标-1),0.6,0),COLORB1B163;STICKLINE(突破,O,REF(H,三穿标-1),0.2,0),COLORB8B872;STICKLINE(突破1,O,L,0,0),COLORB8B872;STICKLINE(突破1,O,REF(C,SBT1),3.5,0),COLOR808040;STICKLINE(突破1,O,REF(C,SBT1),2.1,0),COLOR8D8D47;STICKLINE(突破1,O,REF(C,SBT1),1.5,0),COLOR9C9C4E;STICKLINE(突破1,O,REF(C,SBT1),1,0),COLORAAAA55;STICKLINE(突破1,O,REF(C,SBT1),0.6,0),COLORB1B163;STICKLINE(突破1,O,REF(C,SBT1),0.2,0),COLORB8B872;STICKLINE(突破2,O,L,0,0),COLORB8B872;STICKLINE(突破2,O,REF(C,SBT2),3.5,0),COLOR808040;STICKLINE(突破2,O,REF(C,SBT2),2.1,0),COLOR8D8D47;STICKLINE(突破2,O,REF(C,SBT2),1.5,0),COLOR9C9C4E;STICKLINE(突破2,O,REF(C,SBT2),1,0),COLORAAAA55;STICKLINE(突破2,O,REF(C,SBT2),0.6,0),COLORB1B163;STICKLINE(突破2,O,REF(C,SBT2),0.2,0),COLORB8B872;{标321}SS1:=涨板;SS2:=COUNT(SS1,2)=1;SS3:=SS1 AND SS2;位21:=O+(C-O)*0.5,NODRAW;位上31:=O+(C-O)*0.67,NODRAW;位下31:=O+(C-O)*0.34,NODRAW;DRAWTEXT(SS3,位21,-)COLORBROWN;DRAWTEXT(SS3,位上31,-)COLORBROWN;DRAWTEXT(SS3,位下31,-)COLORBROWN;

选股票看什么指标最好 >

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群