And what I also thought, according to your logic the tool should calculate RSI from limit and to 0 bar, but does it make a difference which side should calculate RSI from the end or from the beginning? It should calculate RSI for each bar in a given range and put the value into a buffer (I mean in an array), and then just compare three consecutive values in an array with each other. Or is that not the case?
Yes, in my haste, I was wrong.
I hadn't noticed that you have 2 loops following each other.
Usually one cycle is used in an indicator, consequently, it is used for calculation and comparison. And if everything is realized in one cycle, it is of course, that it does not matter if the array element[i+1] is calculated or not yet :)
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.
Question why are text labels not displayed in the indicator window?
https://www.mql5.com/ru/forum/142582/page325 06.05.2013 17:01.
And what I also thought, according to your logic the tool should calculate RSI from limit and to 0 bar, but does it make a difference which side should calculate RSI from the end or from the beginning? It should calculate RSI for each bar in a given range and put the value into a buffer (I mean in an array), and then just compare three consecutive values in an array with each other. Or is that not the case?
Yes, in my haste, I was wrong.
I hadn't noticed that you have 2 loops following each other.
Usually one cycle is used in an indicator, consequently, it is used for calculation and comparison. And if everything is realized in one cycle, it is of course, that it does not matter if the array element[i+1] is calculated or not yet :)
Explain: the meaning of "in the cycle you refer to the uncalculated values of the indicator"
I rushed the advice, see previous post.
Guys, tell me what's wrong with the procedure please! First post on this page.
ObjectSetText(name," Vl" , 10, "Times New Roman", c);
Can you tell me why the indicator does not work in the tester?
Can you tell me why the indicator does not work in the tester?
Why should it work in the tester?
ObjectSetText(name," Vl" , 10, "Times New Roman", c);
The quotes didn't help.