Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Please don't apply if you have a lot of jobs you're working on, or are pressed for time.
The system will open up its first trade using one of the preset input options below. Once that trade is open it will either hit the take profit then the system will restart, or it will go negative a specified amount of pips causing the hedging to start. Once the hedge starts, it will continue to place buys and sell at the same prices that the previous orders opened at until it hits the profit target or stop loss.
So for example if the EA places a buy at 1.20000 and then a hedge sell at 1.15000, every new buy added to that sequence will be at 1.20000 and every new sell will be at 1.15000 until the take profit or stop loss is reached.
Inputs:
-
Magic number:
-
Starting Lot size:
-
Hedge Lot size addition or multiple:
-
Hedge lot size increase options:
-
Add and Stay (“If the Starting lot size” is 1 and “Hedge Lot size addition or multiple” is 1 the sequence will be: 1,2,2,2,2,2,2…)
-
Add and Keep Adding ( “If the Starting lot size” is 1 and “Hedge Lot size addition or multiple” is 1 the sequence will be: 1,2,3,4,5,6,7,8..)
-
Multiply (“If the Starting lot size” is 1 and “Hedge Lot size addition or multiple” is 2 the sequence will be:1, 2, 4, 8, 16, 32, 64….)
-
First order options:
-
Manual Trade ( start hedge sequence after my first manual trade is placed)
-
Place order in the same or opposite Direction of the previous candle
-
Place order using Moving Average Crossover
-
Place order using Bollinger band and moving average crossover
Place order in the same or opposite Direction of the previous candle Settings:
-
Direction of Previous candle: Same or Opposite
MA Crossover Criteria:
-
Moving average 1 settings: Default MA inputs
-
Moving average 2 settings: Default MA inputs
Bollinger Band(BB) / MA Crossover Settings
-
Buy when MA crosses above top Bollinger band
-
BB Default Settings
-
MA Default Settings
-
Sell when MA crosses below lower Bollinger band
-
BB Default Settings
-
MA Default Settings
-
RSI Filter: On/Off
-
If the RSI filter is On: Only place buys when RSI is lower then: X
Only place sells when RSI is Higher then: X
-
Start hedge in pips: (how many pips negative before the hedge starts)
-
Take Profit Per Pair:
-
Account Take Profit on all Pairs Together:
-
Start Trailing stop in $ per pair: ( if $100, once the floating profit reaches $100 start the trailing stop, then as it goes higher lock in profit based on the amount in the (Trailing step input below.”)
-
Trailing step in $ per pair: (If $10, then every $10 in floating profit it goes up, $10 is locked in, so once it hits $100, lock in 10, once $110, lock in $20 and so on.)
-
Stop loss Per Pair:
-
Account Stop loss on all Pairs Together:
-
Max Slippage:
-
Time Filter: On/Off (using local computer time zone)
-
Start Time:
-
Stop Time: (No new first trades after this time, if a sequence is in before this time continue until it hits the Take profit or Stop loss)
On screen buttons and data display:
-
We would like a on screen button to “close all open and pending trades for that pair” and “close all trades for all pairs”
-
We would also like a legend on the screen to display the profit and loss for each pair the EA is trading.