Good morning,
I need assistance with a custom indicator (see attached RubberBand.mq4). The specifics of the indicator are as follows:
1) Histogram showing the current Close Price minus the Close price of X # of bars in the past (x is designated as an ext variable that can be changed)
2) line bar (in the same indicator window) showing the current Low minus the Low of X # of bars in the past (this x should be the same as the x of the histogram)
That is basically it -- pretty simple. Though i can't make it calculate historically and each time i change the chart time frame it resets and the histogram and the line return to flat line. I think my error has something to do with an array, but I am only a beginner when it comes to coding EA's and indicators. Thank you for your help.
I need assistance with a custom indicator (see attached RubberBand.mq4). The specifics of the indicator are as follows:
1) Histogram showing the current Close Price minus the Close price of X # of bars in the past (x is designated as an ext variable that can be changed)
2) line bar (in the same indicator window) showing the current Low minus the Low of X # of bars in the past (this x should be the same as the x of the histogram)
That is basically it -- pretty simple. Though i can't make it calculate historically and each time i change the chart time frame it resets and the histogram and the line return to flat line. I think my error has something to do with an array, but I am only a beginner when it comes to coding EA's and indicators. Thank you for your help.
Attached Image
Attached File(s)
Rubber Band.mq4
2 KB
|
654 downloads
{Spam Removed}