{參數:N:1,20,10;P:1,8,4;}
{斜面推高指標使用說明:
均線多頭向上行,斜面出現好行情;
連續小幅在推高,及時買入享拉升!}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
DTPL:=MA10>MA20 AND MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
DTSJ:=BARSLAST(CROSS(DTPL,0.1));
斜面:DTSJ*DTPL,COLOR00FFFF,POINTDOT,LINETHICK2;
ZF:=(C/REF(C,1)-1)*100;
WBTG:=COUNT(C>MA10 AND MA10>REF(MA10,1),3)=3;
LXXZ:=COUNT(ABS(ZF)<P,N)>=N-2;
推高:(LXXZ AND WBTG AND 斜面 AND COUNT(ZF>5,3)=0)*DTSJ,COLOR00FF00,LINETHICK1;
BCXM:=COUNT(斜面,5)=5;
SL:=V<REF(V,1);
縮量:((COUNT(SL,5)>=3 OR COUNT(SL,6)>=4) AND SL AND V<MA(V,5))*1,COLORFFFFFF,POINTDOT,LINETHICK2;
優選:推高 AND BCXM AND 縮量,COLORFF00FF,POINTDOT,LINETHICK2;
{以下設置副圖顯示方式}
STICKLINE(斜面,斜面*1.001,斜面*0.999,4,1),color00FFFF;
STICKLINE(縮量,0,1,4,1),COLORFFFFFF;
STICKLINE(縮量,0,-1,4,1),COLOR00FF00;
DRAWICON(優選,5,1);(南方財富網SOUTHMONEY.COM)
(責任編輯:張曉軒)