Help with coding...

 

I am a new person to EA and have been playing around with back testing an EA i found.  I have got it to the position now where i want to REVERSE the buy and sell instructions in the EA -  so where currently it is set up to buy then i want to change that to sell short and where it is set up to sell short currently i want to change it to buy.  I want to reverse the EA model .  So.... is someone able to help me please if i send the code to them as i do not know how to do it. 

 

Thanks   

 

Hi


Why don't you use the same code for reversing the trade from buy to sell or vice versa.

Your EA then closes the first position and with the second trade opening a new position in the opposite direction.


Greetings.

 

For understand, you have EA with different code for Buy and Sell? If not, what you want to change. Do you have source code?

Reason: