Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 has structures?
Vantho Sokphal
21
Vantho Sokphal 2016.09.08 13:06 

I am currently working on EA in following:

 if the last closed order is a loss position, and then the next order will be a reverse position.

Ex: if the last closed order is a Sell position and it hit the SL or Close by Ea, then the next position will be a Buy Position only even it match other sell trading condition. So there wont be any sell position until buy position condition is formed.

Keith Watford
Moderator
8016
Keith Watford 2016.09.09 06:20  
Sokphal:

I am currently working on EA in following:

 if the last closed order is a loss position, and then the next order will be a reverse position.

Ex: if the last closed order is a Sell position and it hit the SL or Close by Ea, then the next position will be a Buy Position only even it match other sell trading condition. So there wont be any sell position until buy position condition is formed.

 

Show your code that you have and somebody may be able to help you
whroeder1
13653
whroeder1 2016.09.09 12:19  
Sokphal: I am currently working on EA
No question asked. No response needed.
/
To add comments, please log in or register