分时操盘
MA30:=EMA(CLOSE,30);
强弱:EMA(CLOSE,50),COLORYELLOW,LINETHICK2;
IF(强弱<REF(强弱,1),强弱,DRAWNULL),COLOR00FF00,LINETHICK2;
{IF(分水岭>REF(分水岭,1)*0.999,分水岭,DRAWNULL),COLORRED,LINETHICK3;}
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,LINETHICK2;}
涨幅:=(DYNAINFO(7)-DYNAINFO(3))/DYNAINFO(3)*100;
即时涨幅:=(C-DYNAINFO(3))/DYNAINFO(3)*100;
{MA3:="MA.MA3#DAY"(5,10,20);}
{原文链接:HTTP://WWW.70822.COM/}
{DRAWTEXT(LONGCROSS(支撑,C,2) AND 涨幅>-9.5,支撑*1.001,'★B'),COLORRED;}
DRAWTEXT(LONGCROSS(C,强弱,2) AND 强弱>REF(强弱,1) AND 涨幅>0 AND 即时涨幅<5,强弱*0.998,'★B'),COLORRED;
DRAWTEXT(LONGCROSS(C,阻力,2),C,'S★'),COLORGREEN;{抛};
2021112793062886.png
2021112793726334.png
|