I hope you can help.
I am not a programmer so I do not know where to start. The indicator is very simple:
For a period time, or candle look back period (default 100) I would like to see two different sums counted:
1- Count how many times a candle changed direction
a. (when candle is up & it’s previous candle was a down)
- and -
b. (when candle is down & it’s previous candle was an up)
2- Count how many times a candle changed direction, and the next candle changed again
a. (When candle [1] is up & it’s previous candle [2] is down & previous candle [3] is an up)
- and -
b. (When candle [1] is down & it’s previous candle [2] is up & previous candle [3] is an down)
It would also be nice for the Date/time be displayed for where the 100 bar period started.
The three items to be displayed can either be on the chart, similar to the CandleCount.mq4 Beerrun created (attached),
or it can be in a separate window like the image I attached.
Thanks so much for your help!
I am not a programmer so I do not know where to start. The indicator is very simple:
For a period time, or candle look back period (default 100) I would like to see two different sums counted:
1- Count how many times a candle changed direction
a. (when candle is up & it’s previous candle was a down)
- and -
b. (when candle is down & it’s previous candle was an up)
2- Count how many times a candle changed direction, and the next candle changed again
a. (When candle [1] is up & it’s previous candle [2] is down & previous candle [3] is an up)
- and -
b. (When candle [1] is down & it’s previous candle [2] is up & previous candle [3] is an down)
It would also be nice for the Date/time be displayed for where the 100 bar period started.
The three items to be displayed can either be on the chart, similar to the CandleCount.mq4 Beerrun created (attached),
or it can be in a separate window like the image I attached.
Thanks so much for your help!
Attached File(s)
CandleCount.mq4
2 KB
|
112 downloads