The original of this indicator was posted here : ATR adaptive Laguerre RSI. But, since the metatrader 5 platform is evolving and changing a lot, and since we had enough time to learn some nuances, some optimization stuff can be done
When we used metatrader 4 and some previous builds of metatrader 5, some basic rules of how to write the code that would run at optimal speed were the same for both trading platforms, like : no unnecessary looping, using built in functions, ... That is not like that any more. In a lot of cases, when using metatrader 5 one should avoid built in functions to get optimal speed of execution. The original of this indicator was using some such built in functions. This version is not using it any more : instead ATR is calculated internally.
ATR adaptive smoothed Laguerre RSI 2 (extended)ATR adaptive smoothed Laguerre RSI (no built in functions)
A version of ATR adaptive smoothed Laguerre RSI that does not use any built in function