Changing an Expert Advisor exactly the do the opposite

 
Is it possible to change an EA so that it trades the same number of positions and chooses the same entries, but swaps the direction of the positions?
 
sunshineh:
Is it possible to change an EA so that it trades the same number of positions and chooses the same entries, but swaps the direction of the positions?

Do you have EA open code?

 
Ofc it can be done
 
sunshineh but swaps the direction of the positions?

Always buying is a loosing strategy. Always selling is also a loosing strategy. You pay the spread either way. Don't bother.