以下是大智慧分时主图指标公式
MA30:=EMA(CLOSE,30);
强弱:EMA(CLOSE,900),LINETHICK0;
STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD00;
现价:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,\’★B\’),COLORYELLOW;{吸}
DRAWTEXT(LONGCROSS(现价,阻力,2),现价,\’★卖\’),COLORRED;
DRAWICON(CROSS(MA30,强弱),H,9);
XG:=HHV(H,480);
T:=BARSCOUNT(C);
TP:= FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME0>39600,240) ;
DRAWTEXT(TP,L,\’突破\’),COLORyellow;
VERTLINE(tp,1),COLORwhite,LINETHICK2;
HHV(h,T),DOTLINE,Culor00FFFF;
DRAWTEXTREL(250,735,\’■【换手】\’+NUMTOSTRN(DYNAINFO(37)*100,2)+\’%\’+\’ 【量比】\’+NUMTOSTRN(DYNAINFO(17),2)+\’%\’),CulorYellow;
a25:=HHVBARS(CLOSE,60);
突破1:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*1.001)))AND(REF((a25>= 5),1))),10),POINTDOT,linethick0;
STICKLINE(突破1,(CLOSE*0.99),CLOSE,5,0),CulorF600A9;
DRAWTEXT((((SUM((突破1>0),0))=1)AND 突破1),(CLOSE*0.99),\’最佳买点\’),coloryellow;
DRAWTEXT((((SUM((突破1>0),0))=2)AND 突破1),(CLOSE*0.99),\’次佳买点\’),colorWhite;
DRAWTEXT((((SUM((突破1>0),0))=3)AND 突破1),(CLOSE*0.99),\’理想买点\’),colorWhite;
DRAWTEXT((((SUM((突破1> 0),0))>=5) AND 突破1),(CLOSE * 0.99),\’突破\’),colorWhite;