RS1:= MACD《0 AND REF(MACD,1)《0 AND C《前次最低價
AND ABS(綠柱面積)《ABS(前次綠柱面積) AND ABS(MACD)《ABS(REF(MACD,1));
底背馳:= IF (CROSS(DIFF,DEA),REF(Y1,1),0);
DRAWTEXT(底背馳,-0.01,‘底背’),COLOR00FFFF;
STICKLINE(底背馳,0,-0.01,4,0),COLOR0000FF;
DRAWICON(底背馳,0,23),COLORYELLOW;
DRAWBAND(DIFF,RGB(200,50,55),DEA,RGB(50,100,10));
遵:IF(DIFF》=DEA,DIFF,DRAWNULL),COLORRED;
守:IF(DEA》=DIFF,DEA,DRAWNULL),COLORFF9900;
紀:IF(DIFF》=DEA,DEA,DRAWNULL),COLOR00FFFF;
律:IF(DEA》=DIFF,DIFF,DRAWNULL),COLOR00FF00;
X2:=IF (MACD》0,BARSLAST(CROSS(DEA,DIFF)),0);
前次紅柱面積:=REF(紅柱面積,X2+1);
(南方財富網(wǎng)SOUTHMONEY.COM)