EA-----Automatic Buy Stop on heigher high of the previous bar

 

I need a code for EA. EA should automatically open orders when launched.

The buy stop should be entered at the higher high of the previous candle.

The SL command should be able to be set to the close price of the current candle.

The same goes for Sell Stop, but vice versa.

 
Post your request as a job in the Freelance section please.