If you're distributing some products for MetaTrader 4/5 via the Market, you probably know that a special "welcome" stage of automatic product validation has been added recently by MetaQuotes on the
Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by developers in their technical indicators and trading robots. An also shows how to self-test a product before sending it to the Market.
在发布我的 EA 时,我遇到了一个错误。
解决 MQL5 Market
中产品提交过程中出现的自动验证问题
Salut la communauté.Moi je reçois constamment ce message d'erreur:
test on EURUSD,H1 (netting) 2022.02.01 00:00:59 failed modify order #2 buy stop 0.2 at 1.12483 sl: 1.12453 tp: 0.00000 -> 1.12483, sl: 1.12453 tp: 0.00000 [No changes] 2022.02.01 00:00:59 failed modify order #3 sell stop 0.2 at 1.12221 sl: 1.12251 tp: 0.00000 -> 1.12221, sl: 1.12251 tp: 0.00000 [No changes] 2022.02.01 00:02:20 failed modify order #2 buy stop 0.2 at 1.12475 sl: 1.12445 tp: 0.00000 -> 1.12475, sl: 1.12445 tp: 0.00000 [无变化] 2022.02.01 00:02:20 修改订单 #3 卖出止损 0.2 at 1.12214 sl: 1.12244 tp: 0.00000 -> 1.12214, sl: 1.12244 tp: 0.00000 [No changes] 2022.02.01 00:03:00 failed modify order #2 buy stop 0.2 at 1.12483 sl: 1.12453 tp: 0.00000 -> 1.12483, sl: 1.12453 tp: 0.00000 [No changes] 2022.02.01 00:03:00 修改订单 #3 卖出止损 0.2 于 1.12222 sl: 1.12252 tp: 0.00000 -> 1.12222, sl: 1.12252 tp: 0.00000 [无变化] 2022.02.01 00:04:00 修改订单 #3 卖出止损 0.2 于 1.12222 sl: 1.12252 tp: 0.00000 -> 1.12222, sl: 1.12252 tp: 0.00000 [无变化12222 sl: 1.12252 tp: 0.00000 -> 1.12222, sl: 1.12252 tp: 0.00000 [无变化] 2022.02.01 00:04:20 修改订单 #2 买入止损 0.2 at 1.12487 sl: 1.12457 tp: 0.00000 -> 1.12487, sl: 1.12457 tp: 0.00000 [No changes] 2022.02.01 00:04:20 failed modify order #3 sell stop 0.2 at 1.12222 sl: 1.12252 tp: 0.00000 -> 1.12222, sl: 1.12252 tp: 0.00000 [No changes] 2022.02.01 00:07:59 修改订单 #2 买入止损 0.2 于 1.12484 sl: 1.12454 tp: 0.00000 -> 1.12484, sl: 1.12454 tp: 0.00000 [无变化] 2022.02.01 00:07:59 修改订单 #3 卖出止损 0.2 于 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:09:00 修改订单 #3 卖出止损 0.2 at 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:09:20 failed modify order #2 buy stop 0.2 at 1.12446 sl: 1.12416 tp: 0.00000 -> 1.12446, sl: 1.12416 tp: 0.00000 [No changes] 2022.02.01 00:09:20 failed modify order #3 sell stop 0.2 at 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:10:00 failed modify order #3 sell stop 0.2 at 1.12233 sl: 1.12263 tp: 0.00000 -> 1.12233, sl: 1.12263 tp: 0.00000 [No changes] 2022.02.01 00:11:20 修改订单 #2 买入止损 0.2 at 1.12453 sl: 1.12423 tp: 0.00000 -> 1.12453, sl: 1.12423 tp: 0.00000 [无变化] 2022.02.01 00:11:20 修改订单 #3 卖出止损 0.2 at 1.12223 sl: 1.12253 tp: 0.00000 -> 1.12223, sl: 1.12253 tp: 0.00000 [无变化] 2022.02.01 00:12:20 修改订单 #2 买入止损 0.2 at 1.12461 sl: 1.12431 tp: 0.00000 -> 1.12461, sl: 1.12431 tp: 0.00000 [无变化] 2022.02.01 00:12:20 修改订单 #3 卖出止损 0.2 at 1.12231 sl: 1.12261 tp: 0.00000 -> 1.12231, sl: 1.12261 tp: 0.00000 [无变化] 2022.02.01 00:12:59 修改订单 #2 买入止损 0.2 at 1.12453 sl: 1.12423 tp: 0.00000 -> 1.12453, sl: 1.12423 tp: 0.00000 [No changes] 2022.02.01 00:12:59 failed modify order #3 sell stop 0.2 at 1.12223 sl: 1.12253 tp: 0.00000 -> 1.12223, sl: 1.12253 tp: 0.00000 [No changes]strategy tester report 2 total trades
谁能帮助我?
需要帮助,请 😥😥😥😥
由于您的账户是净额结算,您的 EA 无法更改 sl。它只能修改对冲账户 上的交易。
如果您是 ea 的作者,那么您需要发布您的代码,以获得帮助或修复建议。我认为,在净额对冲账户上,您必须按订单打开的顺序修改订单。这些交易可能也必须只有一个 sl。可能有误,但可以提供一些建议。
编辑:您不能更改或修改挂单。您必须删除订单,然后创建新订单。
新的验证错误:)
建议这些可能是非关键性错误,例如,EA 在未解决的情况下仍可发布,而其他关键性错误则需要程序员 修复。对于非关键的验证错误,也应该启用发布按钮,并提供一些信息,让程序员知道验证过程中出现了错误,但这不是关键错误。
请修正您的代码,使其正确考虑交易符号的合约规格。
本主题开头提到的文章 专门指导您进行许多必要的检查来实现这一目标。
请阅读并应用到您的代码中。
。