Работа завершена
Техническое задание
1. EA Buttons
· Buy button
· Sell button
· Close All button
2.
When a trading button is pressed
The EA will calculate the trade based on your money management selection form the settings, either by account balance or by account balance with 20 to 1 Leverage added. Two trades will be opened each using the selected account risk %, so there will be 2 open positions.
(Example: trade 1 is 2% risk, trade 2 is 4% risk = 2 open positions)
It will then set stop loss at the selected ATR for both trades.
It will set the take profit of trade 1 to the selected ATR.
When the take profit price is reached for trade 1, it will close trade 1 and then move the stop loss of trade 2 to break even.
3. Settings
Money Management: (Account Balance/ Balance with 20:1)
Trade #1 Risk % Value: Percent of Account to risk.
Trade #2 Risk % Value: Percent of Account to risk.
Maximum slippage allowed in PIPs.
Trade 1 Take Profit ATR multiplier.
Trade 1 Stop Loss ATR multiplier.
Trade 2 Stop Loss ATR multiplier.
Break Even PIPs above entry.
Magic Number.
Enable Trailing Stops: (True/False)
Trailing Stop Follows at ATR multiplier.
Enable Trailing Stop starting distance: (True/False)
Trailing stop start ATR multiplier.
ATR Period to use.
Candle for ATR: 0=Current, 1=Previous.
Enable Alerts on TP/SL: (True/False)
Popup Message Alert. (True/False)
Play Alert Sound. (True/False)
Push Notification Alert. (True/False)
Alert when Stop Loss is modified: (True/False)
Enable FIFO compliance work around: (True/False)
FIFO Lot Size difference.