AOTI-EA-Assistant (AEA) for the All-in-One Trade Indicator (AOTI)

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 (for the AOTI Indicator)

AOTI Indicator URL: www.mql5.com/aoti

Currency Pairs: EURUSD, EURJPY, GBPUSD, USDCHF, EURGBP, EURCAD, EURAUD, AUDJPY, GBPAUD, GBPCAD, GBPCHF, and GBPJPY

Time Frame: M5

Actual Version: v2.4 beta

Update: 2020'05'17

Trading Platform: MetaTrader 4

Recommended Brokers: Alpari

Additional Info: Free of Charge for all AOTI indicator users

AOTI-EA-Assistance.zip 894.9kbDownload

AOTI-EA-Assistant First Start

1 – Set the AOTI indicator to the desired chart and let the AOTI indicator calculate the Daily Levels:

Daily Levels Detected


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!

AOTI-EA-Assistant First Start

EA Comment String


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:

AOTI-EA Panel


4 – Now, the AOTI-EA-Assistant is ready to work, and waiting for new Daily Levels appear for a start trading:

AOTI-EA Ready to Trade

About AOTI-EA-Assistant

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.

Simplest Levels Strategy

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.

AOTI-EA-Assistant Setting

Money Management (MM) Settings

AOTI-EA 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:

Open Settings

AOTI-EA Open Mode

Mode 1: The EA-Assistant is immediately opening a position at the moment when the Daily Levels appear

Mode-1 - Position Opening

Mode 2: The EA-Assistant opens a position as soon as the current price is better than when the daily levels appear

Mode-2 - Better Price Opening

Mode 3: The EA-Assistant opens a position when the current price touches the Estimated Entry level

Mode-3 - Entry Level Opening

Position Close Settings

Close Settings

Mode-1: Close when Price Touch TP or SL Levels

Mode-1 - Close if Touch

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:

Price Pierces Today SL Level

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.

Mode-2 - Candle Closed


Close Loss Order Using High TF

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

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.

Profit Delta

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:

How Works Extended Profit/Loss Delta

Starting with version v1.08 EA, hidden profit levels automatically displayed on the chart for ease of using:

Hidden TP/SL Levels

Use Breakeven – using a Breakeven feature. Breakeven will set when the price reaches the Min TP level.

Total Profit Close Settings

Total Profit Close Settings

Close All Orders with Total Profit – closes all positions, when the specified Total Profit Value is reached

Total Profit Value to Close All Orders – the total value of the profit, in the Deposit currency, when reached, all open positions will be closed

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.

Total Profit Close Positions

Total Profit Value


Close Total Profit After NY Session – closing all positions with total profit > 0 after the end of the New York session

Trailing Settings

Fractal Trailing Settings

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.

AOTI Trailing Levels

Stop Moved to Trailing Level

Other Settings

Others Settings

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

Visual Settings

Visual Settings

Show Realtime Comments – enable/disable real-time comments:

Realtime Comments

How to Set Up the AOTI-EA

1. Make sure that automatic trading is allowed in your MetaTrader 4 terminal:

Terminal Auto Trading

2. The AOTI indicator should be present in the terminal.

3. Copy the AOTI-EA-Assistant at the terminal folder MQL4\Experts\…

EA Folder

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!

Product Name: AOTI-EA-Assistant (AEA)

Trading Platform: MetaTrader 4

Recommended Brokers: Alpari


Good Luck & Big Profits

MAFX Solutions

We offer trading systems, expert advisors, indicators, as well as other software for successful trading. We are pleased to share with you our knowledge and experience in trading, programming, and modernizing trading systems and strategies. On our website, you will find many tips and tricks about profitable trading and additional opportunities for increasing your profits.

Related Articles

Back to top button