- 1 AOTI-EA-Assistant v3.0 Appearance
- 2 AOTI-EA-Assistant What’s New
- 3 AOTI-EA-Assistant First Start
- 4 AOTI-EA-Assistant Control Buttons
- 5 About AOTI-EA-Assistant
- 6 AOTI-EA-Assistant Setting
- 7 Position Close Settings
- 8 Total Profit Close Settings
- 9 Trailing Settings
- 10 Other Settings
- 11 Visual Settings
- 12 How to Set Up the AOTI-EA
Today, we will review the AOTI-EA-Assistant, created as an assistant for the All-in-One Trade (AOTI) indicator. The EA-Assistant uses the simplest levels strategy for opening positions and advanced functionality for working with open orders and profit-taking.
The AOTI-EA-Assistant works together with the AOTI indicator, and the AOTI-EA-Assistant is available for free for all AOTI indicator users. Now let’s look at this in detail.
Product Name: AOTI-EA-Assistant Free (for the AOTI Indicator)
AOTI Indicator URL:
Currency Pairs: EURUSD, EURJPY, GBPUSD, USDCHF, EURGBP, EURCAD, EURAUD, AUDJPY, GBPAUD, GBPCAD, GBPCHF, and GBPJPY
Time Frame: M5
Actual Version: v3.2
Additional Info: Free for allusers
AOTI-EA-Assistant v3.0 Appearance
AOTI-EA-Assistant What’s New
|Date of Release
|▪ Updated to the current version of the All-in-One Trade Indicator (AOTI)
▪ Added new features:
Forced Open – This allows you to open a position in the direction of the daily trend at any time (if the price has not yet reached the target level)
Close All – Allows you to close all trades at any time (for example, when the desired total profit is reached)
|▪ Improved Total Profit-Taking Module
▪ Added a new setting: Disable TP and SL Control when Close All is On
▪ Other improvements in the EA code
|▪ Optimization of the AOTI-EA-Assistant to work with the AOTI indicator since v7.5
▪ Fixes in the internal algorithms of the EA
|▪ Updated work algorithm
|▪ Added an option to select the profit in the deposit currency or percentage for the Total Profit Close module
|▪ Adjustments of the internal EA algorithm
AOTI-EA-Assistant First Start
1 – Set the AOTI indicator to the desired chart and let the AOTI indicator calculate the Daily Levels:
2 – After that, we set the AOTI-EA-Assistant to the same chart.
The AOTI indicator should always be on the chart with the EA-Assistant!
3 – While the AOTI indicator information panel is activated, the EA-Assistant info-panel is disabled. To enable the EA-Assistant information panel, disable the AOTI indicator control panel and buttons. After that, the EA-Assistant panel will appear automatically.
4 – Now, the AOTI-EA-Assistant is ready to work, and waiting for new Daily Levels appear for a start trading:
AOTI-EA-Assistant Control Buttons
Why do we need control buttons in AOTI-EA-Assistant at all?
OPEN BUY / OPEN SELL allows us to open a position in the daily trend direction forcibly. If, for example, we are missed the moment of opening a position when the signal appeared, or the previous position is already closed, and we want to open a new position at a better price.
CLOSE ALL allows us to close all, opened by AOTI-EA-Assistant, positions with one click. For example, we are satisfied with the current total profit, and we do not want to wait any longer, or we need to go somewhere on business, and we cannot follow the situation on the market.
OPEN BUY / OPEN SELL is set automatically depending on the Daily Trend:
The main task of the AOTI-EA-Assistant is to open positions when the daily levels appear and bring them to the level of profit or loss And also closing positions at the end of the day, regardless of the result – profit or loss (according to the Simplest Levels Strategy). The new version has advanced functionality for working with open positions and profit-taking. The features of the EA-Assistant will continue to expand with new releases.
The Simplest Levels Strategy is very simplified. I recommend using all indicators signals and features (not just the simplest levels strategy). It takes practice time, but your result will reward you.
Money Management (MM) Settings
Trade Lot (if Deposit Percent = 0) – fixed trade lot, if Deposit Percent = 0
Deposit Percent – to calculate the lot, the percentage of the deposit is used (5%, 10%…)
Do not set too high values of Deposit Percent variable to avoid losing the deposit!
Positions Open Settings
The algorithm for opening positions by the EA-Assistant includes three modes:
Mode 1: The EA-Assistant is immediately opening a position at the moment when the Daily Levels appear
Mode 2: The EA-Assistant opens a position as soon as the current price is better than when the daily levels appear
Mode 3: The EA-Assistant opens a position when the current price touches the Estimated Entry level
Position Close Settings
With this setting, you can select a profit target you want on the current trading symbol. You can choose between Today TP and Min TP levels:
Mode-1: Close when Price Touch TP or SL Levels
Mode-2: Close if Candle Closed Higher/Lower TP or SL Levels
In this mode, the profit is closed when the candle of the higher (M15) time frame is closed above/below the target level.
This mode is necessary to avoid false piercing of the level by price:
The Today SL level was pierced by price (see screenshot above), but the candle did not close below this level, even on the M5 time frame. So in the 2-nd closing mode, we would have remained in the market and reached the profit level.
Also, in this mode, additional profit-taking modules are activated.
In Mode 1, if this parameter is activated, only the Loss positions close in the same way, as in Mode 2.
Position Close Other Settings
Use fixed Profit/Loss – set a fixed take and stop on levels if true. Visible for a broker.
Extend Profit Delta (Today TP +- Delta) – an additional Delta (in points) that is added to the Today TP level. If the value is negative, it is subtracted from the Today TP level.
Extend Loss Delta (Today SL +- Delta) – similar to the previous one, but for Today SL level.
If these values are 0, the values of the variables Today TP and Today SL do not change.
For example: We have an open Sell position.
Today TP = 1.23200
Today SL = 1.24160
Extend Profit Delta (Today TP +- Delta) = 10
Extend Loss Delta (Today SL +- Delta) = 20
New Today TP = Today TP – Extend Profit Delta (Today TP +- Delta) = 1,23200 – 10 = 1,23190
New Today SL = Today SL + Extend Loss Delta (Today SL +- Delta) = 1,24160 + 20 = 1,24180
If variable “Use fixed Profit/Loss = true”, that Delta value is added to the TP and SL levels at once. And we see it immediately in the order in the MetaTrader terminal.
If the variable “Use fixed Profit/Loss = false”, then this value works virtually, and the EA will close the position at the market price when the price reaches the specified level:
Starting with version v1.08 EA, hidden profit levels automatically displayed on the chart for ease of using:
Use Breakeven – using a Breakeven feature. Breakeven will set when the price reaches the Min TP level.
Total Profit Close Settings
Close All Orders with Total Profit – if ‘true’ closes all positions, when the specified Total Profit Value is reached
Total Profit Value to Close All Orders – a total profit value in the deposit currency, at reaching which all positions opened by AOTI-EA-Assistant will be closed
Deposit Percent Increase to Close All Orders – how many percent should equity increase to close all positions by the AOTI-EA-AssistanceAttention! Only one option must be activated: either ‘Total Profit Value to Close All Orders’ > 0, or ‘Deposit Percent Increase to Close All Orders’ > 0. If both variables are above zero, the variable ‘Total Profit Value to Close All Orders’ will be taken into account.
Disable TP and SL Control when ‘Close All’ is Active – if the ‘Close All Orders with Total Profit’ option is activated and ‘Disable TP and SL Control when ‘Close All’ is Active’ is set to true, positions are closed ONLY WITH A TOTAL PROFIT. Simultaneously, the profit and loss levels of individual currency pairs do not affect position closing!
Close Total Profit After NY Session – closing all positions with total profit > 0 after the end of the New York session
HOW IT WORKS:
When the total profit of open positions reaches Total Profit Value to Close All Positions, the EA-Assistant will no longer wait to achieve profit levels by each currency pair. The EA will close all positions when their total amount in the Deposit currency reaches the value set by us.
Disable TP and SL Control when Close All is On – since v2.6 of the AOTI-EA-Assistant, this option has been added into the Total Profit-Taking Module.
How works this option. If the ‘Close All Orders with Total Profit’ option is activated and ‘Disable TP and SL Control when Close All is On’ is set to true, positions are closed ONLY WITH A TOTAL PROFIT. Simultaneously, the profit and loss levels of individual currency pairs do not affect position closing.
For what can this mode be useful? For example, when a trading session is coming to an end, some open trades are losing, and some are profitable. At the same time, we do not know how the trading will go during the next trading session. Then we can set the Total Profit value to the desired value and not watch the charts because AOTI-EA-Assistant will close all positions by itself when the Total Profit value we set is reached.
It can also be useful at the end of the workweek to not leave open positions for the weekend and close the last working day in profit. Or in the process of trading, there is a situation where a large part of the open positions, at some point, turns out to be unprofitable – this can happen not only for technical but also for fundamental reasons. And in this case, we can set even a minimum level of Total Profit to bring the situation to breakeven.
Another use case, when some of the prices have gone to better values relative to entry levels, we can close the Total Profit and reopen positions at better prices, using the OPEN POS button on the AOTI-EA-Assistant information panel.
You can also come up with your case of applying this feature to your trading style.
The process of closing positions by the AOTI-EA-Assistant
The process of closing positions in the ‘Close All Orders with Total Profit’ mode is true:
Another example of closing positions with total profits on March 5 to avoid trading during important news (Nonfarm Payrolls):
One More Example:
Read More about Total Profit Close module: How it Works: Total Profit Close in AOTI-EA-Assistant
Use Fractal Trailing (7-bars fractal) – activation of my brand 7-bar fractal trailing
The Blue dot – trailing level for Buy orders.
The Red dot – trailing level for Sell orders.
Activate Trailing at Min TP – trailing activation, when the price reaches the Min TP level
Order Comment – comments on opened orders
Use Max Spread Auto-Settings – automatic setting of the maximum possible spread for opening positions
Manual Max Spread for Trading (in Points) – if current spread is more than this value, a position will not be opened
Slippage for Open and Close Position (in Points) – max slippage for open and close positions
Magic Number – a unique number for the EA to be able to define its trades. This number is the same for all currency pairs
Show Realtime Comments – enable/disable real-time comments:
How to Set Up the AOTI-EA
1. Make sure that automatic trading is allowed in your MetaTrader 4 terminal:
2. The AOTI indicator should be present in the terminal.
3. Copy the AOTI-EA-Assistant at the terminal folder MQL4\Experts\…
4. AOTI-EA-Assistant should be attached to all currency pairs that you plan to use in trading. Timeframe is M5 only!
5. The AOTI-EA-Assistant must be installed together with the AOTI indicator.
6. When the AOTI indicator will calculate new Daily Levels, the AOTI-EA-Assistant will open positions.
7. The AOTI-EA-Assistant works only with the AOTI indicator at now. The EA is activated when the indicator calculates the Daily Levels. If the daily levels are absent or the indicator does not work, the AOTI-EA-Assistant will not open the position.
8. Don’t set the EA-Assistant on all 12 currency pairs at once. Start with the major pairs: EURUSD, USDCHF, EURJPY, GBPUSD. Learn and master several currency pairs and then add new currency pairs.
9. The EA-Assistant is not a fully automatic system that works in a “set and forgets” mode. Study the indicator signals, including additional ones! This will allow you to increase your potential profit and minimize your losses!
10. Read and study additional materials that I publish on my blog and in social networks about the secrets and practices of trading with the AOTI indicator.
I do not recommend setting up an EA immediately on a real account! At first, you need to check the EA on the demo account to avoid unnecessary risks!
The article will be kept up to date with the release of new versions of the AOTI-EA!