The AW Double Grids EA is an aggressive, totally automated grid advisor with an info buying and selling panel and straightforward setup. The technique consists of simultaneous two-way work, multiplying the quantity of 1 course. Constructed-in automated lot calculation, varied variations of accelerating the quantity of positions, and different features are carried out. Orders are opened upon reaching varied TakeProfit methods.
Purchase advisor “AW_Double_Grids_EA”:
MT4 model 👉 https://www.mql5.com/en/market/product/48191
MT5 model 👉 https://www.mql5.com/en/market/product/48884
– – –
1) Advisor technique
AW Double Grids is an advisor that performs two-way buying and selling with a pair of oppositely directed orders.
One aspect is the minimal quantity, and the second aspect is multiplied in accordance with the settings when growing the order grid.
Every new pair of orders is opened when one of many earlier pair of orders is closed. Which means that the space between pairs of reverse orders is regulated by TakeProfit , within the absence of extra filters.
The wrong way is closed when the market reverses.
How the advisor trades: AW Double grids begins buying and selling by opening two oppositely directed orders. After closing a worthwhile order, the advisor opens two orders once more, multiplying the quantity for the open course. If there are open orders, the advisor can change TakeProfit in factors in accordance with the setting. TakeProfit could be dynamic or mounted. TakeProfit of a non-multiplied course is adjusted relying on the variety of open orders in the wrong way.
AW Double Grids, because of its energetic operation from the second of launch, is of nice significance in the mean time of launch, that’s, if the adviser is launched on a relaxed market or in the course of a wave, it is going to give much less drawdown than whether it is launched on the peak of a powerful development motion.
If there aren’t any restrictions for opening orders, the time-frame used doesn’t matter, since every new pair of orders is opened when it’s reached. TakeProfit one of many orders of the earlier pair.
– – –
2) Opening and shutting positions.
Opening and shutting of orders is carried out upon reaching the TakeProfit stage.
- TakeProfit – the advisor has a built-in digital TakeProfit sort, such TakeProfit just isn’t utilized to every particular person order, however to a basket of orders in a single course from the breakeven value. Digital TakeProfit just isn’t seen to the dealer.
TakeProfit is measured in factors, ensure that the TakeProfit dimension is bigger than the unfold on the instrument used.
When deleting an advisor from a chart, the digital TakeProfit is deleted together with the advisor, since it’s a part of the advisor. The digital TakeProfit is barely visually seen on the chart to which the advisor is connected, i.e. it won’t be displayed within the cellular terminal or within the terminal launched elsewhere.
TakeProfit when utilizing order baskets will likely be calculated based mostly on the breakeven value of all the basket, and never for every particular person order.
TakeProfit variations are configured within the enter settings within the “TakeProfit_settings” part.
The product implements a number of eventualities for working with TakeProfit.
You’ll be able to select your technique from the next:
1) Mounted TakeProfit – When choosing the “Fixed_TakeProfit” possibility, enter the worth in factors for TakeProfit. Thus, TakeProfit will likely be utilized to open positions as an alternative of the usual step. And every subsequent pair of orders will likely be opened after one of many orders is closed upon reaching the desired TakeProfit stage in factors.
2) ATR based mostly on TP – TakeProfit decided utilizing ATR is a distance that’s measured based mostly on the ATR indicator information. If the choice of working based mostly on the ATR indicator is chosen, then the interval, timeframe and multiplier are configured for work.
That’s TakeProfit will likely be equal to the present volatility, which is displayed following the information from the indicator ATR by the present candle, in accordance with the chosen timeframe and interval.
ATR Primarily based TP dynamic is up to date on a regular basis, the information is displayed on the advisor panel, so you possibly can see what it is the same as TakeProfit. We don’t advocate utilizing too small TakeProfit, as a result of when TakeProfit is reached, a brand new pair of orders will likely be opened once more.
- Multiplication – that is the worth by which ATR is multiplied to calculate the space.
For instance, the TakeProfit worth on the chosen ATR interval is 600, when utilizing a multiplier equal to 2, the space will likely be calculated as follows: 600 × 2 = 1200, this implies the TakeProfit worth will likely be 1200 factors. This worth is dynamic and adjustments relying on the present volatility.
The really helpful distance worth just isn’t lower than 1 ATR.
- Interval – Indicator interval (Common True Vary), the upper the worth, the much less delicate the indicator alerts. Used to calculate TakeProfit based mostly on ATR.
We advocate setting it to greater than 80, then the indicator will likely be use extra averaged information on market volatility. A interval of lower than 30 is appropriate for monitoring the present market scenario, such values could also be too dangerous for buying and selling with the AW Double Grids advisor.
- ATR timeframe – ATR is measured on the present candle, however the candle timeframe has totally different volatility, which can decide the dimensions of TakeProfit. If the chosen timeframe could be very low, this will likely carry extra dangers for the dealer.
Timeframe by ATR We advocate utilizing at least H1 and no larger than D1.
3) Improve TakeProfit – The Advisor opens a brand new pair of orders when one of many orders of the earlier pair is closed with TakeProfit.
Thus, if a promote is closed, the grid of orders within the purchase course continues to develop. The extra purchase orders, the larger the TakeProfit for the promote order, in order that the step between purchase orders will increase. That’s, this variable regulates TakeProfit for the course wherein there are fewer orders, thereby growing the step between the orders of the other basket.
It’s regulated by the variable “Increase_TP_for_each_order_from_larger_grid”.
4) Step setting. Principally, the step within the advisor is used when the advisor finishes working. Moreover, if desired, the dealer can use the step for steady work along with working based mostly on TakeProfit.
To configure, it’s worthwhile to alter the variables:
- “Step_Work_Mode” – Variable for choosing the step working mode.
Step_work_at_last_cycle_only – Probably the most really helpful mode of operation. The choice wherein the step mode will likely be enabled solely on the final circle, the mode used for clean completion of buying and selling. That’s, after the subsequent pair of orders, when the order of 1 course is closed, this course will now not be opened. And the second course stays and subsequent orders will likely be opened step-by-step, till they attain TakeProfit .
Always_work_by_step – closings will all the time be carried out each step-by-step and upon reaching TakeProfit.
5) Candle restrict – To manage dangers on the consumer’s present timeframe, openings could be regulated.
After the desired variety of candles, within the variable ” One_closure_per_candle_after_N_”orders” closures will likely be made not more than as soon as per candle, to filter out massive impulse market actions on extremely risky devices equivalent to Bitcoin or gold, for instance.
For instance, we specify 4, which means when one course is 1 order and the second course, for instance, has reached 4, after this, the orders will likely be closed by TakeProfit, however on the identical time a brand new order won’t be able to open greater than as soon as per candle. That’s, if there’s a massive, long-term motion in the marketplace, then this operate will assist filter such conditions.
When utilizing this filter, the timeframe used will matter. If you don’t want to make use of a filter, then enter a big unreachable worth within the variable, for instance 100 or 1000.
Managed by the variable “One_closure_per_candle_after_N_orders”
– – –
3) Extra features
- Automated lot calculation:
The autolot operate is configured by two variables:
The primary variable is “Enable_Autolot_calculation” – enabling or disabling the automated calculation operate for opened positions.
The second variable is “Autolot_deposit_per_0.01_lots”. Which means that for every quantity specified on this variable, there will likely be 0.01 tons for the opening quantity of the primary order.
For instance: your deposit is 1000 {dollars}, within the variable “Autolot_deposit_per_0.01_lots” you specified 1000. Which means that the primary order within the order basket will likely be opened with a quantity of 0.01 lot, as quickly as your deposit will increase and turns into 2000 {dollars}, then the quantity of the primary order within the basket will already be 0.02 tons, and so forth with a deposit quantity of 3000 {dollars}, the quantity of the primary order will likely be 0.03.
In case you specified 500 within the variable “Autolot_deposit_per_0.01_lots” and your present steadiness is $1,000, then the primary order will likely be opened with a quantity of 0.02. Additionally, in case your deposit subsequently decreases, then the quantity of the primary order will even lower in accordance with the setting.
When the autolot operate is enabled, the “Size_of_the_order” variable won’t work, for the reason that quantity of the primary order will likely be versatile in accordance with the deposit quantity.
The advisor has two choices for growing volumes with every subsequent order within the basket of 1 course.
The primary possibility makes use of multiplication by the desired coefficient.
That’s, for instance, the preliminary order is opened with a quantity of 0.1, whereas the multiplier is specified as 1.5. Thus, the primary order of this course will likely be opened with a quantity of 0.1, then the second order will likely be opened with a quantity of 0.1 x 1.5 = 0.15 tons. The third order within the basket will likely be opened with 0.15 x 1.5 = 0.23 tons, then by analogy till all the basket is closed upon reaching the TakeProfit stage .
The second possibility makes use of a rise to the desired quantity in tons.
Which means that every subsequent order within the basket will likely be larger than the earlier one by the desired worth. For instance, the primary the order is opened with a quantity of 0.1, whereas the multiplier is specified as 0.05. Thus, the primary order on this course will likely be opened with a quantity of 0.1, then the second order will likely be opened with a quantity of 0.1 + 0.05 = 0.15 tons. The third order within the basket will likely be opened with 0.15 + 1.5 = 0.2 tons, and so forth by analogy till all the basket is closed upon reaching the TakeProfit stage.
If a dealer desires to commerce with out growing volumes, then when selecting the last_order_lots_+_Multiplier_for_size possibility, use the worth 0.00. When selecting the last_order_lots_x_Multiplier_for_size possibility, use the worth 1.00.
In case of termination of the buying and selling day, the dealer can disable the potential of opening new orders. On this case, after the completion of the present order circle, the adviser will solely be capable to shut orders, new orders won’t be opened.
When choosing the “True” possibility in variable “Allow_to_open_new_orders_after_close” the adviser will open orders after the earlier ones are closed. If you choose “false” the adviser won’t be able to open new orders after the earlier ones are closed.
The operate is regulated by the variable “Allow_to_open_new_orders_after_close”.
- Restrict for opening orders in a candle:
Relying on the aggressiveness of the dealer, the power to open a couple of order per candle could be adjusted utilizing the variable “One_closure_per_candle_after_N_orders“.
Enter the variety of orders after which you wish to use the limiter into the variable. For instance, the timeframe used is H1, the worth within the variable is 5, which means with a pointy market motion throughout one candle, the basket of orders can improve by 5 orders, after which the limiter will likely be in impact. Which means that after reaching the desired worth, the subsequent order will likely be opened solely on the subsequent candle. If it’s worthwhile to use the limitation instantly, then enter 1. If there is no such thing as a want to make use of the variable, then you possibly can specify a price of, for instance, 100 or 1000.
Utilizing a variable may also help make buying and selling safer within the occasion of sharp value fluctuations.
- Limitation on the variety of orders:
The advisor has the power to regulate the utmost variety of orders within the basket in a single course. You’ll be able to set the utmost variety of orders within the basket. For instance, should you enter the worth 4, the advisor won’t be able to stretch the grid greater than 4 orders in a single course. This can be related throughout extended unidirectional market actions.
To arrange, go to within the “Protection_settings” part and alter the variable “Maximum_number_of_orders“.
– – –
4) Graphic components
Graphic components include a panel, textual content labels when opening and shutting orders with revenue indication. Additionally, the chart shows TakeProfit traces for order baskets of every course.
Advisor panel – positioned within the higher left a part of the display screen.
1) Within the higher left nook is the title of the advisor.
If autotrading is prohibited, the panel body will flip crimson. And the inscription within the middle of the highest a part of the panel will change from “Advisor is working” to “Commerce aren’t allowed”.
On the prime proper of this panel, there’s a decrease panel button. Clicking on it is going to decrease the panel as proven within the picture above.
2) Under is the knowledge a part of the panel, the place on the left is the present unfold, TakeProfit information, the quantity and quantity in a lot of open positions of the promote and purchase sorts, on the left is the drawdown information on the chart as a proportion of the deposit.
3) Subsequent are the buttons for closing positions, permitting you to shut all gross sales or purchases, shut the farthest and closest order of the basket for positions on the market or buy, in addition to buttons for closing the most important order of every course individually.
To the appropriate of the buttons there’s a block with checkboxes, with the assistance of which you’ll disable one of many buying and selling instructions or allow buying and selling on the final circle, for gradual completion of buying and selling.
4) On the very backside of the panel there are two buttons for opening extra orders manually, in addition to an enter discipline for altering the quantity to be opened; along with the enter discipline, you should utilize the arrows subsequent to the sphere on the appropriate.
– – –
5) Enter settings
MAIN_SETTINGS – Setting volumes for opening positions.
- Size_of_the_first_order – Variable defining the dimensions of the primary order. Used if “Enable_Autolot_calculation” is disabled.
- Enable_Autolot_calculation – Use automated lot calculation. This operate permits you to save threat settings when altering the deposit. In case you use autolot, then “Size_of_the_first_order” just isn’t used.
- Autolot_deposit_per_0.01_lots – Deposit quantity for each 0.01 when utilizing autolot.
- Type_of_multiplier_for_size – last_order_lots_+_Multiplier_for_size / last_order_lots_x_Multiplier_for_size. Sort of order improve. Every subsequent order opened by the advisor within the order grid will likely be multiplied (*) or added (+) by the desired worth.
- Multiplier_for_size_of_orders – Enter the quantity to extend the orders within the basket.
TAKE_PROFIT_SETTINGS – TakeProfit settings for closing positions.
- TP_Mode – ATR Primarily based TP / Mounted TP – Choose the mode for the space when closing positions and opening the subsequent pairs of orders. The choice with a hard and fast distance or dynamic based mostly on the volatility of the instrument is out there.
- Fixed_Size_of_Virtual_TakeProfit(In_points) – In write worth, TakeProfit c is learn for present group of orders from breakeven value. This variable is used for distance between opened orders in a single course.
- ATR_TP_Multiplier – Enter the coefficient for tTakeProfit calculated on the premise of volatility.
- ATR_Period(TP_ATR_MODE) – Interval adjustment (Common True Vary). Used for calculation TakeProfit based mostly on ATR.
- ATR_Timeframe(TP_ATR_Mode) – Regulate the timeframe for measuring volatility based mostly on ATR.
- Increase_TP_for_each_order_from_larger_grid – The coefficient of improve of take revenue for every subsequent order of the wrong way.
LAST_CYCLE_SETTINGS – Setting of the order opening mode when terminating the work.
- Last_Cycle_Step(Must_be_bigger_than_TakeProfit) – Adjustment of the step between orders, measured in factors. Used when engaged on the final circle, when opening new orders is prohibited, or with handbook intervention.
PROTECTION_SETTINGS – Adjustment of protecting features when opening positions.
- Maximum_slippage_in_points – Most allowed slippage in factors for opening and shutting orders.
- Maximum_spread_in_points – Most allowed unfold for opening orders. Measured in factors.
- Maximum_size_of_orders – Most quantity for one order. Measured in tons.
- Maximum_size_number_of_orders – The utmost variety of orders of 1 sort allowed.
ADVISOR_SETTINGS – Establishing graphical features and fundamental features of the advisor.
- Orders_Magic_number – The principle identifier of the advisor’s orders. Used primarily to establish orders.
- Comments_of_the_EA’s_orders – Feedback on orders opened by the advisor.
- Allow_to_open_OP_BUY_orders – Variable permitting to decide on to allow or disable the power of the advisor to open BUY sort orders.
- Allow_to_open_OP_SELL_orders – Variable permitting to decide on to allow or disable the power of the advisor to open SELL sort orders.
- Allow_to_open_new_orders_after_close – Capacity to permit opening orders after closing earlier ones. When buying and selling is completed, you possibly can disable this operate after which the adviser won’t be able to open new orders after closing earlier ones.
- Show_panel_of_advisor – Capacity to indicate or conceal the advisor panel.
- Font_size_in_panel – Adjusts the font dimension within the panel.
- Write_close-profit_in_chart – Adjustment of revenue marks when closing positions.
- Step_Work_Mode – Step_work_at_last_cycle_only / Always_work_by_step – Choose the mode for opening orders of the advisor.
- One_closure_per_candle_after_N_orders – Enter the variety of orders within the basket after which the limitation for opening just one order per candle will likely be used. Related for lengthy unidirectional market actions.
Purchase advisor “AW_Double_Grids_EA”:
MT4 model 👉 https://www.mql5.com/en/market/product/48191
MT5 model 👉 https://www.mql5.com/en/market/product/48884
AW Buying and selling Software program
Telegram channel: https://t.me/AWSoftware
Hooked up are examples of set recordsdata for a number of symbols and timeframes.