Hedging EA

 

Hi, i'm looking for a EA with this logic:

1) If the trader manually opens a buy trade, the EA have to set a pending sell order of the same size of the buy trade. The distance of the pending order is needed to be setted in external variables (let's call it HedgePendingDistance.)

2) If the opened trade is closed in profit, pending sell order has to be cancelled.

3) If the buy trade goes bad and the price triggers the pending sell order, we have an hedging. If the trader wants to go long again and he closes the sell trade another pending sell order has to be setted in the price level where the traders closes previous sell order + HedgePendingDistance.

I just want ot use hedging instead of stop loss.

An example:

I open a buy trade and the EA sets a pending sell order 30 pips far my opened trade. The price goes down for 30 pips. Sell order triggered. Price goes down another 50 pips and starts to reverse. I want to go long and i close the sell order. EA has to sets a pending sell order on the level where i did close the sell trade + 30 pips.

There is something similar available here in tsd?

Thanks

Reason: