Download MetaTrader 5

Repaint indicator to non repaint

To add comments, please log in or register
Do you have Mac OS? Find out how to install MetaTrader on it!
ysrimal
8
ysrimal 2014.09.03 17:45 

Please tell me how to repaint indicator convert to non repaint .

Thank you. 

Rodrigo Malacarne
Moderator
9889
Rodrigo Malacarne 2014.09.03 18:22  
ysrimal:

Please tell me how to repaint indicator convert to non repaint .

Thank you. 

Hello ysrimal, there is no "magic rule" for that ... Some indicators cannot be modified, so it won't repaint anymore. So, it depends entirely on the internal logic of the indicator.

Regards,
Malacarne 

Ahmed Soliman
15713
Ahmed Soliman 2014.09.04 02:41  

Look inside the main loop.

The most of the repainting come from bad loops that recalculate the buffers or using the current bar (bar 0) or even bar -1 (which is never exist).

To add comments, please log in or register