Forum

How to access arrays on MQL4 articles or sample code

Hello, I am writing a little indicator, I need to create and access and array for bands. I need to compare if the current lower bb is higher than the previous. Here is the code that is giving me the "cannot access array" error message. double ticksize = MarketInfo ( Symbol (), MODE_TICKSIZE ); if

On Bar Close Code For Indicator

I have an indicator that gives a signal (arrow) if a set of conditions is met, however I have not been able to find the documentation for a BAR ON CLOSE option. Any thoughts/ideas on how to accomplish this. My dream will be to have the Input in that way I can choose weather I would like the