Discussion of article "Using limit orders instead of Take Profit without changing the EA's original code" - page 7

 

Alison Rossete # Olá. Ao testar o EA com LimitTakeProfit, ele retorna a seguinte mensagem de erro: “Invalid expiration”. Tentei adicionar expiração junto com a estrutura de solicitação de negociação, mas sem sucesso. Alguém me ajude, por favor.

Machine translation used.

Hi Alison, are you testing on Forex or B3?


EDIT.1: Some related topics (B3):

How can I get the expiry date of an index? - General - MQL5 algorithmic trading forum

Problem with Pending Order ( error = 4756) - Expert Advisors and Automated Trading - MQL5 Algorithmic Trading Forum

Sending Order with BMF expiry date - Expert Advisors and Automated Trading - MQL5 Algorithmic Trading Forum

How to programme Pending Orders for the mini-dollar - General - MQL5 Algorithmic Trading Forum
 
Marcel Cardoso #:

Hello everyone!

I'm having a [Invalid expiration] problem, anyone knows how to fix it?

I have the same problem, did you manage to solve it?

 
@Alison Rossete #: Someone help me, please.

Automatic translation applied by the moderator

In this forum, please comment in Portuguese. Use the automatic translation tool or comment in one of the forums in another language.