Работа завершена
Техническое задание
New candle EA.
The Ea is based open of new candle.
If the a new candle open, the EA will place a new order depending on the close of the previous candle. For example if the last candle close below the opening price then the EA place sell order at the open of new candle.
If the price move above the opening price of the current candle by a certain pips the EA should start placing buy orders
If the last candle close above the opening price then the EA place buy order at the open of new candle.
If the price move below the opening price of the current candle by a certain pips the EA should start placing sell orders.
The EA should continue opening buy orders at certain pip numbers with add lots if the candle kept going up from the opening price.
The EA should continue opening sell orders at certain pip numbers with add lots if the candle kept going down from the opening price.
Close orders
The EA should close all open orders if profiting open orders are more than losing open orders and the current
The EA should closing all buy profiting orders if the current price is equal to the low of the last closed candle or the current candle closes below the open price. Also if the profiting buy orders are more than all the open losing (both buy and sell) orders then the EA should close all the open orders if the current candle closes below the opening price.
The EA should closing all sell profiting orders if the current price is equal to the high of the last closed candle or the current candle closes above the open price. Also if the profiting sell orders are more than all the open losing (both buy and sell) orders then the EA should close all the open orders if the current candle closes above the opening price.
Features
TP
SL
Close all profiting at the any tp or individual tp
Daily or Weekly profit target. (The number tp will take daily or weekly)
Drawdown limit. (This is maximum drawdown % for the account, and then EA will close all open orders)
Expiring period. (The user can set the expiring date of the date)
Add lot/Multiply lot (chose to either multiply or
Starting lots.
Increase lot.
Current balance Lot %: ( if selected, the EA should set a dynamic lot on certain % of current balance, for example if the current/new balance is $1000 the EA chose 2% of $1000 =2, so the new trading lot will be 2 lots)
Close all daily.
Initial deposit profit % (this means if the account has made profit of certain % of the initial deposit the EA should close all the open orders)