The Cumulative Volume Index ("CVI") is a market momentum indicator that shows whether money is flowing into or out of the stock market. It is calculated by subtracting the volume of declining stocks from the volume of advancing stocks, and then adding this value to a running total.
CVI = Prev CVI + Advancing Volume - Declining Volume
Forex implementation is faced with certain problems.
The absence of the classic Volume, lack of common denominator.
I have walked around this problem by offering a choice of Base Currency.
For selected base currency, CVI is calculated for all the currency pairs that have selected currency.
- CVI.lua
- (5.95 KiB) Downloaded 1246 times
MQ4/MT4 version
viewtopic.php?f=38&t=67145&p=122720#p122720