- OBV is sum of volume. On D1 that would be hundred of thousands. Price is in the order of 1.2345±0.02. Either you won't see OBV or price will be a flat line.
- If you really want to try, change the indicator_separate_window to indicator_chart_window.
Language Basics / Preprocessor / Program Properties (#property) - Reference on algorithmic/automated trading language for MetaTrader 5
- OBV is sum of volume. On D1 that would be hundred of thousands. Price is in the order of 1.2345±0.02. Either you won't see OBV or price will be a flat line.
- If you really want to try, change the indicator_separate_window to indicator_chart_window.
Language Basics / Preprocessor / Program Properties (#property) - Reference on algorithmic/automated trading language for MetaTrader 5
Thank you WIlliam.
I already see RSI on chart and Stocastic on chart and I found also in mql5 store:
https://www.mql5.com/en/code/19838
Probably the better solution is to normalize OBV compare on price on chart , in this way it adapt to number of candles on chart and price range.
I ask because I saw a youtube webinar that Metaquotes give this possibility and is usefull to see momentum volume.
Thanks

- www.mql5.com
Probably the better solution is to normalize OBV compare on price on chart , in this way it adapt to number of candles on chart and price range.
How about you replace RSI with OBV and modify Coeff so that it can be adjusted manually?
Hi Naguisa Unada.
Thank you but I was loking at something alredy done. I dn't know how to program it

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
somebody can help me to create an OBV (on balance volume) indicator directly on main chart?
I see only the indicator to put on separate window.
Many thanks in advance
Kind regards
Marzio Bresciani