İş tamamlandı
Şartname
Requirements
The trading strategy is based on hedging EURGBP positions and using Trailing Profit/Stop Loss.
Rules for opening and closing positions:
- trade execution at fixed entry levels
- orders at fixed levels (see example 1)
- as Trailing Profit/Stop Loss is hit, automated re-order at same (=old) execution level (see example 2)
- Trailing Profit/Stop Loss: as price moves in favor of a trade, SL should move with it at 7 pips distance (see example 3)
- SL set at 70 pips loss from buy price (see example 2)
- trade size is 0.01 LOT
- leverage 1:100
Example 1 (orders):
- pre-programmed buy orders starting from 0.020 up to 9.980 (one buy order at 20 pips difference)
- pre-programmed sell orders starting from 0.010 up to 9.990 (one sell order at 20 pips difference)
Example 2 (automated re-orders):
- buy in at 0.7660 → trade hits Trailing Profit/Stop Loss at 0.7670 → another buy order is automatically being created at 0.7660 entry
- sell in at 0.7670 → trade hits Stop Loss at 7740 (70 pips difference) → another sell order ist automatically being created at 0.7670
Example 3 (setting of Trailing Profit/Stop Loss):
- buy in at 0.7680 → trade moves at 0.7699 → trade then moves to 0.7692 and therefore hits Trailing Profit/Stop Loss → sell is being executed at 0.7692 as trade hits 7 pips difference to high price (0.7699-0.7692)
- sell in at 0.7690 → trade moves to 0.7663 → trade then moves to 0.7670 and therefore hits Trailing Profit/Stop Loss → sell is being executed at 0.7670 as trade hits 7 pips difference to high price (0.7663-0.7670)
- sell in at 0.7650 → trade moves to 0.7640 → trade then moves to 0.7643 and therefore hits trailing stop loss → sell is being executed at 0.7643 as trade hits 7 pips difference to "in" price (0.7643-0.7650)
Code should be programmed to be easily adapted (in future customizations) to use with multiple currency pairs.