Reply

Stop/limit minimum distance problems with 4307 and 4756 Error

2 replies

Jeffrey Travers

Subscriber, bbp_participant, customer, community, sq-ultimate, 3 replies.

Visit profile

6 months ago #283655

Built a multi-strategy EA for EURUSD. Used Duskacopy data that matches my brokers timezone. The strategy Back tests wonderfully in Metatrader, but now when placed on my Oanda Demo to test I get this error over and over and it wont take trades. I tried to adjust the lot size but to no avail. EA symbol matches the market watch symbol. Not sure where to go from here, i have tested a handful of EA’s and not had this problem so far.

This pops up in the expert tab

2023.09.25 08:15:00.651(EURUSD,M15) —VERBOSE— 2023.09.25 18:15 Based on its logic, the strategy tried to place stop/limit order at incorrect price. Min Distance: 0.00000000 Market price: 1.05844000, max. price allowed: 1.05844000, stop/limit order price: 1.05841000 (this is NOT an error)

and meta trader gives error codes 4756 and 4703.

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 months ago #283738

Have you installed SQ custom indicators? If so do you have auto-trading enabled in MT?

https://strategyquant.com/doc/strategyquant/installation/#metatrader

0

Jeffrey Travers

Subscriber, bbp_participant, customer, community, sq-ultimate, 3 replies.

Visit profile

6 months ago #283771

I have and it is taking some trades, its just it gives that error for others. So it will place some stop orders, but their are alot that give that error instead

0

Viewing 2 replies - 1 through 2 (of 2 total)