WheniCustom() is not initialized, or am I mistaken?
Write the following line into OnInit() of the indicator, called by iCustom(): Print(__FUNCTION__); and check it - it will be faster than waiting for an answer on the forum.
You have recursion. How long will the indicator call itself? You don't have to do it uncontrollably.
And in general - it is not clear why you need to call it from itself?
At start it shows everything correctly, with time additional unnecessary lines appear, I can't fix it. When I call settings and click OK it shows only correct lines again. Initialising is a simple solution)
Ghabo: When starting up it shows everything correctly, over time additional unnecessary lines appear, I can't fix this. Calling up settings and clicking OK only shows the correct lines again. Initialising is a simple solution)
Hiding the shoals - a simple solution?
What are the lines? Where do they come from? When are they drawn? What do they build with?
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.
Can anybody advise me on which forex platform for my phone to make money with?
As far as I can see, it's an android, so get an android terminal.
To make money - it does not depend on the platform, but on the trader's ability
Hello.
I want to call myself in the indicator, but I get error 'MetaTrader4_Internal_Message' - parameter passed as reference, variable expected
Hello.
I want to call myself in the indicator, but I get error 'MetaTrader4_Internal_Message' - parameter passed as reference, variable expected
Have you tried iCustom()?
Have you tried iCustom()?
Need to re-initialise the indicator.
iCustom() does not initialise it, or am I wrong?
Need to re-initialise the indicator.
WheniCustom() is not initialized, or am I mistaken?
Write the following line into OnInit() of the indicator, called by iCustom(): Print(__FUNCTION__); and check it - it will be faster than waiting for an answer on the forum.
Type the line: Print(__FUNCTION__); in the indicator called by iCustom() in OnInit() and check it - faster than waiting for an answer on the forum.
Yes it writes OnInit but then Stack overflow
Naturally :)
You have recursion. How long will the indicator call itself? You don't have to do it uncontrollably.
And in general - I do not understand why you need to call it from itself?
Stack overflow what is it?
Try pouring the contents of the barrel into the glass.
Naturally :)
You have recursion. How long will the indicator call itself? You don't have to do it uncontrollably.
And in general - it is not clear why you need to call it from itself?
When starting up it shows everything correctly, over time additional unnecessary lines appear, I can't fix this. Calling up settings and clicking OK only shows the correct lines again. Initialising is a simple solution)
Hiding the shoals - a simple solution?
What are the lines? Where do they come from? When are they drawn? What do they build with?