Carlache24: I Know that Script , I had same problem, what you have to do is increase the Slippage in the Include.mqh that your script should be calling and that's it!!
Luandre Ezra: Hi, I'm trying to initialize my script but it is failed with an error message that it was uninitialized with a reason 0. I looked into the documentation and find the description doesn't tell me anything about the problem. Someone know how to fix this?
Maybe you can assist me. I am getting the same frustrating uninit reason 0. I’ve tried moving my slippage up ten pips, didn’t work. I read the manual and traced it back to the OnDeinit() function being called reason being:
before reinitialization due to the change of a symbol or chart period, to which the mql4 program is attached;
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 Know that Script , I had same problem, what you have to do is increase the Slippage in the Include.mqh that your script should be calling and that's it!!
how to do this?
Hi, I'm trying to initialize my script but it is failed with an error message that it was uninitialized with a reason 0. I looked into the documentation and find the description doesn't tell me anything about the problem. Someone know how to fix this?
Did you figure out the problem in your script?
Answers already given in this topic.
Answers already given in this topic.
Maybe you can assist me. I am getting the same frustrating uninit reason 0. I’ve tried moving my slippage up ten pips, didn’t work. I read the manual and traced it back to the OnDeinit() function being called reason being:
before reinitialization due to the change of a symbol or chart period, to which the mql4 program is attached;
before reinitialization due to the change of input parameters;
before unloading the mql4 program.
However I can not seem to locate the mistake in either situation.
It loaded successfully
It ran the global inputs successfully
It initialized successfully
It sent my price alert successfully
It sent my entry price, stop loss, and take profit price successfully
then it called the OnDeinit() function
Followed by a uninit reason 0
Follwed by a removal.
Attached it the script along with the function include file.
Thank You
However I can not seem to locate the mistake in either situation.
It loaded successfully
It ran the global inputs successfully
It initialized successfully
It sent my price alert successfully
It sent my entry price, stop loss, and take profit price successfully
then it called the OnDeinit() function
Followed by a uninit reason 0
Follwed by a removal.
This has already been explained!
It is a script, it is doing what it is supposed to do.
Why do you expect something different?
Do not double post!!!
I have deleted your other topic.
This has already been explained!
It is a script, it is doing what it is supposed to do.
Why do you expect something different?