In RSI_Color there are extra lines in the writing:
Since the colours of the ascending and descending lines of the chart are described in the input colour block, then, as it says in the reference book: "It is impossible to change the value of a variable with the input modifier inside an mql5 program, the variables are read-only. the values of input variables can only be changed by the user from the properties window of the program."
I flashed the colour setting function into the comments // PlotIndexSetInteger(1,PLOT_LINE_COLOR,0,Down); // PlotIndexSetInteger(1,PLOT_LINE_COLOR,1,Up); The result really hasn't changed
Hi. The fact that the codes from the article, written back in the days when MT5 was in public beta, work at all, shows that the system of indicators in MT5 was at once coherent and carefully thought out.
But since then many things have changed, some dramatically. If you understand the general principles, more specific actual information is better to take from the help and recent articles.
Thanks for the clarification (although to be honest I didn't understand how the given code breaks the statement from the help), but I think the article has served its purpose long ago, so no corrections are planned
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.. I have read ... looked ...
In RSI_Color there are extra lines in the writing:
Since the colours of the ascending and descending lines of the chart are described in the input colour block, then, as it says in the reference book: "It is impossible to change the value of a variable with the input modifier inside an mql5 program, the variables are read-only. the values of input variables can only be changed by the user from the properties window of the program."
I flashed the colour setting function into the comments // PlotIndexSetInteger(1,PLOT_LINE_COLOR,0,Down); // PlotIndexSetInteger(1,PLOT_LINE_COLOR,1,Up); The result really hasn't changed
Hello.. I've been reading.
Hi. The fact that the codes from the article, written back in the days when MT5 was in public beta, work at all, shows that the system of indicators in MT5 was at once coherent and carefully thought out.
But since then many things have changed, some dramatically. If you understand the general principles, more specific actual information is better to take from the help and recent articles.
Thanks for the clarification (although to be honest I didn't understand how the given code breaks the statement from the help), but I think the article has served its purpose long ago, so no corrections are planned