- The Expert Advisor starts trading with the opening of two multidirectional orders. After closing a profitable order, the EA opens two orders again, multiplying the volume for the open direction. If there are open orders, the ADVISER changes the TakeProfit in points.TakeProfit is dynamic and regulated depending on the number of open orders in the opposite direction.
- Additionally, the opening of order grids also has a dynamic step that varies depending on the number of open orders in the current direction.
MAIN SETTINGS – The section containing the main settings of the adviser’s strategy. Contains variables that determine when the recovery will begin and which orders will be processed.
- Size of the first order is a variable that determines the size of the first order.
- Orders Magic number is the main identifier of the Adviser’s orders. It is used primarily to identify orders.
- Comments of the EA’s orders – Comments on orders opened by the EA.
- Allow to open OP_BUY orders – A variable that allows you to choose whether to enable or disable the ability of the Expert Advisor to open BUY orders.
- Allow to open OP_SELL orders is a variable that allows you to choose whether to enable or disable the ability of the adviser to open SELL orders.
- Allow to open new orders after close – The ability to allow opening orders after closing the previous ones. At the end of trading, you can disable this function and then the adviser will not be able to open new orders after closing the previous ones.
- Show panel of advisor – The ability to display or hide the advisor panel.
[spoiler title=”Read More…”]
PROTECTION SETTINGS – A section containing various protective functions.
- Maximum slippage in points – The maximum allowable slippage in points for opening and closing orders.
- Maximum spread in points – The maximum allowable spread for opening orders. Measured in points.
- Maximum size of orders – The maximum volume for one order. Measured in lots.
- Maximum size number of orders – The maximum allowed number of orders of the same type.
GRIDS SETTINGS – A section containing the grid settings of the Expert Advisor.
- Multiplier for size of orders – Multiplier for orders. Each subsequent order opened by the Expert Advisor in the grid of orders will be larger than the previous one by this coefficient.
- Step for grids is a variable that regulates the step between orders, measured in points.
TAKE PROFIT SETTINGS – The section containing the TekeProfit settings.
- Size of Virtual TakeProfit (in Points) – The size of the deposit in points. It is calculated for the current group of orders from the breakeven price.
- Increase TPForEachOrder – The coefficient of increase in take profit for each subsequent order of the opposite direction.
Note! Increase TPForEachOrder – variable regulates TP by the number of orders in another direction. Since subsequent orders are opened at closing moments, dynamic TP is an important element of money management. TP of a group of orders is equal to TP in points the number of orders in the opposite direction * Increase TP for each order (Increase TPForEachOrder).
For example, TP is 100, and the increase for each order is 10. For the first purchase order, the TP will be 100, for the second 110, for the 3rd 120, and so on as the basket of OP_SELL orders increases.
[/spoiler]