
Are you using the new option to “Place stop and limit orders only if well-formed” (Evaluation menu, Order Placing Options)? That’s designed specifically to prevent invalid stop and limit orders. Another possibility is running multiple copies of the same strategy, which would therefore be using the same “magic number”, which is defined in the Builder-generated strategy by the STRATORDERID variable. The STRATORDERID should be different for each strategy being run, which it will be if each strategy is different because the STRATORDERID is generated randomly for each strategy.
I also noticed you’re getting a “common error”. From Google, a “MT4 common error represents a connection problem in your Metatrader platform. To overcome this problem, you need to check the internet connection, the antivirus program, or your login details. However, a “common error” problem can sometimes happen if your broker has technical issues and you can not connect to your broker’s account.”
Mike Bryant
Adaptrade Software
From: adaptrad...@googlegroups.com <adaptrad...@googlegroups.com> On Behalf Of ?????????? ???????? (AiSales)
Sent: Friday, December 16, 2022 7:27 AM
Subject: MT4 exit target order place error
Hello.
I have build trade robots, it working ok, but every day I have errors as in screenshot.
What I can do for fix it?


As I said below, if the strategies are different, the STRATORDERID’s will all be different. It’s only an issue if you run the same strategy on different symbols at the same time.
I recommend using the most recent version, 4.3.0, which includes the option I mentioned. Otherwise, it’s possible in some cases to get stop and limit orders that MT4 might reject.
Mike Bryant
Adaptrade Software
From: adaptrad...@googlegroups.com <adaptrad...@googlegroups.com> On Behalf Of ?????????? ???????? (AiSales)
Sent: Friday, December 16, 2022 12:15 PM
Subject: Re: MT4 exit target order place error
Mike, thank you for you fast response.
I was use 4.1 version for build this strategies, they dont have “Place stop and limit orders only if well-formed” option.
Now I check all runned experts (8) and all use different STRATORDERID

суббота, 17 декабря 2022 г. в 00:15:09 UTC+5, MikeBryant:
Are you using the new option to “Place stop and limit orders only if well-formed” (Evaluation menu, Order Placing Options)? That’s designed specifically to prevent invalid stop and limit orders. Another possibility is running multiple copies of the same strategy, which would therefore be using the same “magic number”, which is defined in the Builder-generated strategy by the STRATORDERID variable. The STRATORDERID should be different for each strategy being run, which it will be if each strategy is different because the STRATORDERID is generated randomly for each strategy.
I also noticed you’re getting a “common error”. From Google, a “MT4 common error represents a connection problem in your Metatrader platform. To overcome this problem, you need to check the internet connection, the antivirus program, or your login details. However, a “common error” problem can sometimes happen if your broker has technical issues and you can not connect to your broker’s account.”
Mike Bryant
Adaptrade Software
From: adaptrad...@googlegroups.com <adaptrad...@googlegroups.com> On Behalf Of ?????????? ???????? (AiSales)
Sent: Friday, December 16, 2022 7:27 AM
Subject: MT4 exit target order place error
Hello.
I have build trade robots, it working ok, but every day I have errors as in screenshot.
What I can do for fix it?
--
You received this message because you are subscribed to the Google Groups "Adaptrade Builder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adaptrade-buil...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adaptrade-builder/d1c03834-10ee-4fee-99e6-0ca76e646c7cn%40googlegroups.com.
Yes, if the problem is that the stop entry orders were not “well-formed”, then that should solve it. Otherwise, it must be something else.
Mike Bryant
Adaptrade Software
From: adaptrad...@googlegroups.com <adaptrad...@googlegroups.com> On Behalf Of ?????????? ???????? (AiSales)
Sent: Saturday, December 17, 2022 1:56 AM
Subject: Re: MT4 exit target order place error
Okay, thx Mike.
Now, I open my old .gpstrat file with strategies in new version, checked checkbox "if well formed", evaluate it all, and save strategies again to mt4 file and run it.
I think right?
суббота, 17 декабря 2022 г. в 03:13:57 UTC+5, MikeBryant:
As I said below, if the strategies are different, the STRATORDERID’s will all be different. It’s only an issue if you run the same strategy on different symbols at the same time.
I recommend using the most recent version, 4.3.0, which includes the option I mentioned. Otherwise, it’s possible in some cases to get stop and limit orders that MT4 might reject.
Mike Bryant
Adaptrade Software
From: adaptrad...@googlegroups.com <adaptrad...@googlegroups.com> On Behalf Of ?????????? ???????? (AiSales)
Sent: Friday, December 16, 2022 12:15 PM
Subject: Re: MT4 exit target order place errorMike, thank you for you fast response.
I was use 4.1 version for build this strategies, they dont have “Place stop and limit orders only if well-formed” option.
Now I check all runned experts (8) and all use different STRATORDERID
суббота, 17 декабря 2022 г. в 00:15:09 UTC+5, MikeBryant:
--
You received this message because you are subscribed to the Google Groups "Adaptrade Builder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adaptrade-buil...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adaptrade-builder/000f01d91182%2461816170%2424842450%24%40BreakoutFutures.com.
If you really want to find the source of the problem, you’ll probably have to compare the order price with the market price for any error and see if anything stands out. I’d also check the position size to make sure it’s valid. If you can’t find the problem and it’s only this one strategy, maybe just move on to a different strategy. If you’re getting the same problem with all your strategies, then you should check your settings in Builder. In particular, I’d check the parameter ranges to make sure your stop sizes are not too tight and your target sizes are not too close to the entries.
Mike Bryant
Adaptrade Software