Download MetaTrader 5

Repaint Code

To add comments, please log in or register
FXtrader86
655
FXtrader86  
I know theres a way to know by looking at the code if an indicator repaints. I can't remember but does anyone know that code section in the coding of how it looks like?
Alain Verleyen
Moderator
32022
Alain Verleyen  
Yes, between the start and the end of the code.
Rinor Memeti
2736
Rinor Memeti  
Alain Verleyen:
Yes, between the start and the end of the code.
Lol
mntiwana
3514
mntiwana  
Alain Verleyen:
Yes, between the start and the end of the code.
Good idea
David Raine
140
David Raine  
mntiwana:
Good idea

For starters, any indicator that uses current values in its calculation will repaint. Current means, zero bar. This is the simplest example.

To add comments, please log in or register