It works as I wanted it to work, but I suspect I am not doing it "clean and most simple" way.
I am asking myself why I need to use buffer 6 for the line to change colour (well, don't understand buffers and colour changing [yet]).
Please, take a peek inside (lines 122-125).
You don't need to use buffer 6
All you have to do is to check the state of buffer 10 and then draw the colors accordingly (using the values from buffer 3). You can not use just 1 buffer per color since that way you will get a repainting indicator, hence the simplest way is what I described and then use the ClearPint() and PlotPoint() procedures to draw non-repainting color line(s)
Hello, could some one make this one work for the latest MT4 build please?
Try now,hope it will be work.
This indicator is not working.It's not showing anything.
Delete line 93 (or used the attached)
That indicator could never work in the first place
I've rewritten and copied your PlotPoint() and CleanPoint(). Now using only two buffers (3 and 10).
Can this CyclePeriod be made to work on mq4 ? and can you make it