通达信妖股启动主副图公式 强势股龙头战法 精准提示低进高出 源码 附图

{妖股启动主图源码如下}
AAA:=(3*C+H+L+O)/6;

VAR01:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF

(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,COLORFF7700;

VAR02:=(HHV(VAR01,5)+HHV(VAR01,10)+HHV(VAR01,20))/3;

VAR03:=(LLV(VAR01,5)+LLV(VAR01,10)+LLV(VAR01,20))/3;

VAR04:=(HHV(VAR02,5)+HHV(VAR02,10)+HHV(VAR02,20))/3;

VAR05:=(LLV(VAR03,5)+LLV(VAR03,10)+LLV(VAR03,20))/3;

VAR06:=(LLV(VAR01,2)+LLV(VAR01,4)+LLV(VAR01,6))/3;

Z1:=STRCAT(HYBLOCK,' ');

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORLIRED;

DA:=(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT;

X2:(20*DA+19*REF(DA,1)+18*REF(DA,2)+

17*REF(DA,3)+16*REF(DA,4)+15*REF(DA,5)+14*REF(DA,6)+13*REF(DA,7)+12*REF(DA,8)

+11*REF(DA,9)+10*REF(DA,10)+9*REF(DA,11)+8*REF(DA,12)+7*REF(DA,13)+6*REF(DA,14)+5*

REF(DA,15)+4*REF(DA,16)+3*REF(DA,17)+2*REF(DA,18)+REF(DA,20))/210,COLOR141414,NODRAW;

回踩线:MA(X2,5),LINETHICK1,COLORGREEN;

MAA5:=MA(C,5),COLORRED,LINETHICK1;

MAA10:=MA(C,10);

MAA30:=MA(C,30),COLORRED,NODRAW;

MA5:=MA(CLOSE,5);

MA10Q:=MA(CLOSE,10),NODRAW;

MA20Q:=MA(CLOSE,20),NODRAW;

MA60Q:=MA(CLOSE,60),NODRAW;

AA1E:=AMOUNT/V;

BB1E:=L<AA1E*0.9;

CC1E:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1E:=L<MA(C,5)*0.921;

EE1E:=V<MA(V,5)*1.5;

资金异动:=BB1E AND CC1E AND DD1E AND EE1E,LINETHICK0;

DRAWTEXT(资金异动,(LOW* 0.95),'↖资金异动'),COLOR40CCFF;

MA5A:=MA(CLOSE,5),NODRAW;

MA10A:=MA(CLOSE,10),NODRAW;

MA20A:=MA(CLOSE,20),NODRAW;

MA30A:=MA(CLOSE,30),NODRAW;

MA54A:=MA(CLOSE,54),NODRAW;

MA60A:=MA(CLOSE,60),NODRAW;

MA120A:=MA(CLOSE,120),NODRAW;

HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

HJ_9:=FILTER(HJ_8,10);

HJ_10:=BARSLAST(HJ_9);

HJ_11:=REF(HIGH,HJ_10+2);

HJ_12:=REF(HIGH,HJ_10+1);

HJ_13:=REF(HIGH,HJ_10);

HJ_14:=MAX(HJ_11,HJ_12);

HJ_15:=MAX(HJ_14,HJ_13);

HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

HJ_17:=HJ_10<150;

HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;

HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;

HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

HJ_21:=VOL/MA(VOL,5)<3.5;

HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;

暴利:=FILTER(HJ_25,15);

PL1:=(((CLOSE-MA54A)/MA54A)<0.1);

PL2:=(((CLOSE-MA10A)/MA10A)<0.3);

偏离率:=(((PL1=1) AND (PL2=1))*0.2);

平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);

妖股突破:=平台突破=-0.1;

XDF:=(暴利 OR 妖股突破);

VARA0:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);

FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);


妖股:XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,NODRAW;

DRAWICON(妖股,LOW,7);

DRAWTEXT(妖股,LOW*0.97,' ↖妖股启动'),COLORYELLOW;

BDGD:=C=HHV(C,5);

GDSJ:=BARSLAST(BDGD);

底:LLV(L,5),COLORFF9933,LINETHICK1,CROSSDOT,NODRAW;

顶:HHV(H,5),COLOR0099CC,LINETHICK1,CROSSDOT,NODRAW;

前高:IF(GDSJ>0,REF(C,GDSJ),REF(C,GDSJ)),COLORFFFF00,POINTDOT,LINETHICK2,NODRAW;

MA5S:=MA(C,5),LINETHICK2,COLORFF00FF,NODRAW;

MA13S:=MA(C,13),LINETHICK2,COLOR00FF00,NODRAW;

MA20S:=MA(C,20);

MA30S:=MA(C,30);

MA60S:=MA(C,60);

MA120S:=SMA(C,120,1);

TP:=CROSS(C,REF(前高,1));

出击:=TP AND COUNT(TP,5)=1;

TPSJ:=BARSLAST(出击);

HC:=CROSS(REF(前高,TPSJ+1),L) OR CROSS(REF(前高,TPSJ),C);

回踩:=HC AND TPSJ>1;

MTM:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

放量上涨:=CLOSE/REF(CLOSE,1)>=1.01 AND VOL/REF(VOL,1)>=1.5 AND VOL>MA(VOL,5) AND REF(VOL,1)/REF(MA(VOL,5),1)<=1.8;

箱体形成:=((HHV(C,3)/LLV(C,5)-1)*100<=DX AND (HHV(C,5)/LLV(C,3)-1)*100<=DX)*0.3;

接近箱顶:=(CLOSE/REF(HHV(CLOSE,5),2)<=1.02 AND HIGH/REF(HHV(CLOSE,5),2)>=0.98)*0.5;

P1:=BARSLAST(箱体形成);

P2:=BARSLAST(接近箱顶);

期待突破:=(放量上涨 AND 接近箱顶 AND P1<=3 AND P2<=1)*2;

关注:=(放量上涨 AND 接近箱顶)*1;

ZH520:=ABS(MA5S-MA20S)/MA20S*100<=5;

ZH530:=ABS(MA5S-MA30S)/MA30S*100<=5;

QSXS1:=MA5>REF(MA5S,1);

QSXS2:=MA20S>REF(MA20S,1);

QSXS3:=MA30S>REF(MA30S,1);

DTPL:=MA20S>MA30S AND MA30S>MA120S;

LYHT:=DTPL AND QSXS2 AND QSXS3 AND NOT(QSXS1) AND REF(QSXS1,1);

老鸭回头:=LYHT*50;

WR5:=100*(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5));

WR6:=100*(HHV(H,6)-C)/(HHV(H,6)-LLV(L,6));

WR:=80-(WR5*3+WR6*2)/5;

坑:=IF(WR<0,WR,0);

LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;

GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));

LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;

买:=(LYKK AND NOT(REF(LYKK,1)))*50;

买1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);

卖1:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);

VARC0:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;

VAR6S:=REF(C,1);

VAR07:=SMA(MAX(C-VAR6S,0),6,1)/SMA(ABS(C-VAR6S),6,1)*100;

优选:=(买 AND COUNT((MA13S>MA20S),5)=5)*100;

DRAWTEXT(买>0,L*0.99, ' '),COLORRED;

DRAWICON(CROSS(82,VARC0),H*1.03,2);

DRAWTEXT(CROSS(84,VAR07),H*1.04,'顶'),COLORFFFF00;

M5:=MA(CLOSE,5),COLORYELLOW,LINETHICK0;
M24:=MA(CLOSE,24),COLORGREEN,LINETHICK0;
强弱分界线:MA(CLOSE,72),COLORFF00FF,LINETHICK2;
M200:=MA(CLOSE,200),COLORCYAN,LINETHICK0;
DRAWKLINE(H,O,L,C);
DRAWTEXT(CROSS(M5,M24),L*0.95,'启动'),COLORWHITE;
DRAWTEXT(CROSS(M5,强弱分界线),L*0.97,'有戏'),COLORWHITE;
DRAWTEXT(CROSS(M5,M200),L*0.96,'加速'),COLORWHITE;
N:=13;

VAR111:=HHV(HIGH,N);

VAR222:=LLV(LOW,N);

阻力线:=EMA((CLOSE-VAR222)/(VAR111-VAR222),21)-0.5,NODRAW;

操作线1:=EMA((CLOSE-VAR222)/(VAR111-VAR222),5)-0.5,NODRAW;

DRAWTEXT(CROSS(操作线1,阻力线) AND 阻力线<0.1,H,'突'),COLORWHITE;

DRAWTEXT(CROSS(阻力线,操作线1) AND 阻力线>0.25,H*1.05,'-破位'),COLORGREEN;

VAR0:=IF(DATE<=1261231,1,0);
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
IF(VAR0=1,BBI,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(CLOSE>BBI AND VAR0=1,BBI,DRAWNULL),COLORRED,LINETHICK2;
IF(CLOSE<BBI AND VAR0=1,BBI,DRAWNULL),COLORGREEN,LINETHICK1;
DIF1:=EMA(CLOSE,10)-EMA(CLOSE,33);
DEA1:=EMA(DIF1,10);
VAR001:=DIF1-DEA1;
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
PDI:=DMP*100/MTR;
MDI:=DMM*100/MTR;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=EXPMEMA(ADX,6);
VAR002:=PDI-MDI;
VAR003:=ADX-ADXR;
ENTER:=TFILTER(COUNT(CROSS(CLOSE,BBI),10)>0 AND VAR001>0 AND VAR002>0 AND VAR003>0 AND VAR0=1,COUNT(CROSS(BBI,CLOSE),10)>0 AND VAR001<0 AND VAR002<0 AND VAR0=1,1);
EXIT:=TFILTER(COUNT(CROSS(CLOSE,BBI),10)>0 AND VAR001>0 AND VAR002>0 AND VAR003>0 AND VAR0=1,COUNT(CROSS(BBI,CLOSE),10)>0 AND VAR001<0 AND VAR002<0 AND VAR0=1,2);

DRAWTEXT(ENTER,LOW*0.96,'龙抬头'),COLORRED;

PT:=REF(HIGH,1)-REF(LOW,1);

CDP:=(HIGH + LOW + CLOSE)/3;

买01:=CDP+PT,COLORBLUE,DOTLINE;

买02:=CDP-PT,COLORFF00FF,DOTLINE;

卖01:=2*CDP-LOW,COLORYELLOW,DOTLINE;

卖02:=2*CDP-HIGH,DOTLINE;

近高值:=IF(买01>卖01,卖01,买01);

近低值:=IF(买02<卖02,卖02,买02);

AA:=(C-REF(C,1))/REF(C,1)*100;

DRAWTEXT(AA<-5,H,'★'),COLORWHITE;

DRAWNUMBER(AA<-5,O,L)COLORFF00FF;

VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);

VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);

VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;

VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;

DRAWICON(VAR19,REF(CLOSE,1)*0.96,1);

DRAWICON(VAR1A,REF(CLOSE,1)*1.05,2);

VAR020:=CLOSE*VOL;

VAR030:=EMA((EMA(VAR020,3)/EMA(VOL,3)+EMA(VAR020,6)/EMA(VOL,6)

+EMA(VAR020,12)/EMA(VOL,12)+EMA(VAR020,24)/EMA(VOL,24))/4,13);

强势线:1.06*VAR030,POINTDOT,COLORWHITE,LINETHICK2;




{妖股启动副图源码如下}

X_1:=MA(CLOSE,5);

X_2:=IF(X_1>REF(X_1,1),X_1,DRAWNULL);

X_3:=IF(DATETODAY(DATE)<9872,1,DRAWNULL);

X_4:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);

X_5:=8;

X_6:=2342.459961*500;

X_7:=IF(DATE<X_6,1,DRAWNULL);

X_8:=CROSS(X_4,X_5);

X_9:=CROSS(X_4,X_5) AND HIGH>REF(HIGH,1) AND CLOSE>REF(CLOSE,1);

X_10:=CROSS(X_5,X_4);

X_11:=LLV(LOW,21);

X_12:=HHV(HIGH,21);

X_13:=EMA((CLOSE-X_11)/(X_12-X_11)*100,5);

X_14:=EMA((CLOSE-X_11)/(X_12-X_11)*50,13);

X_15:=CROSS(X_13,X_14);

X_16:=IF(CLOSE>REF(CLOSE,1),88,0);

X_17:=IF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH/CLOSE<1.035 AND X_16>0,91,0);

X_18:=DATE<1971230 AND FILTER(X_17>90,30)=1;

X_19:=X_2 AND X_18;

X_20:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));

X_21:=FILTER(X_20,60);

X_22:=X_2 AND X_21;

导弹:X_22 AND X_19,NODRAW,COLORYELLOW;

STICKLINE(导弹,49,26,2,0),COLORYELLOW;

X_23:=MA(CLOSE,10);

X_24:=MA(CLOSE,20);

X_25:=MA(CLOSE,30);

X_26:=MA(CLOSE,54);

X_27:=MA(CLOSE,60);

X_28:=MA(CLOSE,120);

X_29:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_30:=FILTER(X_29,10);

X_31:=BARSLAST(X_30);

X_32:=REF(HIGH,X_31+2);

X_33:=REF(HIGH,X_31+1);

X_34:=REF(HIGH,X_31);

X_35:=MAX(X_32,X_33);

X_36:=MAX(X_35,X_34);

X_37:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_38:=X_31<150;

X_39:=(OPEN-X_36)/X_36*100<30;

X_40:=(CLOSE-LLV(LOW,X_31))/LLV(LOW,X_31)*100<50;

X_41:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_42:=VOL/MA(VOL,5)<3.5;

X_43:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_44:=X_37 AND X_38 AND X_39 AND X_40 AND X_41 AND X_42 AND X_43;

X_45:=FILTER(X_44,15);

X_46:=(CLOSE-X_26)/X_26<0.1;

X_47:=(CLOSE-X_23)/X_23<0.3;

X_48:=(X_46=1 AND X_47=1)*0.2;

X_49:=(X_48=0 AND REF(X_48,1)=0.2 AND REF(COUNT(X_48=0.2,10)=10,1)=1)*(-0.1);

X_50:=X_49=(-0.1);

X_51:=X_45 OR X_50;

X_52:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_53:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_54:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股:X_51 AND CLOSE/REF(CLOSE,1)>1.095 AND X_54 AND X_53,NODRAW,COLORFFCC00;

STICKLINE(妖股,26,3,2,0),COLORFFCC00;

X_55:=0.24;

X_56:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_57:=EMA(X_56,9);

X_58:=(X_56-X_57)*2;

X_59:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

X_60:=SMA(X_59,3,1);

X_61:=SMA(X_60,3,1);

X_62:=3*X_60-2*X_61;

X_63:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND (HIGH-CLOSE)/(CLOSE-OPEN)<0.33 OR (CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND (HIGH-CLOSE)/(CLOSE-OPEN)<0.33);

X_64:=IF(FILTER(X_63 OR (CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW<REF(LOW,1) AND LOW<REF(LOW,2)) OR CLOSE/REF(CLOSE,1)-1>=0.08 AND EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5)>CLOSE,34),1,0) AND IF(CLOSE/REF(CLOSE,1)>1+0.01*9+EXIST(CLOSE/REF(CLOSE,1)>1+0.01*9,10)+CLOSE/REF(CLOSE,1)>1+0.01*9=3,1,0);

X_65:=FILTER(CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28)*100 AND LOW>REF(CLOSE,1)*0.93;

X_66:=SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1)>X_55;

X_67:=CROSS(IF(X_66 AND EMA(SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1),2)>=0.005 AND CLOSE>=REF(CLOSE,1),1,0),0.5);

X_68:=SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1)>0.24;

X_69:=COUNT(IF(X_68 AND EMA(SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1),2)>=0.005 AND CLOSE>=REF(CLOSE,1),1,0)>0.5,10);

X_70:=LOW<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND HIGH>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND COUNT(MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2),2);

飞龙:X_65 OR (X_62-REF(X_62,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND X_58>0 AND X_57>0) AND X_67 AND X_69=1 OR X_64,NODRAW,COLORMAGENTA;

STICKLINE(飞龙,3,(-20),2,0),COLORMAGENTA;


VAR01:=(LOW+HIGH+CLOSE)/3;
VAR02:=REF(LOW,1);
VAR03:=SMA(ABS(LOW-VAR02),3,1)/SMA(MAX(LOW-VAR02,0),3,1)*100;
VAR04:=EMA(IF(CLOSE*1.2,VAR03*10,VAR03/10),3);
VAR05:=LLV(LOW,30);
VAR06:=HHV(VAR04,30);
VAR07:=IF(LLV(LOW,58),1,0);
VAR08:=EMA(IF(LOW<=VAR05,(VAR04+VAR06*2)/2,0),3)/618*VAR07;
VAR09:=IF(VAR08>100,100,VAR08);
VAR5X:=LLV(LOW,75);
VAR6X:=HHV(HIGH,75);
VAR7X:=(VAR6X-VAR5X)/100;
VAR8X:=SMA((CLOSE-VAR5X)/VAR7X,20,1);
VARA:=3*VAR8X-2*SMA(VAR8X,15,1);
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR28:=SMA(VAR26,3,1);
趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORBLACK;
建仓吸筹:IF(VAR08,VAR08,1),COLORRED;
攻击线:(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100,COLORYELLOW,LINETHICK2;
波段王:=SMA(VAR28,3,1);
主力线: (CLOSE-MA(LLV(LOW,40),40))/MA(LLV(LOW,40),40)*100,COLORMAGENTA,LINETHICK2;
操作:=MA(VAR01,5);
拉升:=HHV(操作,13);
M01:=MA(C,5); M02:=MA(C,10);
M03:=MA(C,20); M04:=MA(C,30);
最大值:=MAX(MAX(M01,M02),MAX(M03,M04));
最小值:=MIN(MIN(M01,M02),MIN(M03,M04));
强弱线:28,COLORLIBLUE,DOTLINE;
BARSLAST(L<=最小值 AND C>=最大值)=0;
DRAWICON(CROSS(攻击线,强弱线) ,攻击线,9);



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

{妖股启动主图源码如下}AAA赋值:(3*C+H+L+O)/6
VAR01赋值:(8*AAA+7*1日前的AAA+6*2日前的AAA+5*3日前的AAA+4*4日前的AAA+3*5日前的AAA+2*6日前的AAA+8日前的AAA)/36,COLORFF7700
VAR02赋值:(5日内VAR01最高值+10日内VAR01最高值+20日内VAR01最高值)/3
VAR03赋值:(5日内VAR01最低值+10日内VAR01最低值+20日内VAR01最低值)/3
VAR04赋值:(5日内VAR02最高值+10日内VAR02最高值+20日内VAR02最高值)/3
VAR05赋值:(5日内VAR03最低值+10日内VAR03最低值+20日内VAR03最低值)/3
VAR06赋值:(2日内VAR01最低值+4日内VAR01最低值+6日内VAR01最低值)/3
Z1赋值:STRCAT(HYBLOCK,' ')
Z2赋值:STRCAT(Z1,DYBLOCK)
Z3赋值:STRCAT(Z2,' ')
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORLIRED
DA赋值:(3*收盘价+OPEN+最低价+最高价)/6,POINTDOT
输出X2:(20*DA+19*1日前的DA+18*2日前的DA+17*3日前的DA+16*4日前的DA+15*5日前的DA+14*6日前的DA+13*7日前的DA+12*8日前的DA+11*9日前的DA+10*10日前的DA+9*11日前的DA+8*12日前的DA+7*13日前的DA+6*14日前的DA+5*15日前的DA+4*16日前的DA+3*17日前的DA+2*18日前的DA+20日前的DA)/210,COLOR141414,NODRAW
输出回踩线:X2的5日简单移动平均,LINETHICK1,COLORGREEN
MAA5赋值:C的5日简单移动平均,画红色,LINETHICK1
MAA10赋值:C的10日简单移动平均
MAA30赋值:C的30日简单移动平均,画红色,NODRAW
MA5赋值:收盘价的5日简单移动平均
MA10Q赋值:收盘价的10日简单移动平均,NODRAW
MA20Q赋值:收盘价的20日简单移动平均,NODRAW
MA60Q赋值:收盘价的60日简单移动平均,NODRAW
AA1E赋值:AMOUNT/V
BB1E赋值:LCC1E赋值:(C-1日前的C)/1日前的C*100>1.2
DD1E赋值:LEE1E赋值:V资金异动赋值:BB1E AND CC1E AND DD1E AND EE1E,LINETHICK0
DRAWTEXT(资金异动,(最低价* 0.95),'↖资金异动'),COLOR40CCFF
MA5A:=收盘价的5日简单移动平均,NODRAW
MA10A赋值:收盘价的10日简单移动平均,NODRAW
MA20A赋值:收盘价的20日简单移动平均,NODRAW
MA30A赋值:收盘价的30日简单移动平均,NODRAW
MA54A:=收盘价的54日简单移动平均,NODRAW
MA60A赋值:收盘价的60日简单移动平均,NODRAW
MA120A赋值:收盘价的120日简单移动平均,NODRAW
HJ_8赋值:(3日前的收盘价-收盘价)/3日前的收盘价*100>5
HJ_9赋值:HJ_8的10过滤
HJ_10赋值:上次HJ_9距今天数
HJ_11赋值:HJ_10+2日前的最高价
HJ_12赋值:HJ_10+1日前的最高价
HJ_13赋值:HJ_10日前的最高价
HJ_14赋值:HJ_11和HJ_12较大值
HJ_15赋值:HJ_14和HJ_13较大值
HJ_16赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>5
HJ_17赋值:HJ_10<150
HJ_18赋值:(OPEN-HJ_15)/HJ_15*100<30
HJ_19赋值:(收盘价-HJ_10日内最低价最低值)/HJ_10日内最低价最低值*100<50
HJ_20赋值:(收盘价-5日前的OPEN)/5日前的OPEN*100<30
HJ_21赋值:成交量/成交量的5日简单移动平均<3.5
HJ_22赋值:(收盘价-89日前的收盘价)/89日前的收盘价*100<80
HJ_25赋值:HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22
暴利赋值:HJ_25的15过滤
PL1赋值:(((收盘价-MA54A)/MA54A)<0.1)
PL2赋值:(((收盘价-MA10A)/MA10A)<0.3)
偏离率赋值:(((PL1=1) AND (PL2=1))*0.2)
平台突破赋值:((((偏离率=0) AND (1日前的偏离率=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1)
妖股突破赋值:平台突破=-0.1
XDF赋值:(暴利 OR 妖股突破)
VARA0赋值:DAMOUNT/成交量/100的成交量/当前流通股本日简单移动平均
VARAA赋值:DYNAINFO(7)/(1日前的收盘价)>1.05 AND (DYNAINFO(7)/O>1.05)
FLIGA赋值:(成交量/1日前的成交量>1.2 AND 统计1日满足收盘价>OPEN的天数) OR (最低价>1日前的最高价 AND 统计1日满足OPEN>收盘价的天数 AND 成交量/1日前的成交量>1.2)
输出妖股:XDF AND C/1日前的C>1.095 AND FLIGA AND VARAA,NODRAW
当满足条件妖股时,在最低价和7之间画图标
当满足条件妖股时,在最低价*0.97和' ↖妖股启动'位置书写文字
BDGD赋值:C=5日内C最高值
GDSJ赋值:上次BDGD距今天数
输出底:5日内L最低值,COLORFF9933,LINETHICK1,CROSSDOT,NODRAW
输出顶:5日内H最高值,COLOR0099CC,LINETHICK1,CROSSDOT,NODRAW
输出前高:IF(GDSJ>0,GDSJ日前的C,GDSJ日前的C),COLORFFFF00,POINTDOT,LINETHICK2,NODRAW
MA5S:=C的5日简单移动平均,LINETHICK2,COLORFF00FF,NODRAW
MA13S赋值:C的13日简单移动平均,LINETHICK2,COLOR00FF00,NODRAW
MA20S赋值:C的20日简单移动平均
MA30S赋值:C的30日简单移动平均
MA60S赋值:C的60日简单移动平均
C的120日[1日权重]移动平均
TP赋值:CROSS(C,1日前的前高)
出击赋值:TP AND 统计5日满足TP的天数=1
TPSJ:=上次出击距今天数
HC赋值:CROSS(TPSJ+1日前的前高,L) OR CROSS(TPSJ日前的前高,C)
回踩赋值:HC AND TPSJ>1
MTM赋值:C-1日前的C
DX赋值:100*MTM的6日指数移动平均,6)/EMA(EMA(MTM的绝对值,6),6)
放量上涨赋值:收盘价/1日前的收盘价>=1.01 AND 成交量/1日前的成交量>=1.5 AND 成交量>成交量的5日简单移动平均 AND 1日前的成交量/REF(成交量的5日简单移动平均,1)<=1.8
箱体形成赋值:((3日内C最高值/5日内C最低值-1)*100<=DX AND (5日内C最高值/3日内C最低值-1)*100<=DX)*0.3
接近箱顶赋值:(收盘价/REF(5日内收盘价最高值,2)<=1.02 AND 最高价/REF(5日内收盘价最高值,2)>=0.98)*0.5
P1赋值:上次箱体形成距今天数
P2赋值:上次接近箱顶距今天数
期待突破赋值:(放量上涨 AND 接近箱顶 AND P1<=3 AND P2<=1)*2
关注赋值:(放量上涨 AND 接近箱顶)*1
ZH520赋值:MA5S-MA20S的绝对值/MA20S*100<=5
ZH530赋值:MA5S-MA30S的绝对值/MA30S*100<=5
QSXS1赋值:MA5>1日前的MA5S
QSXS2赋值:MA20S>1日前的MA20S
QSXS3赋值:MA30S>1日前的MA30S
DTPL:=MA20S>MA30S AND MA30S>MA120S
LYHT赋值:DTPL AND QSXS2 AND QSXS3 AND NOT(QSXS1) AND 1日前的QSXS1
老鸭回头赋值:LYHT*50
WR5赋值:100*(5日内H最高值-C)/(5日内H最高值-5日内L最低值)
WR6赋值:100*(6日内H最高值-C)/(6日内H最高值-6日内L最低值)
WR赋值:80-(WR5*3+WR6*2)/5
如果WR<0返回WR否则返回0
LYT赋值:DTPL AND QSXS2 AND QSXS3 AND 统计4日满足QSXS1的天数<=1
GJHS赋值:C>MA5 AND ((QSXS1 AND NOT(1日前的QSXS1)) OR C>3日前的C)
LYKK赋值:GJHS AND (ZH520 OR ZH530) AND LYT
买赋值:(LYKK AND NOT(1日前的LYKK))*50
买1:=IF(2日内DX最低值=7日内DX最低值 AND 统计2日满足DX<0的天数 AND CROSS(DX,DX的2日简单移动平均),1,0)
卖1赋值:IF(2日内DX最高值=7日内DX最高值 AND 统计2日满足DX>50的天数 AND CROSS(DX的2日简单移动平均,DX),1,0)
VARC0赋值:SMA(C-1日前的C和0较大值,6,1)/SMA(C-1日前的C的绝对值,6,1)*100
VAR6S赋值:1日前的C
VAR07赋值:SMA(C-VAR6S和0较大值,6,1)/SMA(C-VAR6S的绝对值,6,1)*100
优选赋值:(买 AND COUNT((MA13S>MA20S),5)=5)*100
当满足条件买>0时,在L*0.99和 ' '位置书写文字
DRAWICON(82上穿VARC0,H*1.03,2)
DRAWTEXT(84上穿VAR07,H*1.04,'顶'),COLORFFFF00
M5赋值:收盘价的5日简单移动平均,画黄色,LINETHICK0
M24赋值:收盘价的24日简单移动平均,COLORGREEN,LINETHICK0
输出强弱分界线:收盘价的72日简单移动平均,COLORFF00FF,LINETHICK2
M200赋值:收盘价的200日简单移动平均,COLORCYAN,LINETHICK0
DRAWKLINE(H,O,L,C)
DRAWTEXT(M5上穿M24,L*0.95,'启动'),画白色
DRAWTEXT(M5上穿强弱分界线,L*0.97,'有戏'),画白色
DRAWTEXT(M5上穿M200,L*0.96,'加速'),画白色
N赋值:13
VAR111赋值:N日内最高价最高值
VAR222赋值:N日内最低价最低值
阻力线赋值:EMA((收盘价-VAR222)/(VAR111-VAR222),21)-0.5,NODRAW
操作线1赋值:EMA((收盘价-VAR222)/(VAR111-VAR222),5)-0.5,NODRAW
DRAWTEXT(操作线1上穿阻力线 AND 阻力线<0.1,H,'突'),画白色
DRAWTEXT(阻力线上穿操作线1 AND 阻力线>0.25,H*1.05,'-破位'),COLORGREEN
如果DATE<=1261231返回1否则返回0
BBI赋值:(收盘价的3日简单移动平均+收盘价的6日简单移动平均+收盘价的12日简单移动平均+收盘价的24日简单移动平均)/4
如果VAR0=1返回BBI否则返回DRAWNULL
如果收盘价>BBI AND VAR0=1返回BBI否则返回DRAWNULL
如果收盘价DIF1赋值:收盘价的10日指数移动平均-收盘价的33日指数移动平均
DEA1赋值:DIF1的10日指数移动平均
VAR001:=DIF1-DEA1
MTR赋值:EXPMEMA(MAX(MAX(最高价-最低价,最高价-1日前的收盘价的绝对值),ABS(1日前的收盘价-最低价)),14)
HD :=最高价-1日前的最高价
LD :=1日前的最低价-最低价
如果HD>0&&HD>LD返回HD否则返回0
如果LD>0&&LD>HD返回LD否则返回0
PDI赋值:DMP*100/MTR
MDI赋值:DMM*100/MTR
ADX赋值:EXPMEMA(MDI-PDI的绝对值/(MDI+PDI)*100,6)
ADXR:=EXPADX的6日平滑移动平均
VAR002:=PDI-MDI
VAR003:=ADX-ADXR
ENTER:=TFILTER(统计10日满足收盘价上穿BBI的天数>0 AND VAR001>0 AND VAR002>0 AND VAR003>0 AND VAR0=1,统计10日满足BBI上穿收盘价的天数>0 AND VAR001<0 AND VAR002<0 AND VAR0=1,1)
EXIT赋值:TFILTER(统计10日满足收盘价上穿BBI的天数>0 AND VAR001>0 AND VAR002>0 AND VAR003>0 AND VAR0=1,统计10日满足BBI上穿收盘价的天数>0 AND VAR001<0 AND VAR002<0 AND VAR0=1,2)
当满足条件ENTER时,在最低价*0.96和'龙抬头'位置书写文字
PT赋值:1日前的最高价-1日前的最低价
CDP赋值:(最高价 + 最低价 + 收盘价)/3
买01:=CDP+PT, 画蓝色,DOTLINE
买02:=CDP-PT,COLORFF00FF,DOTLINE
卖01赋值:2*CDP-最低价,画黄色,DOTLINE
卖02赋值:2*CDP-最高价,DOTLINE
如果买01>卖01返回卖01否则返回买01
如果买02<卖02返回卖02否则返回买02
AA赋值:(C-1日前的C)/1日前的C*100
当满足条件AA<-5时,在H和'★'位置书写文字
DRAWNUMBER(AA<-5,O,L)COLORFF00FF
VAR1赋值:收盘价>1日前的收盘价 AND 收盘价>2日前的收盘价
VAR2赋值:1日前的VAR1 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR3赋值:1日前的VAR2 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR4赋值:1日前的VAR3 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR5赋值:1日前的VAR4 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR6赋值:1日前的VAR5 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR7赋值:1日前的VAR6 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR8赋值:1日前的VAR7 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR9赋值:1日前的VAR8 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VARA赋值:1日前的VAR9 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VARB赋值:1日前的VARA AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VARC赋值:1日前的VARB AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VARD赋值:收盘价<1日前的收盘价 AND 收盘价<2日前的收盘价
VARE赋值:1日前的VARD AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VARF赋值:1日前的VARE AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR10:=1日前的VARF AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR11:=1日前的VAR10 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR12:=1日前的VAR11 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR13:=1日前的VAR12 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR14:=1日前的VAR13 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR15:=1日前的VAR14 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR16:=1日前的VAR15 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR17:=1日前的VAR16 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
VAR18:=1日前的VAR17 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
VAR19:=1日前的VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18 AND VAR1
VAR1A:=1日前的VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC AND VARD
DRAWICON(VAR19,1日前的收盘价*0.96,1)
DRAWICON(VAR1A,1日前的收盘价*1.05,2)
VAR020:=收盘价*成交量
VAR030:=EMA((EMA(VAR020,3)/EMA(成交量,3)+EMA(VAR020,6)/EMA(成交量,6)+EMA(VAR020,12)/EMA(成交量,12)+EMA(VAR020,24)/EMA(成交量,24))/4,13)
输出强势线:1.06*VAR030,POINTDOT,画白色,LINETHICK2
{妖股启动副图源码如下}X_1:=收盘价的5日简单移动平均
X_2赋值:IF(X_1>1日前的X_1,X_1,DRAWNULL)
X_3赋值:IF(DATETODAY(DATE)<9872,1,DRAWNULL)
X_4赋值:4*SMA((收盘价-5日内最低价最低值)/(5日内最高价最高值-5日内最低价最低值)*100,5,1)-3*SMA(SMA((收盘价-5日内最低价最低值)/(5日内最高价最高值-5日内最低价最低值)*100,5,1),3.2,1)
X_5赋值:8
X_6赋值:2342.459961*500
如果DATEX_8赋值:X_4上穿X_5
X_9赋值:X_4上穿X_5 AND 最高价>1日前的最高价 AND 收盘价>1日前的收盘价
X_10赋值:X_5上穿X_4
X_11赋值:21日内最低价最低值
X_12赋值:21日内最高价最高值
X_13赋值:EMA((收盘价-X_11)/(X_12-X_11)*100,5)
X_14赋值:EMA((收盘价-X_11)/(X_12-X_11)*50,13)
X_15赋值:X_13上穿X_14
X_16赋值:IF(收盘价>1日前的收盘价,88,0)
X_17赋值:IF(收盘价/1日前的收盘价>1.095 AND 最高价/收盘价<1.035 AND X_16>0,91,0)
X_18赋值:DATE<1971230 AND X_17>90的30过滤=1
X_19赋值:X_2 AND X_18
X_20:=收盘价/1日前的收盘价>1.048 AND 收盘价=最高价 AND BETWEEN(成交量的5日线性回归预测值,0.3*成交量的12日线性回归预测值,2.1*成交量的12日线性回归预测值)
X_21:=X_20的60过滤
X_22:=X_2 AND X_21
输出导弹:X_22 AND X_19,NODRAW,画黄色
当满足条件导弹时,在49和26之间画柱状线
X_23:=收盘价的10日简单移动平均
X_24:=收盘价的20日简单移动平均
X_25:=收盘价的30日简单移动平均
X_26:=收盘价的54日简单移动平均
X_27:=收盘价的60日简单移动平均
X_28:=收盘价的120日简单移动平均
X_29:=(3日前的收盘价-收盘价)/3日前的收盘价*100>5
X_30:=X_29的10过滤
X_31:=上次X_30距今天数
X_32:=X_31+2日前的最高价
X_33:=X_31+1日前的最高价
X_34:=X_31日前的最高价
X_35:=X_32和X_33较大值
X_36:=X_35和X_34较大值
X_37:=(收盘价-1日前的收盘价)/1日前的收盘价*100>5
X_38:=X_31<150
X_39:=(OPEN-X_36)/X_36*100<30
X_40:=(收盘价-X_31日内最低价最低值)/X_31日内最低价最低值*100<50
X_41:=(收盘价-5日前的OPEN)/5日前的OPEN*100<30
X_42:=成交量/成交量的5日简单移动平均<3.5
X_43:=(收盘价-89日前的收盘价)/89日前的收盘价*100<80
X_44:=X_37 AND X_38 AND X_39 AND X_40 AND X_41 AND X_42 AND X_43
X_45:=X_44的15过滤
X_46:=(收盘价-X_26)/X_26<0.1
X_47:=(收盘价-X_23)/X_23<0.3
X_48:=(X_46=1 AND X_47=1)*0.2
X_49:=(X_48=0 AND 1日前的X_48=0.2 AND 1日前的统计10日满足X_48=0.2的天数=10=1)*(-0.1)
X_50:=X_49=(-0.1)
X_51:=X_45 OR X_50
X_52:=DAMOUNT/成交量/100的成交量/当前流通股本日简单移动平均
X_53:=DYNAINFO(7)/1日前的收盘价>1.05 AND DYNAINFO(7)/OPEN>1.05
X_54:=成交量/1日前的成交量>1.2 AND 统计1日满足收盘价>OPEN的天数 OR (最低价>1日前的最高价 AND 统计1日满足OPEN>收盘价的天数 AND 成交量/1日前的成交量>1.2)
输出妖股:X_51 AND 收盘价/1日前的收盘价>1.095 AND X_54 AND X_53,NODRAW,COLORFFCC00
当满足条件妖股时,在26和3之间画柱状线
X_55:=0.24
X_56:=收盘价的12日指数移动平均-收盘价的26日指数移动平均
X_57:=X_56的9日指数移动平均
X_58:=(X_56-X_57)*2
X_59:=(收盘价-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*100
X_59的3日[1日权重]移动平均
X_60的3日[1日权重]移动平均
X_62:=3*X_60-2*X_61
X_63:=成交量>1日前的成交量*1.9 AND 收盘价>1日前的收盘价 AND 收盘价/1日前的收盘价-1>=0.049 AND (最高价-收盘价)/(收盘价-OPEN)<0.33 OR (收盘价/1日前的收盘价-1>=0.0502 AND 收盘价>1日前的收盘价 AND 成交量>1日前的成交量 AND 成交量>1日前的成交量*2.5 AND (最高价-收盘价)/(收盘价-OPEN)<0.33)
X_64:=IF(FILTER(X_63 OR (收盘价/1日前的收盘价-1>=0.0502 AND 收盘价>1日前的收盘价 AND (OPEN-最低价)/(收盘价-OPEN)>=1.48 AND 最低价<1日前的最低价 AND 最低价<2日前的最低价) OR 收盘价/1日前的收盘价-1>=0.08 AND 2.055*最高价的34日指数移动平均,34)-最低价的34日指数移动平均,34),5)>收盘价,34),1,0) AND IF(收盘价/1日前的收盘价>1+0.01*9+EXIST(收盘价/1日前的收盘价>1+0.01*9,10)+收盘价/1日前的收盘价>1+0.01*9=3,1,0)
X_65:=FILTER(收盘价/1日前的收盘价>1.048 AND 收盘价=最高价 AND BETWEEN(成交量的4日线性回归预测值,0.2*成交量的12日线性回归预测值,2.1*成交量的12日线性回归预测值),28)*100 AND 最低价>1日前的收盘价*0.93
X_66:=SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1)>X_55
X_67:=CROSS(IF(X_66 AND EMA(SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1),2)>=0.005 AND 收盘价>=1日前的收盘价,1,0),0.5)
X_68:=SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1)>0.24
X_69:=COUNT(IF(X_68 AND EMA(SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1),2)>=0.005 AND 收盘价>=1日前的收盘价,1,0)>0.5,10)
X_70:=最低价HHV(MA((最低价+最高价+收盘价)/3,5),13) AND 收盘价>1日前的收盘价 AND 收盘价>OPEN AND COUNT(MA((最低价+最高价+收盘价)/3,5)>REF(MA((最低价+最高价+收盘价)/3,5),1) AND REF(MA((最低价+最高价+收盘价)/3,5),1)输出飞龙:X_65 OR (X_62-1日前的X_62>30 AND 收盘价/1日前的收盘价>1.043 AND X_58>0 AND X_57>0) AND X_67 AND X_69=1 OR X_64,NODRAW,COLORMAGENTA
STICKLINE(飞龙,3,(-20),2,0),COLORMAGENTA
VAR01赋值:(最低价+最高价+收盘价)/3
VAR02赋值:1日前的最低价
VAR03赋值:SMA(最低价-VAR02的绝对值,3,1)/SMA(最低价-VAR02和0较大值,3,1)*100
如果收盘价*1.2返回VAR03*10否则返回VAR03/10
VAR05赋值:30日内最低价最低值
VAR06赋值:30日内VAR04最高值
VAR07赋值:IF(58日内最低价最低值,1,0)
VAR08:=EMA(IF(最低价<=VAR05,(VAR04+VAR06*2)/2,0),3)/618*VAR07
如果VAR08>100返回100否则返回VAR08
VAR5X:=75日内最低价最低值
VAR6X:=75日内最高价最高值
VAR7X:=(VAR6X-VAR5X)/100
VAR8X:=SMA((收盘价-VAR5X)/VAR7X,20,1)
VAR8X的15日[1日权重]移动平均
VAR26:=(收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100
VAR26的3日[1日权重]移动平均
输出趋势线: (收盘价-收盘价的40日简单移动平均)/收盘价的40日简单移动平均*100,COLORBLACK
如果VAR08返回VAR08否则返回1
输出攻击线:(收盘价-40日内最低价最低值)/40日内最低价最低值*100,画黄色,LINETHICK2
VAR28的3日[1日权重]移动平均
输出主力线: (收盘价-40日内最低价最低值的40日简单移动平均)/40日内最低价最低值的40日简单移动平均*100,COLORMAGENTA,LINETHICK2
操作赋值:VAR01的5日简单移动平均
拉升赋值:13日内操作最高值
M01赋值:C的5日简单移动平均
M02赋值:C的10日简单移动平均
M03赋值:C的20日简单移动平均
M04赋值:C的30日简单移动平均
最大值赋值:M01和M02较大值,M03和M04较大值)
最小值赋值:M01和M02的较小值,M03和M04的较小值)
输出强弱线:28, 画淡蓝色,DOTLINE
上次L<=最小值 AND C>=最大值距今天数=0
DRAWICON(攻击线上穿强弱线 ,攻击线,9)

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

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