Need help with trade managegement robot.
Hi
I need to write ea which will put awaitng order and do the following when it triggers:
1. Variables ("buy"/"sell",position1_lots,position2_lots,position3_lot s,entry_price,stoploss,TP1,TP2)
2.Open (buy/sell) trade with 3 positions at (entry_price) with (stoploss).
3.Close position_1 at (TP1) and move stop loss to breakeven for 2 left positions.
4.Close position_2 at (TP2) & let the last one ride or hit breakeven.
I've programmed some indicators but i really dont have much idea how to write this robot.
|