the first kink, the beginning of the test, the indicator that has an error, builds a straight line when I throw it on the chart after the start of the test
Can you tell me how to put a "selection"of a graphical tool on the button in the Expert Advisor, so that by clicking on the button the tool icon would appear under the cursor and it would be possible to stretch it?
And it should already have the specified properties
the first kink, the beginning of the test, the indicator that has an error, builds a straight line when I throw it on the chart after the start of the test
we broke something)
Right, it's a redrawing indicator that re-calculates the entire history for a specified number of bars on every tick. Very bad solution. Then you have to do it this way:
Right, because it's a redrawing indicator that recalculates all the history for a specified number of bars at every tick. This is a very bad solution. Then you have to do it this way:
Unpleasant, of course, but it works.
Thank you. I've spent so much time with you and it still draws 20(!) bars, maybe even more.
Shall we create a petition?
Have a lawbanning the distribution of indicators that re-draw more than three bars!
To be considered by the Parliament, we need to collect a total of 100k signatures in a year.
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.
There are 3 such cycles. Replaced them, the terminal froze.
I counted four:
Nothing hangs. There shouldn't be any overruns of the arrays. Except that the value on the zero bar is not calculated correctly in my opinion.
I counted four:
Nothing hangs. There shouldn't be any overruns outside the arrays. Except I think the value on the zero bar is not calculated correctly.
Thanks, it's ok. I do not need it on the zero bar. I want to get it from the first bar but the positions are opened chaotically
Why?
In the tester, on the visualization is this
the first kink, the beginning of the test, the indicator that has an error, builds a straight line when I throw it on the chart after the start of the test
we broke something)
Can you tell me how to put a "selection"of a graphical tool on the button in the Expert Advisor, so that by clicking on the button the tool icon would appear under the cursor and it would be possible to stretch it?
And it should already have the specified properties
In the tester, on the visualization is this
the first kink, the beginning of the test, the indicator that has an error, builds a straight line when I throw it on the chart after the start of the test
we broke something)
Right, it's a redrawing indicator that re-calculates the entire history for a specified number of bars on every tick. Very bad solution. Then you have to do it this way:
Unpleasant, of course, but it works.
why doesn't this construct work in variable declaration?
Because K is a variable. Its value at the time of compilation is unknown. To make it work, we have to make K a constant:
Right, because it's a redrawing indicator that recalculates all the history for a specified number of bars at every tick. This is a very bad solution. Then you have to do it this way:
Unpleasant, of course, but it works.
Thank you. I've spent so much time with you and it still draws 20(!) bars, maybe even more.
Shall we create a petition?
Have a lawbanning the distribution of indicators that re-draw more than three bars!
To be considered by the Parliament, we need to collect a total of 100k signatures in a year.
Thank you. All the time we've wasted and he's drawing 20(!) bars, maybe more, I didn't look any further.
Set a smaller value of cb, there will be less bars that will be re-drawn.
Shall we create a petition?
Have a lawbanning the distribution of indicators that re-draw more than three bars!
It will take only 100 000 signatures in a year to be considered by the Assembly.
)))
Can you tell me how to exclude/add a specific date to the EA?
For example, not to trade March 2, 2018. Tried different options, got confused with the dates.