agritav:
How to convert this code into non repainting signals.
Usually, indicators redraw in order to hide its "UGLY pasts" - i.e. wrong signals.
For older bars that are in the chart's history, they resort to "looking ahead" (a.k.a cheating) in order to minimize such "UGLINESS".
So in general, it doesn't make sense to remove the redrawing of such indicators - it'll make them unbearably UGLY...
Just to give you an idea, this is what you get from this indicator, after I removed it's redraw (yellow line marks the difference between bars with redraw, and bars without redraw - to the right):
I think - those versions are not re-painted -
----------------
- Super trend - simple - indicator for MetaTrader 5
- Super smoother levels - indicator for MetaTrader 5
- RSI of super trend - indicator for MetaTrader 5
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register