Download MetaTrader 5

Need help on EA based on HistorysOrder of Last Close Order

To add comments, please log in or register
Vantho Sokphal
21
Vantho 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.

Keith Watford
Moderator
10064
Keith Watford  
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
15117
whroeder1  
Sokphal: I am currently working on EA
No question asked. No response needed.
To add comments, please log in or register