通达信追风爆量战法V01主副图指标 逻辑主要以突破的形态为主 源码
【追风爆量战法】三大要点:
1、突破压力;
突破明显的压力!比如突破近期的高点,上影线的压力,大阴线的压力,并且能够站在高点的上方,一旦突破,由于没有了阻力,短期大概率会沿着趋势继续上行,这个就是短线加速拉升的时候,这个时间也是做短线的好时机!
2、出现爆量;
一般情况下,突破关键位置,比如近期的高点,60日均线,年内高点,历史高点,因为要解放这些上面的套牢盘,需要新的短线的增量资金进场,完成换手,所以,这种突破最好是大阳线带量突破,涨停突破就最强,有时候遇到强势一字板突破,后面也会有爆量,解放前期套牢盘!
3、风口出
现;
在初期,配合有政策消息出台板块有拉升,这个是早期最好的机会,这些就是先手,品种选好刚刚爆量的,涨停的,就可能是龙头,后期的品种就是跟风股,因为龙头初期就要开始表现,这个时候,龙头已经出来了,已经高了,就去低位潜伏!
4、指标简介:
按照以上条件制作【追风爆量】指标。逻辑主要以突破的形态为主,
因为大部分的行情启动,均伴随着股价突破,主图中绿色虚线为MA60日线,放量突破+风口热点显示为“钻石+钱袋子”信号。信号可。
后面还有待优化,先发布一版!
指标含有划压力线划线未来,”钻石+钱袋子“信号无未来函数,以下举例:
{追风爆量主图源码如下}
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;