Repainting indicators - page 29

 
mladen:
That one is easy to make non repainting. Here is the non-repainting version

Thanks, it is OK now

 

This repaint 8 bars back

 
tampa:
This repaint 8 bars back

That one can not be made non-repainting

 
mladen:
That one can not be made non-repainting

I see. Thanks

 

Does not repaint but shows the cross at a wrong bar

Files:
 
tampa:
Does not repaint but shows the cross at a wrong bar

You can use a simple ma cross indicator instead of that one (here is one : https://www.mql5.com/en/forum/173235/page60 that works OK)

 

It is saying "Cycle identifier" in the code - so it repaints

Files:
 

FTS alert indicator - repaints

Files:
fts.png  52 kb
fts_alert.mq4  8 kb
 
tampa:
FTS alert indicator - repaints

Mladen, whenever you have time can you explain me how this works as far as I can see its uses 3 Smoothed Moving Averages (3,2,1).

Thank you in advance.

 
altoronto:
Mladen, whenever you have time can you explain me how this works as far as I can see its uses 3 Smoothed Moving Averages (3,2,1). Thank you in advance.

And it uses a "hidden" average too (when it calculates the HL values)

The problem with that indicator is that it uses the variables that are visible on a global scope in a wrong way (some other indicators have same error like that : when they assume that it is always the first tick of the calculation) That error would require a total indicator rewrite before being able to see what is the exact logic

Reason: