CV指標

By | 2019-02-24

 

腳本

1// XQ: CV指標
2//
3Variable: _cv(0);
4
5If CurrentBar = 1 then
6 _cv = Close * Volume
7else 
8 _cv = _cv[1] + (Close - Close[1]) * Volume;
9
10Plot1(_cv, "CV");

參考圖表

CV