READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Metatrader 5 strategies try to place TP and SL at incorrect place

2 replies

David

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

Visit profile

2 years ago #287210

Hello, I have a problem when my Sqx strategies built for Metatrader 5, try to put the orders in the Metatrader 5 platform. Metatrader 5 doesn´t allow to put the orders, and the backtest returns the following error:

 

2024.08.25 20:49:25.269 2024.01.05 17:00:00 —VERBOSE— 2024.01.05 17:00 Based on its logic, the strategy tried to place PT at incorrect price. Open price: 2050.95000000, min. price allowed: 2050.95000000, price used: 2046.29000000 (this is NOT an error)

2024.08.25 20:50:22.044 2024.01.29 19:00:00 —VERBOSE— 2024.01.29 19:00 Based on its logic, the strategy tried to place stop/limit order at incorrect price. Market price: 2027.17000000, min. price allowed: 2027.17000000, stop/limit order price: 2026.90000000

 

This same strategies work fine in Metatrader 4 after retest with Metatrader 4 engine.

Does anyone else have this issue?.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

2 years ago #287339

We would need to sqx strategy files to check it. Woud you share with our support? You can send to [email protected]. Let us know which SQX build and MT broker you use

0

Raulsq417

Subscriber, bbp_participant, 15 replies.

Visit profile

2 years ago #287474

A mi me paso lo  mismo.

Me daba este error en un broker, pero luego en otro no me lo daba.

NO ESTOY SEGURO, pero quizas pueda deberse a que la entrada esta demasiado pegada al precio actual.

Hay brokers que te exigen un espacio. Prueba a alejar mas la entrada.

 

Un  saludo.

0

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