DownloadRe: Volume Indicators for MT4

771
Hello Mrtools I need help to modify an indicator. It's the second chart indicator widely available online. Can someone please help add divergence and notification to it. I need tk be notified if two corelate currency pairs strike a divergence I.e one of them failed to make a higher high or vice versa.
Here is the indicator mq4 file and some chart examples.

I will appreciate very much for anyone's help.
These users thanked the author Hashim23 for the post:
Tur005


Re: Volume Indicators for MT4

773
kvak wrote: Sat Feb 24, 2024 6:52 am Here is your mod.
Hello dear @kvak. Sorry to bother you with this indicator again, for some unknown reason she is always on my mind:) Do you have a non-histo version of it? Or have you made an OBV with divergences before? I'm very curios to see how this charming lady do in case of divergences?! Many thanks in forward.
These users thanked the author ixion700 for the post (total 3):
kvak, RodrigoRT7, Jimmy
Think out of the box!

Re: Volume Indicators for MT4

774
ixion700 wrote: Wed Mar 13, 2024 7:47 pm Hello dear @kvak. Sorry to bother you with this indicator again, for some unknown reason she is always on my mind:) Do you have a non-histo version of it? Or have you made an OBV with divergences before? I'm very curios to see how this charming lady do in case of divergences?! Many thanks in forward.
On Balance Volume Divergences with Alternative OBV Calculation Options

Hello, made this version with divergences....

PS: For the Histogram Bar version, please see here: OBV Histogram Version.
These users thanked the author kvak for the post (total 7):
太虚一毫, RodrigoRT7, ixion700, Jimmy, josi, boytoy, moey_dw

Re: Volume Indicators for MT4

775
kvak wrote: Thu Mar 14, 2024 10:36 am On Balance Volume Divergences with Alternative OBV Calculation Options

Hello, made this version with divergences....

PS: For the Histogram Bar version, please see here: OBV Histogram Version.
Too good to be true, but it is! The regular divergences look very promising to me, thank you so much! Could you add a div alert please and make the color of the div arrows be changed with the color of div lines? Many thanks.
These users thanked the author ixion700 for the post:
kvak
Think out of the box!


QuestionRe: Volume Indicators for MT4

776
mrtools wrote: Fri Feb 23, 2024 5:55 am Hello
kvak wrote: Sat Feb 24, 2024 6:52 amOn Balance Volume Histogram
Jeff, Mrtools, Kvak can you decipher and tell us what is the difference between the Classic OBV calculation and these two alternative ones Im struggling to understand it....... the three codes are shown here!! What do those alternative ones by fxcodebase do?? They look deadly 😵‍💫
These users thanked the author boytoy for the post (total 2):
moey_dw, mrtools

Re: Volume Indicators for MT4

777
boytoy wrote: Thu Mar 14, 2024 6:21 pm Jeff, Mrtools, Kvak can you decipher and tell us what is the difference between the Classic OBV calculation and these two alternative ones Im struggling to understand it....... the three codes are shown here!! What do those alternative ones by fxcodebase do?? They look deadly 😵‍💫

Code: Select all

The classic formula
Close > previousClose
OBV = OBVprevious + VOLUME
Close < previousClose
OBV = OBVprevious - VOLUME
IF Close = previousClose
OBV = previousOBV

1. Alternative
(Close > Open)
OBV = previousOBV + (Volume* (Close-Open) / (High-Low));
(Close < Open)
OBV = previousOBV - (Volume * (Open-Close) / (High-Low));

2. Alternative
OBV= previousOBV + (Volume * (High-Open) / (High-Low)) - (Volume * (Open-Low) / (High-Low))
My guess is the alternatives are incorporating daily (or whatever timeframe) range values into the calculations. Might be cool to find a good way of normalizing the values.
These users thanked the author mrtools for the post (total 2):
kvak, boytoy

Re: Volume Indicators for MT4

778
mrtools wrote: Fri Mar 15, 2024 5:41 am

Code: Select all

The classic formula
Close > previousClose
OBV = OBVprevious + VOLUME
Close < previousClose
OBV = OBVprevious - VOLUME
IF Close = previousClose
OBV = previousOBV

1. Alternative
(Close > Open)
OBV = previousOBV + (Volume* (Close-Open) / (High-Low));
(Close < Open)
OBV = previousOBV - (Volume * (Open-Close) / (High-Low));

2. Alternative
OBV= previousOBV + (Volume * (High-Open) / (High-Low)) - (Volume * (Open-Low) / (High-Low))
My guess is the alternatives are incorporating daily (or whatever timeframe) range values into the calculations. Might be cool to find a good way of normalizing the values.
Found this:

Code: Select all

Calculation: normOBV = (value - absMin) * (relMax - relMin) / (absMax - absMin) + relMin
These users thanked the author mrtools for the post (total 2):
kvak, boytoy

Re: Volume Indicators for MT4

779
mrtools wrote: Fri Mar 15, 2024 5:41 am My guess is the alternatives are incorporating daily (or whatever timeframe) range values into the calculations. Might be cool to find a good way of normalizing the values.
That's a neat feature by the coder. So those Alternative options possibly use other timeframe readings of the OBV to maybe smooth the noise a bit do you think?

If Normalization is applied would that mean the OBV and it's Alternative options would gain levels of some sort? Like an oscillator that has boundaries overbought/oversold indicators such as RSI and Stochastic?

Re: Volume Indicators for MT4

780
boytoy wrote: Fri Mar 15, 2024 12:24 pm That's a neat feature by the coder. So those Alternative options possibly use other timeframe readings of the OBV to maybe smooth the noise a bit do you think?

If Normalization is applied would that mean the OBV and it's Alternative options would gain levels of some sort? Like an oscillator that has boundaries overbought/oversold indicators such as RSI and Stochastic?
Yes but the trick is to find a normalization that will not mess with the obv values.


Who is online

Users browsing this forum: 88FX88, ALTKUB, Applebot [Crawler], BeatlemaniaSA, Bing [Bot], BlockagePro, bongisgood, cupforyou, Grapeshot [Bot], Intrest 1, lyo99, Mickey Abi, sylvester21 and 54 guests