Hi,
What I need is everytime an open order (BUY/SELL) position is executed corresponding pending order: BUY/SELL STOP follows.
Like for example:
1. Buy Order has just been executed via instant order or pending order. Script will run to have Sell Stop Order below the recent Buy open position.
Executed Buy open position AUD/USD : 0.7860 an EA will run to set up Sell Stop Order at 0.7800 (manageable via input parameter).
And vice versa
2. Sell Order has just been exceuted via instant order or pending order. Script will run to have Buy Stop Order above the recent Sell open position.
Sell open position AUD/USD : 0.7850 an EA will run to set up Buy Stop Order at 0.7890.