Shouldn't the second index be multiplied by the maximum number of instances?
double workLag[][4 * _instances];
Tzuman
You can do it that way too, but no need in this case
Only one instance of Laguerre filter is used in this case and no need to use any maximal number of instances (in this indicator it will always be just 1 instance of Laguerre filter that will be calculated)
What is important is that Laguerre filter needs 4 arrays/buffers for calculation, and that is done with that function
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello mladen,
Does this indicator repaint after the bar has closed? And how do I set up this option in the properties please?
Thank youmusclext
No. That Laguerre RSI does not repaint. The TMA used is the regular non-recalculating TMA not the centered TMA
Any way to improve laguerre rsi?
Any way to improve laguerre rsi?
They tried smoothing it but it only added lag
Any way to improve laguerre rsi?
Not much can be done
Any way to improve laguerre rsi?
Yes, substitute Laguerre with something different - stochastic and RSI is quite good.
Laguerre rsi variation
laguerre_rsi_variation.mq4
New version of Laguerre filter (with new mt4 possibilities) : laguerre_-_filter_2.mq4
New version of Laguerre filter (with new mt4 possibilities) : laguerre_-_filter_2.mq4
Hi MLaden,
I think there is a small potential problem:
double workLag[][4];
Shouldn't the second index be multiplied by the maximum number of instances?
double workLag[][4 * _instances];
Hi MLaden,
I think there is a small potential problem:
double workLag[][4];
Shouldn't the second index be multiplied by the maximum number of instances?
double workLag[][4 * _instances];Tzuman
You can do it that way too, but no need in this case
Only one instance of Laguerre filter is used in this case and no need to use any maximal number of instances (in this indicator it will always be just 1 instance of Laguerre filter that will be calculated)
What is important is that Laguerre filter needs 4 arrays/buffers for calculation, and that is done with that function