I forgot to check CountOrders()==0 and it opens order on every new candle, but the problem is not that the owls do not see the indicator (I must have prescribed indicator parameters wrong in iCustom).
I see, I will look into the code later, time is a total ***)
Maksim Neimerik: Then why does an order open on every bar? It's only supposed to open on a signal...
I've found my mistake! I had written the condition wrong... I am sending you the right one, but I am sure there will be a lot of defects, I have not really checked it...
Maksim Neimerik: That's it, I've found the error! I've got the condition wrong... I'm sending you the correct one, but I'm sure there will be a lot of flaws, I haven't really checked it...
Maxim, we've dealt with one, there's another one, the essence is the same, only the indicator is different.
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.
I forgot to check CountOrders()==0 and it opens order on every new candle, but the problem is not that the owls do not see the indicator (I must have prescribed indicator parameters wrong in iCustom).
I see, I will look into the code later, time is a total ***)
Hi! Here's a code sketch, but for some reason I can't hook up an inductor via #resource... If you have time look what I'm doing wrong.
Not required in the resource, it takes longer to test, but the output is the same
Not necessarily a resource, it takes longer to test, but the output is the same
I know, I just wanted to try it through a resource for the first time, it's just so... for practice...
I know, I just wanted to try it through a resource for the first time, it's just so... for practice...
Well the indicator in your code is in the resource, it's connected and it works
So the indicator is in your code in the resource, it's connected and it works
Then why does an order open on every bar? It's only supposed to open on a signal...
Yeah!!!!!
Somebody's looking for a black arap with a white beard.
Yeah!!!!!
Somebody's looking for a black arap with a white beard.
I guess)
What do you mean, the words aren't quite Russian=)
That's it, I've found the error! I've got the condition wrong... I'm sending you the correct one, but I'm sure there will be a lot of flaws, I haven't really checked it...
Maxim, we've dealt with one, there's another one, the essence is the same, only the indicator is different.
Thank you!
I guess)
What do you mean, the words are not quite Russian=)
It's a joke Arabs with white beards must be wise men, not all of them.