For those who are interested. I decided to create a new thread, because I don't want to clutter the WVB2 thread with stuff that doesn't really belong there (like indicator specifics).
The indicator is a MACD that let's you specifiy the method (SMA, EMA, ...), period and price (close, median, ...) used for the two MAs. It can calculate the slope of the difference between MAs (xDiffOrder param set to 1). By setting xShowDistrib to 'true', it can display the distribution of the 1st MA around the 2nd one.
I wrote it after I had read the Vegas 4H Method document. I wanted to see the difference of the difference between the two moving averages, but there was no indicator that could show that (I believe). After reading the VWB2 doc, I also wanted to see the distribution of the difference.
Btw, ...:
- It isn't particulary optimized for speed (it's quite slow, in fact).
- It *may* blow up your computer, but the probability of that happening is low (depending on your setup) - you have been warned
...
Extract the attached zip file into the MT4 experts folder.
The contents of the zip file:
indicators/JK_MACD_2.mq4
include/JK_Lib.mqh
The indicator is a MACD that let's you specifiy the method (SMA, EMA, ...), period and price (close, median, ...) used for the two MAs. It can calculate the slope of the difference between MAs (xDiffOrder param set to 1). By setting xShowDistrib to 'true', it can display the distribution of the 1st MA around the 2nd one.
I wrote it after I had read the Vegas 4H Method document. I wanted to see the difference of the difference between the two moving averages, but there was no indicator that could show that (I believe). After reading the VWB2 doc, I also wanted to see the distribution of the difference.
Btw, ...:
- It isn't particulary optimized for speed (it's quite slow, in fact).
- It *may* blow up your computer, but the probability of that happening is low (depending on your setup) - you have been warned

Extract the attached zip file into the MT4 experts folder.
The contents of the zip file:
indicators/JK_MACD_2.mq4
include/JK_Lib.mqh
Attached File(s)