【龙头确认】基于历史会重复的理念 推测下一个龙头股的出现的策略模型 主图/选股

一、指标源码
{对标型龙头战主图}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
M5F:=MA(C,4);
M8:=MA(C,8),COLORRED,LINETHICK2;
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60),COLORBLUE,LINETHICK2;
D3:=MIN(MIN(M5F,M8),M20)>M60;
LLM:=LLV(MACD*100,200);
HHM:=HHV(MACD*100,200);
ZBXQ1:=C>REF(C,1)*1.05;
T:=BARSLAST(C>REF(C,1)*1.095 AND C=H);
ZBXQ2:=BARSLAST(C< REF(C,1)*1.095 AND C>REF(C,1)*1.08);
ZBXQ3:=BARSLAST(C< REF(C,1)*1.08 AND C>REF(C,1)*1.07);
ZBXQ4:=BARSLAST(C< REF(C,1)*1.07 AND C>REF(C,1)*1.06);
ZBXQ5:=BARSLAST(C< REF(C,1)*1.06 AND C>REF(C,1)*1.05);
ZBXQ6:=REF(T,1)>100 AND REF(ZBXQ2,1)>100 AND REF(ZBXQ3,1)>100 AND REF(ZBXQ4,1)>100 AND REF(ZBXQ5,1)>80 AND ZBXQ1;
ZBXQ7:=BARSLAST(ZBXQ6 AND HHM< 60 AND LLM>-55);
ZBXQ8:=REF(HHV(H,100),3);
D6:=BARSSINCEN(MIN(MIN(M5F,M8),M20)>M60,ZBXQ7+1);
XGX:=CROSS((ZBXQ7=0 AND D3) OR D6=0,0.5);
ZBXQ9:=COUNT(XGX,30)=2 AND XGX;
ZBXQ10:=REF(HIGH,10)=HHV(HIGH,2*10+1);
ZBXQ11:=FILTER(ZBXQ10,10);
ZBXQ12:=REF(ZBXQ11,10+1);
HDF:=REF(ZBXQ12,10);
前高:=REF(H,BARSLAST(HDF));
倍量:=VOL/REF(VOL,1)>=1.9;
突破前高:=CROSS(C,前高);
YG:= 倍量 AND 突破前高;
低2:=IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL);
SJ:=BARSLAST(YG);
H300:=HHVBARS(DIF,300);
BOLL:=MA(CLOSE,20);
AL:=BOLL+2*STD(CLOSE,20);
TQ:=BARSLAST(CROSS(AL>=REF(AL,1),0.5));
E25:=EXPMA(C,25);
ZDZ:=REFDATE(ZBXQ8,DATE);
ZF:=EVERY(RANGE(C/REF(C,1),0.97,1.05),TQ+1);
ZFF:=(HHV(H,TQ+1)-LLV(L,TQ+1))/LLV(L,TQ+1)*100;
TJQ:=EVERY(MAX(C,O)/AL< 1.02 ,TQ+1);
XL:=(ATAN((E25/REF(E25,TQ)-1)*100)*180/3.1415926);
DJ:=REF(LLV(L,100),3);
TJ1Q:=CROSS(DIF>=REF(DIF,H300),0.5) AND ZFF< 17 AND ZF AND TJQ;
躁动:=TJ1Q AND XL>75;
A1F:=REF(C,1);
ZBXQ13:=REF(C,10);
ZBXQ14:=(ZBXQ13-A1F)/A1F*100;
ZBXQ15:=(ZBXQ14-REF(ZBXQ14,1));
选股1:=CROSS(ZBXQ6,9.8);
ZBXQ16:=REF(V,1);
ZBXQ17:=IF(VOL>0.001,1,EXP(ABS(LOG(VOL*100))))>2;
ZBXQ18:=ZBXQ17/ZBXQ16;
ZBXQ19:=(ZBXQ18-REF(ZBXQ18,1));
选股2:=CROSS(ZBXQ19,500);
潜伏2:=选股1 AND 选股2;
GX:=潜伏2 OR 躁动 OR CURRBARSCOUNT=CONST(SJ)+2 OR ZBXQ9 OR (CCI<=100 AND L<=低2);
YF:=FILTER(GX=1,3);
TDYZ1:=BARSCOUNT(C);
AH:=HHV(H,200);
A1L:=LLV(L,200);
A0:=(AH-A1L)/190;
B1F:=L-A0;
LC:=REF(CLOSE,1);
Z1:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
TDYZ2:=REF(LOW,1);
XH:=H=ZDZ;
TDYZ3:=SMA(ABS(LOW-TDYZ2),13,1)/SMA(MAX(LOW-TDYZ2,0),13,1)*100;
TDYZ4:=EMA(IF(CLOSE*1.2,TDYZ3*13,TDYZ3/13),13);
TDYZ5:=LLV(LOW,34);
TDYZ6:=HHV(TDYZ4,34);
TDYZ7:=IF(LLV(LOW,56),1,0);
TDYZ8:=EMA(IF(LOW<=TDYZ5,(TDYZ4+TDYZ6*2)/2,0),3)/618*TDYZ7;
AA:=TDYZ8>REF(TDYZ8,1);
DR:=100;
ZRQ:=3;
ZD:=REFDATE(DJ,DATE);
ZZ:=L=ZD;
XGA:=AA AND ZZ,COLORRED,LINETHICK2;
XG1:=XGA>REF(XGA,1);
ZT:=XG1>REF(XG1,1)COLORRED,LINETHICK2;
MA1:=MA(C,1),COLORFFFF00,NODRAW;
MA30:=MA(C,30),COLORFFFF00,NODRAW;
TONGDAYZ1:=3*MA30-2*MA1,COLOR888888;
TONGDAYZ2:=2.8*MA30-1.8*MA1,COLOR777777;
TONGDAYZ3:=2.6*MA30-1.6*MA1,COLOR666666;
TONGDAYZ4:=2.4*MA30-1.4*MA1,COLOR656565;
TONGDAYZ5:=2.2*MA30-1.2*MA1,COLOR555555;
TONGDAYZ6:=2*MA30-1*MA1,COLOR454545;
TONGDAYZ8:=1.8*MA30-0.8*MA1,COLOR444444;
TONGDAYZ9:=1.6*MA30-0.6*MA1,COLOR353535;
TONGDAYZ10:=1.4*MA30-0.4*MA1,COLOR333333;
A1:=1.1*MA30-0.1*MA1,COLOR353535,LINETHICK1;
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
MM:=(IF(((PERIOD > 5) AND (PERIOD < 9)),MA(MMV,1),IF((PERIOD = 5), MA(MMV,4),IF((PERIOD = 4),MA(MMV,8),IF((PERIOD = 3),MA(MMV,16), IF((PERIOD = 2),MA(MMV,32),0))))) );
SSL:=EMA(CLOSE,3);
X_1:=(C+0.809*H+0.618*L+O/2)/2.927;
MA_5:=MA(X_1,5),LINETHICK3;
TONGDAYZ11:=SMA(C,5,1);
TONGDAYZ12:=DMA(TONGDAYZ11,VOL/SUM(VOL,COUNT(C>0,0))*100);
TONGDAYZ13:=SMA(TONGDAYZ12,3,1) ;
TONGDAYZ14:=SMA(TONGDAYZ12,5,1);
TONGDAYZ15:=SMA(TONGDAYZ12,7,1);
TONGDAYZ16:=SMA(TONGDAYZ12,9,1);
TONGDAYZ17:=SMA(TONGDAYZ12,11,1);
IF(TONGDAYZ13< REF(TONGDAYZ13,1),TONGDAYZ13,DRAWNULL),POINTDOT,COLORFFAA11;
IF(TONGDAYZ14< REF(TONGDAYZ14,1),TONGDAYZ14,DRAWNULL),POINTDOT,COLORFFBB33;
IF(TONGDAYZ15< REF(TONGDAYZ15,1),TONGDAYZ15,DRAWNULL),POINTDOT,COLORFFCC55;
IF(TONGDAYZ16< REF(TONGDAYZ16,1),TONGDAYZ16,DRAWNULL),POINTDOT,COLORFFDD66;
IF(TONGDAYZ17< REF(TONGDAYZ17,1),TONGDAYZ17,DRAWNULL),POINTDOT,COLORFFEE55;
IF(TONGDAYZ13>REF(TONGDAYZ13,1),TONGDAYZ13,DRAWNULL),POINTDOT,COLORFF00FF;
IF(TONGDAYZ14>REF(TONGDAYZ14,1),TONGDAYZ14,DRAWNULL),POINTDOT,COLORFF99FF;
IF(TONGDAYZ15>REF(TONGDAYZ15,1),TONGDAYZ15,DRAWNULL),POINTDOT,COLORFF66FF;
IF(TONGDAYZ16>REF(TONGDAYZ16,1),TONGDAYZ16,DRAWNULL),POINTDOT,COLORFF33FF;
IF(TONGDAYZ17>REF(TONGDAYZ17,1),TONGDAYZ17,DRAWNULL),POINTDOT,COLORFF66FF;
金:(3*MA_5+2*REF(MA_5,1)+REF(MA_5,2))/(1+2+3),COLOR00AA00,LINETHICK1;
木:(5*MA_5+4*REF(MA_5,1)+3*REF(MA_5,2)+2*REF(MA_5,3)+REF(MA_5,4))/(5+4+3+2+1),COLOR00BB00,LINETHICK1;
水:(7*MA_5+6*REF(MA_5,1)+5*REF(MA_5,2)+4*REF(MA_5,3)+3*REF(MA_5,4)+2*REF(MA_5,5)+REF(MA_5,6))/(7+6+5+4+3+2+1),COLOR00CC00,LINETHICK1;
火:(9*MA_5+8*REF(MA_5,1)+7*REF(MA_5,2)+6*REF(MA_5,3)+5*REF(MA_5,4)+4*REF(MA_5,5)+3*REF(MA_5,6)+2*REF(MA_5,7)+REF(MA_5,8))/(9+8+7+6+5+4+3+2+1),COLOR00DD00,LINETHICK1;
土:(11*MA_5+10*REF(MA_5,1)+9*REF(MA_5,2)+8*REF(MA_5,3)+7*REF(MA_5,4)+6*REF(MA_5,5)+5*REF(MA_5,6)+4*REF(MA_5,7)+3*REF(MA_5,8)+2*REF(MA_5,9)+REF(MA_5,10))/(11+10+9+8+7+6+5+4+3+2+1),COLOR00EE00,LINETHICK1;
IF(金>REF(金,1),金,DRAWNULL),COLOR0000AA,LINETHICK1;
IF(木>REF(木,1),木,DRAWNULL),COLOR0000BB,LINETHICK1;
IF(水>REF(水,1),水,DRAWNULL),COLOR0000CC,LINETHICK1;
IF(火>REF(火,1),火,DRAWNULL),COLOR0000DD,LINETHICK1;
IF(土>REF(土,1),土,DRAWNULL),COLOR0000EE,LINETHICK1;
STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),LOW,HIGH,0,0),COLORRED;
STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),OPEN,CLOSE,3,0),COLORRED;
STICKLINE(CLOSE< OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),LOW,HIGH,0,0),COLORFFFF00;
STICKLINE(CLOSE< OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),OPEN,CLOSE,3,0),COLORFFFF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLORFFFF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFFFF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,1) ,COLORRED;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,1) ,COLORRED;
DRAWTEXT(CROSS(Z1,20),L*0.998,'底'),COLORRED;
DRAWTEXT(CROSS(80,Z1),H*1.008,'顶'),COLORGREEN;
DRAWTEXT(ZT,H,'起爆'),COLORLIRED;
DRAWTEXT(XH,H,'到顶'),COLORGREEN;
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MTONGDAYZ10:=MA(CLOSE,30);
MTONGDAYZ9:=MA(CLOSE,60);
ZTABC:=1.1;
N:=20;
TK:=O>REF(H,1);
MA5:=MA(C,5);
MTONGDAYZ6:=MA(C,10);
MTONGDAYZ1:=MA(C,20);
MA_UP:=MA5>MTONGDAYZ6 AND MTONGDAYZ6>MTONGDAYZ1 AND MA5>REF(MA5,1) AND MTONGDAYZ6>REF(MTONGDAYZ6,1) AND MTONGDAYZ1>REF(MTONGDAYZ1,1);
HAVE_ZT_20DAYS:=COUNT(ZT,N)>0;
VOLSE:=V>REF(V,1);
HSSE:=V/CAPITAL*100>REF(V/CAPITAL*100,1);
MART:=VOLSE AND HSSE;
FILTER_MAIN:=HAVE_ZT_20DAYS AND TK AND MA_UP AND MART;
STICKLINE(FILTER_MAIN AND C>O,O,C,2,0),COLORRED;
DRAWTEXT(FILTER_MAIN AND C>O ,LOW,'龙头确认'),COLORMAGENTA;
DRAWICON(FILTER_MAIN AND C>O,L,9);

【龙头确认】基于历史会重复的理念 推测下一个龙头股的出现的策略模型 主图/选股

{对标型龙头战选股}
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MWYYM10:=MA(CLOSE,30);
MWYYM9:=MA(CLOSE,60);
ZTABC:=1.1;
N:=20;
ZT:=C/REF(C,1)>=ZTABC;
TK:=O>REF(H,1);
MA5:=MA(C,5);
MWYYM6:=MA(C,10);
MWYYM1:=MA(C,20);
MA_UP:=MA5>MWYYM6 AND MWYYM6>MWYYM1 AND MA5>REF(MA5,1) AND MWYYM6>REF(MWYYM6,1) AND MWYYM1>REF(MWYYM1,1);
HAVE_ZT_20DAYS:=COUNT(ZT,N)>0;
VOLSE:=V>REF(V,1);
HSSE:=V/CAPITAL*100>REF(V/CAPITAL*100,1);
MART:=VOLSE AND HSSE;
龙头确认:HAVE_ZT_20DAYS AND TK AND MA_UP AND MART;

【龙头确认】基于历史会重复的理念 推测下一个龙头股的出现的策略模型 主图/选股

 

二、指标简介
【龙头确认】基于历史会重复的理念 推测下一个龙头股的出现的策略模型 主图/选股
该战法基于历史会重复的理念,认为通过对市场风格、周期和龙头属性的观察和分析,可以预测下一个龙头股的出现。

三、指标图示

【龙头确认】基于历史会重复的理念 推测下一个龙头股的出现的策略模型 主图/选股

    资源下载
    下载价格1 金币
    包年VIP免费
    原文链接:https://zbxq.top/?p=143570,转载请注明出处。
    2
    【独角兽进化版】指标,主图、副图、选股,进化版尾盘思路,无未来函数,手机电脑通达信通用
    【独角兽进化版】指标,主图、副图、选股,进化版尾盘思路,无未来函数,手机电脑通达信通用
    1分钟前 有人购买 去瞅瞅看
    没有账号?注册  忘记密码?