通达信追风爆量战法V01主副图指标 逻辑主要以突破的形态为主 源码

{追风爆量主图源码如下}
MA60:MA(CLOSE,60) DOTLINE COLORGREEN;
TY:=H;
AA1:=REF(TY,1)=HHV(TY,2*1+1);
BA1:=FILTER(AA1,1);
CA1:=BACKSET(BA1,1+1);
HHD:=FILTER(CA1,1);
前期高位:=REF(H,BARSLAST(HHD));
平台:STICKLINE(C,前期高位,前期高位,8,0),COLORBROWN LINETHICK2;
DRAWICON(C>平台,L,5);
DRAWICON((C-MA(C,5))/MA(C,5)>0.1,L,1);
DRAWICON(CROSS(C,平台),平台*1.002,26);
MID:=MA(C,15)*1.005;
AAC1:=POW((C-MID),2);
AAC2:=MA(AAC1,15);
AAC3:=SQRT(AAC2);
UPPER1:=MID+2*AAC3;
好股网1:=REF(UPPER1,1),COLOR00FFFF;
DRAWICON(CLOSE>好股网1,LOW*0.99,9);
DIFF9:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA9:=EMA(DIFF9,5);
RSV19:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV19,3,1);
D:=SMA(K,3,1);
LC:=REF(CLOSE,1);
RSI19:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI29:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
RSV9:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR19:=SMA(RSV9,3,1);
LWR29:=SMA(LWR19,3,1);
BBI9:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
MTM9:=CLOSE-REF(CLOSE,1);
MMS9:=100*EMA(EMA(MTM9,5),3)/EMA(EMA(ABS(MTM9),5),3);
MMM:=100*EMA(EMA(MTM9,13),8)/EMA(EMA(ABS(MTM9),13),8);
MAV:=(C*2+H+L)/4;
SK:=EMA(MAV,13)-EMA(MAV,34);
SD:=EMA(SK,5);
空方主力:=(-2*(SK-SD))*3.8,COLORGREEN;
多方主力:=(2*(SK-SD))*3.8,COLORRED;
MA11:=MA(CLOSE,5);
MA22:=REF(MA(CLOSE,5),1);
ABC2:=IF(MONTH< 12,1,1);
ABC3:=(2*CLOSE+HIGH+LOW)/4;
ABC4:=LLV(LOW,34);
ABC5:=HHV(HIGH,34);
主力:=EMA((ABC3-ABC4)/(ABC5-ABC4)*100,13)*ABC2;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
ACB1:=MA(CLOSE,10);
ACB2:=MA(CLOSE,55);
ACB3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ACB4:=FILTER(ACB3,10);
ACB5:=BARSLAST(ACB4);
ACB6:=REF(HIGH,ACB5+2);
ACB7:=REF(HIGH,ACB5+1);
ACB8:=REF(HIGH,ACB5);
ACB9:=MAX(ACB6,ACB7);
ACB10:=MAX(ACB9,ACB8);
ACB11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ACB12:=ACB5< 150;
ACB13:=(OPEN-ACB10)/ACB10*100< 30;
ACB14:=(CLOSE-LLV(LOW,ACB5))/LLV(LOW,ACB5)*100< 50;
ACB15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ACB16:=VOL/MA(VOL,5)< 3.5;
ACB17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ACB18:=ACB11 AND ACB12 AND ACB13 AND ACB14 AND ACB15 AND ACB16 AND ACB17;
ACB19:=FILTER(ACB18,15);
ACB20:=(CLOSE-ACB2)/ACB2< 0.1;
ACB21:=(CLOSE-ACB1)/ACB1< 0.3;
ACB22:=(ACB20=1 AND ACB21=1)*0.2;
ACB23:=(ACB22=0 AND REF(ACB22,1)=0.2 AND REF(COUNT(ACB22=0.2,10)=10,1)=1)*(-0.1);
ACB24:=ACB23=(-0.1);
ACB25:=ACB19 OR ACB24;
ACB27:=VOL/REF(VOL,1)>1.2 AND CLOSE>OPEN OR (LOW>REF(HIGH,1) AND OPEN>CLOSE AND VOL/REF(VOL,1)>1.2);
ACB28:=IF(CODELIKE(3) OR (CODELIKE(4) AND DATE>=1200824),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
ACB29:=ACB25 AND ACB27 AND ACB28 AND REF(NOT(ACB28),1) AND (多方主力>=空方主力) AND (MA22<= MA11) AND (主力>=散户) AND (DIFF9>=DEA9) AND (K>=D) AND (RSI19>=RSI29) AND (LWR19>=LWR29) AND (CLOSE>=BBI9) AND (MMS9>=MMM) AND DIFF9>=0 ;
MID9:=MA(C,15)*1.005;
AAC19:=POW((C-MID9),2);
AAC29:=MA(AAC19,15);
AAC39:=SQRT(AAC29);
UPPER9:=MID9+2*AAC39;
LOWER:=MID9-2*AAC39;
好股网9:=REF(UPPER9,1),COLOR00FFFF;
AA9:=CLOSE-好股网9;
ACB30:=(AA9>0) AND (REF(AA9,1)< 0) AND (REF(AA9,2)< 0) AND (REF(AA9,3)< 0) AND (多方主力>=空方主力) AND (MA22<= MA11) AND (主力>=散户) AND (DIFF9>=DEA9) AND (K>=D) AND (RSI19>=RSI29) AND (LWR19>=LWR29) AND (CLOSE>=BBI9) AND (MMS9>=MMM) AND (DIFF9>=0);
DRAWICON(ACB29 OR ACB30,L,25);
STICKLINE(CLOSE>好股网1 AND ACB29 OR ACB30,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(CLOSE>好股网1 AND ACB29 OR ACB30,OPEN,CLOSE,0.6,0),COLORYELLOW;

{追风爆量副图源码如下}
MID:=MA(C,15)*1.005;
AAC1:=POW((C-MID),2);
AAC2:=MA(AAC1,15);
AAC3:=SQRT(AAC2);
UPPER1:=MID+2*AAC3;
好股网1:=REF(UPPER1,1),COLOR00FFFF;
DIFF9:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA9:=EMA(DIFF9,5);
RSV19:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV19,3,1);
D:=SMA(K,3,1);
LC:=REF(CLOSE,1);
RSI19:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI29:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
RSV9:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR19:=SMA(RSV9,3,1);
LWR29:=SMA(LWR19,3,1);
BBI9:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
MTM9:=CLOSE-REF(CLOSE,1);
MMS9:=100*EMA(EMA(MTM9,5),3)/EMA(EMA(ABS(MTM9),5),3);
MMM:=100*EMA(EMA(MTM9,13),8)/EMA(EMA(ABS(MTM9),13),8);
MAV:=(C*2+H+L)/4;
SK:=EMA(MAV,13)-EMA(MAV,34);
SD:=EMA(SK,5);
去新三板:=NOT(CODELIKE('4'));
去科创板:=NOT(CODELIKE('688'));
去ST:=IF(NAMELIKE('S'),0,1);
去星星:=IF(NAMELIKE('*'),0,1);
去北交:=NOT(CODELIKE('8'));
条件限定:=去新三板 AND 去ST AND 去科创板 AND 去星星 AND 去北交;
空方主力:=(-2*(SK-SD))*3.8,COLORGREEN;
多方主力:=(2*(SK-SD))*3.8,COLORRED;
MA11:=MA(CLOSE,5);
MA22:=REF(MA(CLOSE,5),1);
ABC2:=IF(MONTH< 12,1,1);
ABC3:=(2*CLOSE+HIGH+LOW)/4;
ABC4:=LLV(LOW,34);
ABC5:=HHV(HIGH,34);
主力:=EMA((ABC3-ABC4)/(ABC5-ABC4)*100,13)*ABC2;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
ACB1:=MA(CLOSE,10);
ACB2:=MA(CLOSE,55);
ACB3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ACB4:=FILTER(ACB3,10);
ACB5:=BARSLAST(ACB4);
ACB6:=REF(HIGH,ACB5+2);
ACB7:=REF(HIGH,ACB5+1);
ACB8:=REF(HIGH,ACB5);
ACB9:=MAX(ACB6,ACB7);
ACB10:=MAX(ACB9,ACB8);
ACB11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ACB12:=ACB5< 150;
ACB13:=(OPEN-ACB10)/ACB10*100< 30;
ACB14:=(CLOSE-LLV(LOW,ACB5))/LLV(LOW,ACB5)*100< 50;
ACB15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ACB16:=VOL/MA(VOL,5)< 3.5;
ACB17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ACB18:=ACB11 AND ACB12 AND ACB13 AND ACB14 AND ACB15 AND ACB16 AND ACB17;
ACB19:=FILTER(ACB18,15);
ACB20:=(CLOSE-ACB2)/ACB2< 0.1;
ACB21:=(CLOSE-ACB1)/ACB1< 0.3;
ACB22:=(ACB20=1 AND ACB21=1)*0.2;
ACB23:=(ACB22=0 AND REF(ACB22,1)=0.2 AND REF(COUNT(ACB22=0.2,10)=10,1)=1)*(-0.1);
ACB24:=ACB23=(-0.1);
ACB25:=ACB19 OR ACB24;
ACB27:=VOL/REF(VOL,1)>1.2 AND CLOSE>OPEN OR (LOW>REF(HIGH,1) AND OPEN>CLOSE AND VOL/REF(VOL,1)>1.2);
ACB28:=IF(CODELIKE(3) OR (CODELIKE(4) AND DATE>=1200824),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
ACB29:=ACB25 AND ACB27 AND ACB28 AND REF(NOT(ACB28),1) AND (多方主力>=空方主力) AND (MA22<= MA11) AND (主力>=散户) AND (DIFF9>=DEA9) AND (K>=D) AND (RSI19>=RSI29) AND (LWR19>=LWR29) AND (CLOSE>=BBI9) AND (MMS9>=MMM) AND DIFF9>=0 ;
MID9:=MA(C,15)*1.005;
AAC19:=POW((C-MID9),2);
AAC29:=MA(AAC19,15);
AAC39:=SQRT(AAC29);
UPPER9:=MID9+2*AAC39;
LOWER:=MID9-2*AAC39;
好股网9:=REF(UPPER9,1),COLOR00FFFF;
AA9:=CLOSE-好股网9;
ACB30:=(AA9>0) AND (REF(AA9,1)< 0) AND (REF(AA9,2)< 0) AND (REF(AA9,3)< 0) AND (多方主力>=空方主力) AND (MA22<= MA11) AND (主力>=散户) AND (DIFF9>=DEA9) AND (K>=D) AND (RSI19>=RSI29) AND (LWR19>=LWR29) AND (CLOSE>=BBI9) AND (MMS9>=MMM) AND (DIFF9>=0) AND 条件限定;
追风爆量:CLOSE>好股网1 AND ACB29 OR ACB30;



未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图