通达信量为价先指标公式


  N3:=IF(CLOSE=REF(CLOSE,1),0,VOL);

  N:=IF(CLOSE》REF(CLOSE,1),N3,-N3);

  N1:=SUM(N,0);

  N2:=REF(N1,1);

  DRAWKLINE(N1,N2,N2,N1);

  MA5:MA(N1,5),COLORWHITE;

  MA10:MA(N1,10),COLORYELLOW;

  MA20:MA(N1,20),COLORMAGENTA,LINETHICK2;

  MA30:MA(N1,30),COLORGREEN,LINETHICK2;