立春黑马
VAR8:=VOL>2*MA(VOL,30);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1); VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))) VARE:=0-"MACD.DIFF"(7,21,3); VARF:=TROUGHBARS(3,15,1)<4; VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2); VAR11:=IF(VARF=1,50,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,80,0,15,0),colorf00ff0; STICKLINE(FILTER(VARF=1,5) AND 多空<-10,-80,0,15,0),colorf00ff0; STICKLINE(FILTER(VARF=1,5),90,0,8,0),coloryellow; STICKLINE(FILTER(VARF=1,5),-90,0,8,0),coloryellow; DRAWTEXT(MGJZC/1.5>=10,70,'好股可长期持续操作'),coloryellow; DRAWTEXT(FILTER(VARF=1,3),50,'★★黑马出现必买★★'),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>35; 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),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),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),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),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150); VAR1A:=EMA(VAR19,100); VAR1B:=(VAR19-VAR1A)/4; 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,40,'不要错过,立必买!'),colorred; DRAWICON(VAR13,40,1),colorred; DRAWICON(买线,买线,1),colorred; DRAWTEXT(买线,买线,'再买'),colorred; DRAWICON(买线,26,1),colorred; DRAWTEXT(买线,25,'再买'),colorred; DRAWICON(卖线,26,2); DRAWTEXT(卖线,30,'再卖'),colorgreen; DRAWICON(卖线,卖线,9); DRAWICON(选股买点>0,20,1); DRAWTEXT(选股买点>0,20,'买点'),coloryellow; DRAWTEXT(选股买点 AND VARF AND VARC,16,' 莫错过!'),colormagenta; DRAWTEXT(VAR18,60,' 空仓!!!大地飞歌'),colorgreen; DRAWICON(VAR18,55,2),colorgreen; DRAWTEXT(VAR18,50,' 空仓!!!胜力了'),colorgreen; DRAWICON(VAR18,45,2),colorgreen; DRAWTEXT(VAR18,70,' 空仓!!!胜力了'),colorgreen; DRAWICON(VAR18,65,2),colorgreen; DRAWTEXT(VAR20<-110 AND 选股买点>0,45,'立春必买'),coloryellow; DRAWICON(VAR20<-110 AND 选股买点>0,45,1),colorred; DRAWTEXT(VAR17,90,'●大黑马出现必买!莫错过!'),COLORFF6600; 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; CC:=LLVBARS(HIGH,240,)/LLVBARS(HIGH,60,)/30; DRAWTEXT(CC,-20,'牛'),COLORFF6600; 发现未来函数TROUGHBARS! 发现未来函数ZIG!