乖離率:(C-MA(C,250))/MA(C,250)*100;
N1:=BARSLAST(CROSS(C,MA(C,250))); N2:=BARSLAST(CROSS(MA(C,250),C)); 長期趨勢:IF(N1<N2,N1+1,0),LINETHICK0; 峰值乖離:HHV(乖離率,長期趨勢),LINETHICK0; 長漲幅:(C-REF(C,長期趨勢))/REF(C,長期趨勢)*100; N3:=BARSLAST(CROSS(C,MA(C,20))); N4:=BARSLAST(CROSS(MA(C,20),C)); 黑馬跟蹤:IF(N3<N4,N3+1,0); 漲幅跟蹤:(C-REF(C,黑馬跟蹤))/REF(C,黑馬跟蹤)*100; 換手:VOL/CAPITAL*100, LINETHICK0; 百日換手:SUM(換手,100), LINETHICK0; 換手跟蹤:SUM(換手,0)-REF(SUM(換手,0),黑馬跟蹤),COLORFF937F LINETHICK0; 跟蹤系數(shù):換手跟蹤/漲幅跟蹤,COLOR00FF00 LINETHICK0; |
|