VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;//www.9m8.cn 九毛八公式指标网
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,7);//www.9m8.cn 九毛八公式指标网
VAR2E:=(VAR2A+VAR2C)/2/1.1;
超短:EMA(VAR2E,3),colorred ;
短线:EMA(超短,5),colorwhite;
趋势线:EMA((VAR2B+VAR2D)*0.1,2) ,coloryellow;
DRAWTEXT(CROSS(趋势线,0),60,'买'),colorred ;
DRAWTEXT(趋势线 REF(趋势线,1)AND REF(趋势线,1) REF(趋势线,2)AND COUNT(CROSS(超短,短线),3)=1 AND 短线 30,短线,'底部快快买入'),colorcyan;;
DRAWICON(趋势线 REF(趋势线,1)AND REF(趋势线,1) REF(趋势线,2)AND COUNT(CROSS(超短,短线),3)=1 AND 短线 30,短线,1),colorcyan;
A=ZIG(2,5);
fxdd=A REF(A,1) AND REF(A,2) REF(A,1);
gddz=IF(fxdd,REF(LOW,1),0);
支撑位:=IF(gddz=0,REF(LOW,BARSLAST(fxdd)+1),REF(LOW,1));
CHun:=IF(支撑位=REF(支撑位,1),支撑位,DRAWNULL);
B=ZIG(1,5);
fxgd=B REF(B,1) AND REF(B,2) REF(B,1);
ggdz=IF(fxgd,REF(HIGH,1),0);
压力位:=IF(ggdz=0,REF(HIGH,BARSLAST(fxgd)+1),REF(HIGH,1));
Li:=IF(压力位=REF(压力位,1),压力位,DRAWNULL);
scmd1:=BARSLAST((支撑位 REF(支撑位,1)OR 支撑位 REF(支撑位,1)) AND CLOSE 支撑位);
scmd2:=BARSLAST(压力位 REF(压力位,1)OR 压力位 REF(压力位,1));
IF(scmd1 scmd2)
wei:LOW-CHun;
ELSE
wei:HIGH-Li;
IF((支撑位 REF(支撑位,1)OR 支撑位 REF(支撑位,1)) AND CLOSE 支撑位)
{
DRAWTEXT(2,80,'立入'),colorred;
VERLINE(1,1),colorred;
}
VAR8:=VOL 2*MA(VOL,30);
VARB:=CLOSE MA(CLOSE,30) AND CLOSE MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30) REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))) BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0- MACD.DIFF (7,21,3);
VARF:=TROUGHBARS(3,15,1)
VAR10:=EMA(CLOSE,30) REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,60,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),colorwhite;
0,colorred;
STICKLINE(FILTER(VARF=1,5) AND 多空 -10,60,0,15,0),colorf00ff0;
STICKLINE(FILTER(VARF=1,5),60,0,8,0),coloryellow;
DRAWTEXT(FILTER(VARF=1,3),60,'★有黑马必买★'),colorred ;
STICKLINE(多空 -10,0,多空,0.85,0),coloryellow;
STICKLINE(多空 10,0,多空,0.95,0),colorred;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8 20 AND VAR9 23 AND VARA
VARC:=VARB AND COUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=TROUGHBARS(3,6,1) 4 AND CROSS(VARD,VARE);
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH LOW+0.04,4,0);
VAR11:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR12:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
VAR13:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR14:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
VAR15:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR16:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
VAR17:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR18:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=1*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
立点:VAR10,coloryellow;
组合买:(VAR11+VAR13+VAR15+VAR17),colorred;
组合卖:(VAR12+VAR14+VAR16+VAR18),colorgreen;
DRAWTEXT(VAR13,70,'不要错过,立必买!'),colorred;
DRAWICON(VAR13,70,1),colorred;
DRAWICON(组合买,组合买,1),colorred;
DRAWTEXT(组合买,组合买,'再买'),coloryellow;
DRAWICON(组合买,40,1),colorred;
DRAWTEXT(组合买,40,'再买'),coloryellow;
DRAWICON(组合卖,组合卖,9);
DRAWICON(立点 0,16,1);//www.9m8.cn 九毛八公式指标网
DRAWTEXT(立点 0,16,'买点'),coloryellow;
DRAWTEXT(立点 AND VARF AND VARC,6,' 莫错过!'),colormagenta;
DRAWTEXT(VAR18,80,'空仓'),colorgreen;
DRAWICON(VAR18,75,2),colorgreen;
DRAWTEXT(VAR18,70,'空仓'),colorgreen;
DRAWICON(VAR18,65,2),colorgreen;
DRAWTEXT(VAR18,60,'空仓'),colorgreen;
DRAWICON(VAR18,55,2),colorgreen;
DRAWTEXT(VAR20 -110 AND 立点 0,50,'立春必买'),coloryellow;
DRAWICON(VAR20 -110 AND 立点 0,50,1),colorred;
DRAWTEXT(VAR17,100,'●大黑马出现必买!莫错过!'),COLORFF6600;
DRAWTEXT_FIX(C 10,0,0,0,'______________________发现黑马 '),colorred;
VAR17:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
VAR18:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
DRAWTEXT(VAR18,110,'●空仓'),colorgreen;
DRAWTEXT(VAR18,100,'●空仓'),colorgreen;
DRAWTEXT(VAR18,90,'●空仓'),colorgreen;
DRAWTEXT(VAR17,-10,'●大黑马出现必买!莫错过!'),COLORFF6600;
DRAWTEXT_FIX(MGJZC =10,0,0,0,'我看好这股,必有回报 '),colorred;
DRAWTEXT_FIX(MGJZC =10,0,5,0,'________________________________________________________________________________________________好股可长期持续操作 ',),colorred;
DRAWTEXT(MGJZC/1.5 =10,70,'______好股可长期持续操作'),coloryellow;