CVI累積成交量指標

By | 2019-02-24

腳本

1// XQ: CVI指標
2//
3variable: _cvi(0);
4
5If CurrentBar > 1 then
6 _cvi = _cvi[1] + GetField("UpVolume") - GetField("DownVolume");
7
8Plot1(_cvi, "CVI");

參考圖表

CVI