position at wrong price (metatrader 5)

 
Hello everyone, I am testing a strategy on a demo account and something strange happened. The expert advisor executed a position at a price that did not exist at that time. How can this be possible? attached image. Thank you
 
Kaio her Hello everyone, I am testing a strategy on a demo account and something strange happened. The expert advisor executed a position at a price that did not exist at that time. How can this be possible? attached image. Thank you

Trading forum, automated trading systems and trading strategy testing

All about MetaTrader crashes and errors (problems and solutions)

Vinicius Pereira De Oliveira , 2024.01.04 02:11

Are you considering Spread ? This symbol [ . . . ] can reach gigantic spreads [some brokers/account types even more than others], especially at these times... Remember that the bars on the chart are drawn by the BID price, but sales operations are closed at the ASK price. Also see the price at which positions were closed in the transaction history...