请老师费心把主图中的 起爆点 做出盘中预警 谢谢 VAR1:=EMA(EMA(CLOSE,9),9); 主力:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; 无庄:=主力<0; 有庄:=主力>REF(主力,1) AND 主力>0; VAR2:=100*WINNER(CLOSE*0.95); 强庄:=VAR2>50 AND COST(85)0; 出货:=主力0; STICKLINE(有庄 AND C>=O,C,O,3,1),COLORRED; STICKLINE(有庄 AND C=O,C,O,3,1),COLORMAGENTA; STICKLINE(强庄 AND C=O,C,O,3,1),COLORGREEN; STICKLINE(出货 AND C=O,C,O,3,1),COLORBLUE; 短线:=EMA(CLOSE,5),COLORYELLOW,LINETHICK1; 操盘线:EMA(CLOSE,7),COLORRED,LINETHICK1; K311:=操盘线=REF(EMA(CLOSE,21),1),EMA(CLOSE,21),DRAWNULL),COLORMAGENTA,LINETHICK2; 下降趋势:IF(EMA(CLOSE,21)REF(主力,1) AND 主力>0; 进入短线强势区:=CROSS("KDJ.J",80) AND "MACD.DIF">"MACD.DEA" AND EMA(C,7)>EMA(C,21) AND "MACD.MACD">REF("MACD.MACD",1); HD:=FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10); LD:=FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10); 波峰:IF(BARSLAST(HD)EXPMA(VOL,25) AND C/REF(C,1)>1.0143; DRAWTEXT(突破波峰,L*0.870,'突破'),COLORMAGENTA; DRAWICON("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND EXPMA(C,12)>EXPMA(C,50),L*0.90,5); DRAWTEXT("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND EXPMA(C,12)>EXPMA(C,50),L*0.95,'起爆'),COLORRED; 起爆点出现就会盘中预警 谢谢老师 辛苦啦
公式模块:
{起爆}
"kdj.j"-ref("kdj.j",1)>30 and c/ref(c,1)>1.043 and "macd.macd">0 and expma(c,12)>expma(c,50); {突破} hd:=filter(backset(filter(ref(c,10)=hhv(c,2*10+1),10),10+1),10); ld:=filter(backset(filter(ref(c,10)=llv(c,2*10+1),10),10+1),10); 波峰:=if(barslast(hd)<barslast(ld) and not(hd),ref(c,barslast(hd)),ref(c,barslast(hd))); cross(c,波峰) and vol>expma(VOL,25) and c/ref(c,1)>1.0143;