Download MetaTrader 5

Recalc buffers after changed input

To add comments, please log in or register
Toast
226
Toast  

<edited as irrelevant - seemed to be a glitch with Build 600. Moving to Build 610 resolved>

Ian Venner
2584
Ian Venner  

When a user changes an input parameter, prev_calculated == 0 so if the indicator uses a regular main loop it will recalculate and redraw the indicator.

Toast
226
Toast  

Kind of explains why I'd never had the problem before - I moved from Build 600 to Build 610 and magically all was well again.

Thanks!

To add comments, please log in or register