Could you please code one for this strategy
FX Hedging Strategy
For Metatrader Platform: Broker which allows “Hedging” in same currency pair
For example
Forex | currency trading | forex trading | forex broker in Australia
Variables: TP = Take Profit, SL = Stop Loss, TS = Trailing Stop
Entry requirements: None ( may be revised down the track on measure of support and resistance or volatility
Special conditions * see middle case scenario
Idea: Open both long and short position in a pair
Set: ( as example) on both positions
TP = 100
SL = 50
TS = 20
Best cast scenario: (ignore spread)
Long moves up by 100 pips
Short side is closed at -50 loss
Long side takes profit @100 = =100
Overall = +50
Worst cast scenario: (ignore spread)
Long moves up by 50 pips and then moves down by 20
Long side : TS triggered on Long side Long side closes at +30
Short Side stopped = -50
Overall = - 20
Middle case scenario: (ignore spread)
Long moves up by 20 pips and then moves down by 20 pips
Long side : TS triggered on Long side Long side closes at 0
* AT the same time EA Must close Short side at 0
Overall = 0