将融大的主图指标改成预警公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

融大的主图指标看着很好,麻烦各位老师给改成预警公式,如果有其他可以提高成功率的办法也一并提出更好,非常感谢要求:出现粉色k线时预警(大智慧新一代用)融大的源码:{背景色}{DRAWGBKLAST(C>0,STRIP(RGB(59,99,129),RGB(0,0,0),0))};{基本信息}【上市年】:=REF(YEAR,BARSCOUNT(C)-1);【月】:=REF(MONTH,BARSCOUNT(C)-1);【日】:=REF(DAY,BARSCOUNT(C)-1);DRAWTEXTREL(1,16,'■上市日期:'+NUMTOSTRN(【上市年】,0)+'年'+NUMTOSTRN(【月】,0)+'月'+NUMTOSTRN(【日】,0)+'日'+' 上市后总交易天数:'+NUMTOSTRN(BARSCOUNT(C),0)+'天 '),ColorAAEEEE,LINETHICK1;DRAWTEXTABS(1,25,'■主营业务:'+SELFSTRING('主营业务')),color00D7FF;DRAWTEXTABS(1,45,'■主题库:'+SELFSTRING('主题投资')),COLOR00A5FF;DRAWTEXTREL(10,850, ' 善谋者,谋势。不善谋者,谋子.'),coloryellow,linethick1;{波動回調}LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);DRAWTEXT(CROSS(88,RSI),(HIGH * 1.01),'RSI'),ColorE4FF00;{K线颜色}A1:=(CLOSE+HIGH+LOW)/(3); B:=EMA(A1,10); B2:=REF(B,1); MA20:=EMA(CLOSE,20); VAR1:=EMA(CLOSE,3); VAR2:=EMA(CLOSE,8); MA21:=EMA(CLOSE,21); STICKLINE(VAR1MA21,h,l,0,0),Color106fff; STICKLINE(VAR1>MA21,c,o,8,0),Color1047FF; STICKLINE(VAR1>MA21,c,o,5,0),Color1055ff; STICKLINE(VAR1>MA21,c,o,2,0),Color106fff; STICKLINE(VAR1MA21,h,l,0,0),Colorff5d10; STICKLINE(VAR1MA21,c,o,8,0),Colorff5d10; STICKLINE(VAR1MA21,c,o,5,0),Colorff7710; STICKLINE(VAR1MA21,c,o,2,0),Colorff9910; STICKLINE(VAR1>VAR2 AND VAR1VAR2 AND VAR1VAR2 AND VAR1VAR2 AND VAR1REF(H,1),REF(H,1),NUMTOSTRN(REF(H,1),2)+'-'+NUMTOSTRN(L,2)),COLORGRAY;DRAWTEXT(REF(L,1)>H,REF(L,1),NUMTOSTRN(ref(l,1),2)+'-'+NUMTOSTRN(h,2)),color399c7f;{时间窗口}{ZT:=C/ref(C,1)>1.097;DRAWTEXT(ZT,L*0.98,'涨停'),COLORGRAY;;varZT:=BARSLAST(C/REF(C,1)>1.097);stickline(varZT=2,l*0.97,l*0.98,8,0),color0000ff;drawtext(varZT=2,l*0.95,'3天'),coloryellow;stickline(varZT=4,h*1.03,h*1.02,8,0),color9966ff;drawtext(varZT=4,h*1.06,'5天'),coloryellow;stickline(varZT=7,l*0.97,l*0.98,8,0),color00ffff;drawtext(varZT=7,l*0.95,'8天'),coloryellow;stickline(varZT=12,h*1.03,h*1.02,8,0),colorff33ff;drawtext(varZT=12,h*1.06,'13天'),coloryellow;stickline(varZT=20,l*0.97,l*0.98,8,0),color0066ff;drawtext(varZT=20,l*0.95,'21天'),coloryellow;stickline(varZT=33,h*1.03,h*1.02,8,0),color9932CD;drawtext(varZT=33,h*1.06,'34天'),coloryellow;stickline(varZT=54,l*0.97,l*0.98,8,0),color006600;drawtext(varZT=54,l*0.95,'55天'),coloryellow;stickline(varZT=88,h*1.03,h*1.02,8,0),color00ff00;drawtext(varZT=88,h*1.06,'89天'),coloryellow;stickline(varZT=143,l*0.97,l*0.98,8,0),colorccffff;drawtext(varZT=143,l*0.95,'144天'),coloryellow;stickline(varZT=232 ,h*1.03,h*1.02,8,0),colorff0033;drawtext(varZT=232,h*1.06,'233天'),coloryellow;stickline(varZT=376,l*0.97,l*0.98,8,0),colorff9966;drawtext(varZT=376,l*0.95,'377天'),coloryellow};{中期临界点}中期临界点: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),POINTDOT,LINETHICK2,COLORgray;W00:=COST(1);W10:=COST(10);W20:=COST(20);W30:=COST(30);W40:=COST(40);W50:=COST(50);W60:=COST(60);W70:=COST(70);W80:=COST(80);W90:=COST(90);W100:=COST(99);W5:=COST(5);W15:=COST(15);W25:=COST(25);W35:=COST(35);W45:=COST(45);W55:=COST(55);W65:=COST(65);W75:=COST(75);W85:=COST(85);W95:=COST(95);C5:=W5-W00; C10:=W10-W5;C15:=W15-W10;C20:=W20-W15;C25:=W25-W20;C30:=W30-W25;C35:=W35-W30;C40:=W40-W35;C45:=W45-W40;C50:=W50-W45;C55:=W55-W50;C60:=W60-W55;C65:=W65-W60;C70:=W70-W65;C75:=W75-W70; C80:=W80-W75;C85:=W85-W80;C90:=W90-W85;C95:=W95-W90;C100:=W100-W95;ZX:=MIN(C5,MIN(C10,MIN(C15,MIN(C20,MIN(C25,MIN(C30,MIN(C35,MIN(C40,MIN(C45,MIN(C50,MIN(C55,MIN(C60,MIN(C65,MIN(C70,MIN(C75,MIN(C80,MIN(C85,MIN(C90,MIN(C95,C100)))))))))))))))))));STICKLINE(ZX=C5,W00,W5,8,0) ,Color332900;STICKLINE(ZX=C10,W10,W5,8,0) ,Color332900;STICKLINE(ZX=C15,W15,W10,8,0) ,Color332900;STICKLINE(ZX=C20,W20,W15,8,0), Color332900;STICKLINE(ZX=C25,W25,W20,8,0), Color332900;STICKLINE(ZX=C30,W30,W25,8,0), Color332900;STICKLINE(ZX=C35,W35,W30,8,0) ,Color332900;STICKLINE(ZX=C40,W40,W35,8,0), Color332900;STICKLINE(ZX=C45,W45,W40,8,0), Color332900;STICKLINE(ZX=C50,W50,W45,8,0), Color332900;STICKLINE(ZX=C55,W55,W50,8,0) ,Color332900;STICKLINE(ZX=C60,W60,W55,8,0), Color332900;STICKLINE(ZX=C65,W65,W60,8,0), Color332900;STICKLINE(ZX=C70,W70,W65,8,0) ,Color332900;STICKLINE(ZX=C75,W75,W70,8,0) ,Color332900;STICKLINE(ZX=C80,W80,W75,8,0), Color332900;STICKLINE(ZX=C85,W85,W70,8,0) ,Color332900;STICKLINE(ZX=C90,W90,W85,8,0) ,Color332900;STICKLINE(ZX=C95,W95,W90,8,0) ,Color332900;STICKLINE(ZX=C100,W100,W95,8,0), Color332900;{BBI}Rog:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,LINETHICK2,COLORyellow;Sheg:MA(C,18),LINETHICK2,COLORMAGENTA;{散户筹码}Inline:=EMA(C,250);chips:Inline-(EMA(C,3)-Inline),COLORgray;

解答:

 VAR1:=EMA(CLOSE,3); 

VAR2:=EMA(CLOSE,8); 
MA21:=EMA(CLOSE,21); 
 
VAR1>VAR2 AND VAR1<MA21;

选股票看什么指标最好 >股票指标网