MA30:=EMA(CLOSE,30);
强弱:EMA(CLOSE,900);
STICKLINE((MA30>强弱),MA30,强弱,1,0),COLORMAGENTA;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLORLICYAN;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORRED,LINETHICK6;
支撑:L1+P1*0.5/8,COLOR00DD00;
现价:CLOSE,COLORYELLOW,LINETHICK1;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORRED;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'.吸'),COLORRED;
DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'.抛'),COLORGREEN;Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z4,GNBLOCK)),COLORCYAN;换手:VOL/CAPITAL*100,NODRAW; 均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK3;
p2015922133760926.jpg
|