Download MetaTrader 5
To add comments, please log in or register
No time to learn MQL5? The source code library is at your service!
ppapp
39
ppapp 2014.03.12 13:46 

Hi


Can someone pls advise.


I have made the short script for the candlestick count cycle where values are given to each candlestick.


However some candlesticks do not fall into the criteria in order to be assigned a value.


The indicator graph draws ok for the candlesticks within the criteria, however I need to plot the remaining candlesticks with a value of zero.


so that the graph is continuous for all candlesticks in the indicator window.


Can someone pls advise on the best way to do this?

Keith Watford
Moderator
8016
Keith Watford 2014.03.12 14:04  

It is not easy to understand what you want, but if you are using a buffer, set all to zero and then only modify values as necessary.Or, if the criteria is not met, give it a zero value

/
To add comments, please log in or register