Last updated on September 11, 2020 by Tomas Vanek
The strategy tried to place stop/limit order at incorrect price
If you are running or backtesting strategie from StrategyQuant X in Metatrader 5, you might can see this info message in your logs:
020.08.26 00:00:01.102 Strategy 1.4.130 (MYMU20,H1) 2020.08.25 22:00 No pending orders of that type
2020.08.26 00:00:01.118 Strategy 1.4.130 (MYMU20,H1) —VERBOSE— 2020.08.25 22:00 Based on its logic, the strategy tried to place stop/limit order at incorrect price. Market price: 28220.00000000, min. price allowed: 28220.00000000, stop/limit order price: 27966.00000000
Is this an error? No. Here is explanation:
It means the entry conditions of the strategy were met and normally the strategy would open a new order. But in this case the calculated order price was out of the market and the order was skipped because of that.
Was this article helpful? The article was useful The article was not useful
Hi. Thanks…but please let us know how to solve this problem? Thanks…
As mentioned in the article, this is not a problem or error per se. Only information about why an order could not be placed
Hi. Thanks…but unfortunately this is the problem because the user cannot run the back test in metatrader or etc. Is not? please let us know how to solve this problem in order to implement the back test. Thanks…
Even if you see this “warning” the EA should trade normally. If there are no trade please send us an email with the strategy to support@strategy quant.com and we can check it
Please always send not only EA code but also the Strategyquant file (.sqx extension)
Hi, I have the same message. Based on the answers provided, I understand its not an error.
My question is this. Was the trade also skipped during strategy creation and backtests from SQ?
I am trying to figure out if my backtest results may differ from actual trading because of the skipped trades?
I guess, MonteCarlo would apply the same testing environment so no worries except for expectations on # of trades…
Yes, the trades are also skipped in SQX to match MetaTrader. In SQX you just won’t see the message you see in MT4