gitee.com/quant1x/engine@v1.8.4/factors/feature_box_qsfz.tdx (about)

     1  {趋势反转, V1.0.9, 2023-09-16}
     2  MV5:=MA(VOL,5);
     3  LB0:VOL/REF(MV5,1),NODRAW;
     4  FIX:=IFF(CURRBARSCOUNT=1,FROMOPEN/TOTALFZNUM,1);
     5  LB:LB0/FIX,NODRAW;
     6  NVOL:LB*REF(MV5,1),NODRAW;
     7  CVOL:VOL,NODRAW;
     8  XVOL:NVOL,NODRAW;
     9  CVX:VOL/REF(VOL,1),NODRAW;
    10  CV:XVOL/REF(VOL,1),NODRAW;
    11  CP:(CLOSE/REF(CLOSE,1)-1)*100;
    12  VP:CP/CV;
    13  VP3:MA(VP,3);
    14  VP5:MA(VP,5);
    15  VP20:=MA(VP,20);
    16  B:CROSS(VP,VP3),NODRAW,COLORRED;
    17  DRAWICON(B,VP,1);