“If you think you’ve entered my site accidentally, be sure there is no accidence. This is the essence of the happening, inclusive of the exchange.” (c)

Due to Bill Williams technical analytics obtained at their disposal a number of indicators, as well as the author’s entire description of market behaviour named “Trading Chaos” or Profitunity.

I have improved the well-known indicators Super AO (Awesome Oscillator), AC (Accelerators Oscillator), Fractals for the familiar Meta Trader trading platform and called the indicator complex as iTradeChaos. This product is bestseller on MQL5 Market. My profile in MQL5 Community — iTC.

  1. Alligator modified.

The indicator has standard settings. The new modification of indicator provides special marking of the segment when the moving averages begin to form a cross in one direction or another. The Alligator`s cross indicates that the trend is about to change. Modified Alligator helps traders to determine a trend on a particular timeframe even if the averages are intertwined and have a shift in the future. Direction of a trend is determined by a cross of the averages with a specified marking area on them. This function of the modified indicator allows you to avoid the uncertainty of the trend direction, even when the averages are intertwined on a specific timeframe.

It is worth noting that the trend on a larger timeframe is more dominant. For example, if the Alligator`s moving averages indicate a bullish trend on the daily chart, then the crossing of the averages in the opposite direction on the 4H chart would be less impactful. It may also mean that there might be an upcoming correction on the daily timeframe. If the price closes below the Blue Alligator line (Jaws) or the level of a cross it may indicate a weakening of a trend on the analyzed timeframe. Moreover, the method of displaying «cross lines» can help the trader to determine the angulation of a price to the moving averages and the parallel market.


2. Modified Awesome Oscillator

The main purpose of the indicator is to detect and mark trade signals on the histogram of the Awesome Oscillator according to the strategies «Trading Chaos, second edition» and «New Trading Dimensions».

The indicator detects and marks the following trade signals:

  1. «Two peaks» — Divergence.
  2. The signal «Second wise-man» — third consequent bar of the Awesome Oscillator after its color is changed.
  3. The histogram crosses the zero line.
  4. The signal «Saucer».

The indicator includes a signal block that informs the trader about new signals in any convenient form.


3. Trading Chaos Chart

he main purpose of the indicator is to detect and mark on a chart the following trade signals described in «Trading Chaos (2-nd edition)»:

  1. Bullish and bearish divergence bars with angulation (including squat).
  2. Bars in the red and in the green zones according to the color of the Awesome Oscillator histogram.
  3. Squat bars on the chart independent of the color of the Awesome Oscillator histogram.
  4. Levels of «important» fractals relative to the «Teeth line» of the Alligator indicator.
  5. Drawing angulation rays from the balance line to a reverse bar with angualtion.
  6. The Second Wise Man and Blue Light signals.
  7. The signals of the «Fifth consequent bar in the zone» of the Awesome Oscillator indicator.

The indicator includes basic functions of the New Trading Dimensions Chart indicator, namely the following:

  • Detecting and indicating on a chart the signals generated when the histogram line crosses the zero level as well as the Blue Light Special signals formed by the same intersection.
  • Coloring bars by three zones (red, green, gray), detecting Squat bars.
  • To switch to the functions of the New Trading Dimensions Chart, set the TRUE values for the Use new trading dimensions colors input parameter.

The indicator is developed in accordance with the strategy described by B. Williams for MetaTrader 5.


  • Blue bar — squat bar.
  • Red or green star on a bar — the bar has signs of a «reverse» divergent bar (BDB).
  • Red or green diamond — the «Second Wise Man» signal.
  • Red or green square — enhanced «Second Wise Man» signal — the «Blue Light Special» signal.
  • Red bar in any direction — the bar is in the zone of negative momentum.
  • Green bar in any direction — the bar is in the zone of positive momentum.

The indicator includes a signal block that informs the trader about new signals in any convenient form.

Trading Chaos Chart

How to enlarge your capital by using Bill and Justin Williams’ strategy «Trading Chaos: Second Edition» with the help of iTradeChaos_Complex?
All traders which deal internet-trading use some strategies. The trading strategy is an assortment of rules and signals by which trader deals his trading operations. A trader who doesn’t have his trading strategy, who sells and buys assets using the principle of planted coin or basing on his emotional and subjective vision of market, recommendations and rumours, is doomed to lose. To choose, or especially to create one’s own trading strategy is not easy. Using my own experience I want to say that the most profitable trading strategies are the strategies with easy understandable rules and not numerous clear signals for trade. These strategies include modern technology of trading described by its authors Bill and Justin Williams in book «Trade Chaos: Second Edition» and in author’s video-course «Home Study Course». Trading technology of Bill Williams refers to an aggressive trend strategy. It should be noted that satisfactory results by its using can be achieved subject to strict compliance with trading signals and their sequence, proper money management and a sufficient degree of diversification of risks. The authors affirm that the price movements are random; that’s why the market analysis should not include elements of forecasting. Let the price charts prompt what to do themselves. This is the key to trade without any stress. As a result of their long-term studies of markets Bill Williams came to the conclusion about limitation of the possibilities of standard indicators, because of their linearity. Indeed, the vast majority of oscillatory indicators are nearly useless in the transition of price movement to the trend due to the limited scale (usually — from 0 to 100). If we assume that price movements are random, it is necessary to accept that our ability to determine future price movement is severely restricted, and we must avoid any possible element of prediction from the market analysis. The distinctive ability of new trade technology is the procedure to determine the end of trade wave and to enter the market with the minimal risk and with future enlarging of market positions. Researches show us that the markets are in trend state for 15 — 30% of all time, and exactly in these periods a trader must be maximally aggressive. Indicators invented by the authors of strategy during multiyear researches are available in the following trading platforms: eSignal, CQG, MetaStockPro, MetaTrader and QUIK.
By activating the template with a set of indicators we’ll see the following picture:

Chart #1 Typical Williams’s indicators.

Bill Williams template in MT4


















Bill Williams calls this picture “the map of the market”. Looking at this image without experience it is hard to find any signal. I’ve studied deeply the trade strategy and I offer for your consideration more accurate, in my opinion, map of the market. We can even say that iTradeChaos is not a map but the market signal navigator. I’m an active user, follower and promoter of this strategy.

I’ve created a number of specialized signal indicators, which significantly expand the functions of Williams’s indicators, rising up the efficiency of trade using this strategy. These software products are integrated into the trading software complex for trading analysis platform MetaTrader with the name of iTradeChaos ©.

Trading Chaos Chart with indicators

I offer the examples to get acquainted with the trade signals strategy and the symbols of those signals on the chart.

Signal number 1. «The First Wise Man»
The first signal about possible ending of the directed trend wave and moving of the assets into the stage of correction or reversal of the market is the signal of bullish or bearish divergence bar. This signal is called «The Signal of the First Wise Man». In the Justin Williams’ classical definition «The First Wise Man» («bullish divergent bar”) is a bar that has a lower minimum than the previous bar and the closing price in the upper half of the bar. Moreover, the histogram of the indicator AO at the moment of the forming of such a reversal bar must necessarily be red and such divergent bar must be substantially distanced from the lines of the balance indicator Alligator or must be situated under the angle of lines of balance indicator Alligator. “The Bar of bearish reversal represents the opposite”. This definition is universal. However, in the Home Study Course Justin Williams shows us the reversal bars, to which more precise definition can be given. In my opinion, my definitions are more aligned with the theory of bars descriptions made by the father of Justin Dr. Bill Williams in his first book «Trading Chaos». The authors show three types of bars. For example the bear divergent bars:
1. The torn. Regardless of the opening price, the bar has the highest value (High) that is higher than the value of the previous bar and even than the value of the previous two bars, and the closing price not in the bottom half, but in the lower third of the bar. Previously, B. Williams called this bar extreme bar.

2. The bearish bar. Regardless the opening price, the bar has the highest reached value (High) higher than the previous bar and even in the previous two bars, but closing in the lower third of the bar and below the opening price of the previous bar.

3. The bearish bar. The bar opening price is higher than the previous bar closing price, hence it has the highest reached value (High) higher than the previous bar and even in the previous two bars, but the closing prices in the lower third and lower than open bar price.

All specified kinds of bars are located above the green column of the histogram indicator Super AO and do not relate to any of the lines of the Alligator.

My definitions of divergence bars help a trader to avoid unnecessary inputs against the trend on neutral bars breakdowns.

Entrance on the breakdown of divergent bars creates a predictable possible loss as well as stop-loss should be placed on the opposite side of the such bar, and the great potential of a possible profit in the case if the market goes in the right direction. Increasing of the divergence bar signal is «squatting (SQUAT) bar».

«The Second Wise Man» and an improved signal of «second wise man” – “Blue Light Special” (BLS).

These types of signals are generated by the combinations of price bars and columns of the Super AO indicator histogram.

«The Signal of The Second Wise Man» appears if there are three consecutive bar of the Super AO indicator histogram after changing of its colour. Bullish signal appears if the histogram changed its colour from red into green, bearish one — from green into red. In case when bullish signal appears, we place a deferred buying order on the level of the highest value of the bar located above the third column of the histogram AO plus spread and plus a couple of points. Conversely, when bearish signal appears, we place it below the bar located over the third consecutive column of the histogram AO after changing its colour from green to red. Improved signals of «The Second Wise Man» are called “Blue Light Special”. Such signals appear every time when there is an opportunity to move the buying or selling order on another (4-th, 5-th) not pierced bar in the red or the green zone. Usually enters by these signals are additional positions to the already open position by the signal of the «First Wise Man”.

“The Signal of the Third Wise Man” is a fractal.
Auxiliary input to the position will be substantiated in any fractal that will appear in the course of the price movement after the formation of divergent bar signal, ie signal of the 1st wise man. You won’t have to run outside the trend, if you enter the market with the breakdown of the fractal located above or below the fractal of the red line of Alligator indicator.
Stops on the open positions are divided into two types. The first type is the stop loss, or in other words, the stop of potential losses, if the market did not go in our direction. The second type is the stop protecting the profits of our open positions.
When we enter into the market at the breakdown in divergent bar against the trend, our initial stop-loss order is placed on the reverse side of the bar. As you add to the open position by the signals of the second and the third wise man and create the total profit on the open positions, our stop-trade is carried over (under) the bar that corresponds to the fifth or the next bar in the coloured area or over (under) the signal of the market in the opposite direction.
Now, we must establish the iTradeChaos indicators and try to see the above signals on the charts. We’ll learn how to use an advisor and scripts.
The first indicator that can be attached to the chart is iTradeChaos_info.
During several few seconds this indicator will analyze the graphs of market assets to determine the signals of «The Three Wise Men» on them and will display a signal table in a convenient form. The left scale of the table shows the asset the top one – the period, where it was formed one or other of these signals. Green circle is bullish signal, the red circle is a bearish signal. Light green colour mug is the upgraded the second wise man on buy.  The raspberry one is the improved the second wise man on sell. This indicator saves you from having to search for signals on hundreds of charts giving you the opportunity to devote more time to analyze the signals on the charts. Besides the information about formation of signals the indicator iTradeChaos_info informs a trader about breakdowns of signal levels i.e. about the reaction of the signal of “The Three Wise Men” in real time. If there is a breakdown of a signal level, on a bigger size circle the smaller size circle with different colour appears. It has a function for sending an information message on the formation and breakdown of the signal level on the trader’s e-mail with the appropriate setting of postal service in MT.

Trading Chaos Panel — Expert.


This software has no equals in the world and represents a universal trade «console» covering trading signals, automated market entry, setting of Stop Loss and Take Profit, as well as Trailing Profit for multiple trades at the same time in a single open window. Intuitive control of the Expert Advisor in «three clicks» ensures a comprehensive use of all its functions on different computers, including tablets PCs.

Interacting with additional signal indicators that mark the chart to give a real market picture, the Expert Advisor allows you to make the right choice and to be on the winning side in most cases. A built-in money management algorithm, as well as automatic calculation of the lot size, trading virtual orders, and a number of other «know-how» features will save the trader from the account collapse. It is not a «black box». It is, rather, a well thought out trader’s assistant which is not easy to do without, having tried it in action at least once.

Note that Expert Advisors in the form of panels cannot be tested in the Strategy Tester! To be able to check it on your demo account in real-time mode, you should download a free demo version of this Expert Advisor — Trading Chaos Expert Demo.

The EA represents a panel with a built-in functionality of a trading robot which automates market entries based on trading signals visually estimated by the trader in full accordance with Bill Williams strategies «Trading Chaos: Second Edition» and «New Trading Dimensions». The Expert Advisor identifies directed price momentum that can be used to trade in a fully automated mode on a specific symbol and time frame in a separate window, as well as on multiple instruments simultaneously.

It concurrently analyzes all trading symbols displayed in the MetaTrader 5 «Market Watch» window. Parameters of open positions and pending orders are stored in RAM. After restarting MetaTrader 5 and reconnecting, the Expert Advisor completely restores its logic and trading orders and continues managing open positions.

It consists of two interconnected panels. The «signal panel» is displayed directly on the chart. The main functions of the signal panel are:

  • Analysis of indicator data and bar (candle) patterns on a selected time frame and trading signal display in the signal table.
  • Selection of the trading signal display mode and grouping of signals by type.
  • Selection of the time frame for the purpose of getting trading signals and trading.
  • Opening (closing) of the «Trading panel».
  • Opening a chart for the required symbol and time frame in a single window.

The Expert Advisor can recognize the following major trading signals by strategies and mark them in the signal panel as follows:

  1. «First Wise Man» signal, bullish (bearish) divergent bar (BDB) with angulation, including SQUAT bars. This is the first-ever formalization and implementation of the concept of angulation in MT5. The search for reversal bars is based on robust algorithms. You will always get a signal on the forming SQUAT bar with signs of reversal, as such bars cam reverse the market in 85% of cases. However not every SQUAT bar is reversal. It has a measurement function. A particularly strong reversal signal appears in the AO indicator divergence zone, which you will also be able to see in the panel.
  2. «Second Wise Man» signal. “Blue Light Special” signal is an improved «Second Wise Man».
  3. «Third Wise Man» signal is a formation and breakout of the ‘important’ fractal. The Expert Advisor identifies important fractals lying outside the Alligator’s jaws using three distinct reliable algorithms. A fractal breakout is considered to be the start of a directed impulse wave.
  4. ‘Waves’ is an Awesome Oscillator histogram divergence signal.
  5. ‘Infinity’ is represented by «Saucer» buy and sell signals. This signal indicates the transition of a currency pair in a directed motion after a period of correction presumably into the third wave or a wave C.
  6. ‘Cross’ is a signal of Awesome Oscillator histogram crossing the zero line. «Blue Light Special” is an improved signal of such crossing.
  7. Trend start signals (TSS) are marked in the signal table using yellow and gold crosses. The trend start signal appears upon opening of the Alligator’s jaws, i.e. when the distance between the red and blue indicator lines increases after intertwining. The upper histogram of Gator Oscillator grows after a period of occurrence or a color change from red to green. This signal intensifies other trading signals in the strategy, both toward the main trend, and in the opposite direction.
  8. ‘Star’ is a breakout of a 20-period Donchian channel. The Expert Advisor uses the MultiRange_PCH indicator with the period of 20. This indicator is available free of charge. Download it, copy to the clipboard, then go to the MT5 terminal, click «File» — «Open Data Directory» — «MQL5» — «Indicators» and save the file to this folder. After restarting MT5, it will appear in the list of available indicators in the «Navigator» window. Add it to the chart. You will be able to see the breakout of the 20-period channel, which indicates a possible flat range breakout and the start of the directed movement — trend.
  9. By clicking on the ‘Hand’, a trader can manually place a pending virtual Stop order, set virtual Stop Loss and Take Profit, or open a position at market prices at any time without any signal. The Expert Advisor will then start trailing the profit. If the position is already open, you can click on the ‘Hand’ to modify Stop Loss, Take Profit, as well as the Trailing Stop method.
  10. Highlighting of the time frame is a special signal that determines the presence of directed impulse in the market, i.e. a formation of a special graphic zone whereby you should receive any trading signals for the given strategy to enter the market in the direction of the price movement on a particular time frame. Signal is set up as follows. The price breaks above the 20-period channel. The Awesome Oscillator crosses the zero line in the breakout direction. Fractal is formed outside the Alligator’s jaws. After the fractal formation, the Time Frame button is highlighted in the relevant color. A click on the Time Frame button opens the trading panel that allows you to automate the market entry based on the first performed signal in the direction of the impulse. A trader only needs to click «Apply». «Saucer»-based market entries are especially good under such circumstances, i.e. presumable transition of the price into the third wave or a wave C. After pressing the «Apply» button, the time frame icon is outlined, indicating that the EA is ready to enter the market using trading signals.

Different colors of pointers marking signals allow you to see whether a signal has already been or is just being formed. Light tones of the icons suggest the future signal on active period. Dark tones indicate that there is a formed signal on closing. Filled icons mean that the breakout of the signal level is taking place. After entering the position, the name of the currency pair in the signal table changes its color. If the pair is sold, the name is displayed in red, if it is bought, it is shown in green.

The preliminary signal reflection function gives time to the trader to visually examine the signal for being in full accordance with the strategy, check how the signal fits into the market picture on a senior period, calculate the targets based on wavelengths and to place a pending virtual Stop order for entry, as well as a Stop Loss well in advance by means of the Expert Advisor, by clicking on the «Apply» button. If the preliminary signal does not come off on a closed period, the Expert Advisor will independently stop the signal monitoring and not enter the market.

Cancellation of Signal Monitoring

This function saves the trader from entering the market based on old, canceled or outdated trading signals.

Fractal signals located outside the Alligator’s jaws will be canceled after a double closing of the price below (above) the red line of the Alligator. Channel breakout signals are canceled after the AO histogram crosses the zero line in the direction opposite to that of the breakout. «Saucer» signals are canceled after the change in the AO histogram color and the absence of a signal level breakout for a position entry. «Blue Light Special» signals get canceled after the AO histogram changes its color to the opposite upon closing without signal level breakout. Signals of «Divergent bars» and divergence signals are canceled if the bar following the formation does not break the signal level. This is justified by the fact that if the signal is strong, the market will surely detect it and will not wait for the breakout of the signal level over a few more periods.

Signal Panel Modes

Signal panel has nine main modes that are used to group trading signals. A user can sort «First Wise Man», «Second Wise Man» and «Blue Light Special» signals, as well as fractal signals, breakout signals of 20-period channels and TSS (opening of Alligator’s jaws). The mode that shows all trading signals for all trading instruments from the «Market Watch» is called «All Symbols».

The «General mode» is selected by default. When attaching the Expert Advisor to the chart, this mode begins the analysis of trading signals for market entry points. In addition, it displays trading instruments with open positions at the very top of the signal table for easier management. After entering a position in this mode, apart from signals for the market entry, you will also be able to see auxiliary signals, including the ones that are opposite to the market movement. For example, you bought a currency pair at the breakout of the fractal level and the next day the Expert Advisor shows a bearish divergence signal, warning you about the possible market reversal against your position.

There is an additional hidden mode which is called the «Candidate». It allows you to single out currency pairs that have potential but lack the trading signal at this point across the entire list of currency pairs. To do this, you need to double-click on the name of the relevant trading instrument. The icon is then outlined in purple and the currency pair is moved on top of the symbol list in the signal panel, below the currency pairs with an open position. To remove the purple frame, you need to double click on it again.

The «Current Chart» mode is intended for trading a specific currency pair on the selected time frame in a separate window. In this mode, the Expert Advisor automatically adjusts to the relevant time frame and detects trading signals on it. To switch between the time frames, we use the MetaTrader 5 program interface instead of the icon in the signal panel.

Time Frames

By default, the Expert Advisor can work on the following time frames:

D1, H4, H1, M30, M15, M5, W1, MN1

The first one on the list is the daily time frame. Upon attaching the Expert Advisor to the chart, the trader by default gets signals over that range as it is considered to be the main and less risky time frame. In addition, using AutoFormat indicator functions, the trader can expand the wave on the daily time frame into the waves on smaller time frames to be able to accurately calculate wave markings, provided that the chart has at least 140 bars. And in the Current Chart mode, you can attach the Expert Advisor to such chart in a separate window. The Expert Advisor has the function that allows it to adapt to signal search on any time frame. For example, if you switch to a 10-minute time frame and decide to continue trading on it and check the available signals, you will need to select the Current Chart mode in the signal panel.

The trader can specify any other required parameters in the Expert Advisor settings, specifying TF in the relevant field of the settings.

Trading Panel Features

An additional «Trading panel» opens (closes) after clicking on the trading signal or time frame icon for the selected instrument.

Trading panel offers three position entry options:

  • Pending — entering at the breakout of the specified level by Bid price (by default, we use the signal bar High/Low +/- DefaultLuft = spread). Tracking of the level breakout starts after the signal is formed.
  • Market – market entry at the current price. It works for any signal, including unconfirmed ones.
  • Autoactivation — autoactivation of signals in the direction defined by the trader or automatically in the direction of the price momentum.

Lot size — calculated automatically as 2% of the trading account balance for daily, weekly and monthly periods and 0.2% of the account balance for periods lower than daily. The trader can set other necessary parameters in the settings.

Three Stop Loss setting options:

  • By the last opposite fractal (-/+ DefaultLuft points);
  • By the last extremum of 3 bars (-/+ DefaultLuft points);
  • At the specified level.

Three Take Profit setting options:

  • Manual;
  • Using a coefficient applied to the Stop Loss. For example, if the distance from the position entry to the Stop Loss is 100 and the coefficient of 2 is applied, the Expert Advisor will set a target for the Take Profit of 200 points.
  • AB=CD. This parameter is automatically used for entries based on fractal breakouts. It means that over the interval from the entry point the Take Profit will be equal to the length of the preceding wave.

Three Trailing Stop setting options:

  • By Low/High of each profitable bar (-/+ DefaultLuft spread points);
  • A one-time shift of the Stop Loss to breakeven below the closed bar (-/+ DefaultLuft spread points);
  • Profit protection below (above) the bar closed in the Alligator’s jaws (-/+ DefaultLuft spread points);

Although the panel has several Stop Loss and Trailing Stop setting options, the Expert Advisor automatically selects the most suitable option for a particular transaction and begins to operate after clicking the «Apply» button. In order to cancel the operation of the Expert Advisor, you just need to click on «Reset». After clicking the «Apply» button, the lines indicating entry points, as well as the corresponding Stop Loss and Take Profit levels are displayed in the chart. You can move the Stop Loss and Take Profit levels to more appropriate ones for a given trade dragging them with the mouse.

There is also a possibility to manage these levels after entering the position. In that case, the Expert Advisor considers the moving of the level as switching to manual mode, whereby the Stop Loss triggers by hitting the level, rather than closing, thus protecting profits at the required level set by the trader.

Autoactivation of Signals in the Trading Panel

There is a possibility to enable automatic activation of signals in a certain direction (buy or sell) for every single chart. To do this, click the button for switching TF. A standard trading panel will appear, with «AutoActivation» displayed in the header instead of the signal name. Trading direction is selected by clicking on “AutoActivation”. It changes its color with every click: green is for buy signals, red is for sell ones, black is for disabled activation. After you have selected the direction, you should set the parameters, as they will be used when opening a position based on one of the activated signals. The following parameters should be left unchanged:

  • entry price (it will be calculated automatically as the set price will be outdated anyway);
  • Stop Loss level (unless «Manual SL» is selected).

All other parameters must be specified, as they will be used in activating the newly appeared signals. In addition to position parameters, you can also set the autoactivation function expiration time:

If you set the time which is less than the current time, it will be deemed the time of the following day (for example, if it is 14:20 now and the expiration time is set to 13:00, the autoactivation function will be disabled tomorrow at 13:00). The time specified is server time (which you can see in the chart and in the «Market Watch»). After clicking Apply, the relevant TF button is outlined in green or red and automatic activation begins. Upon appearing of a signal in the specified direction, it is immediately activated with the settings specified when enabling autoactivation. This is equivalent to cases where the signal with such settings is activated by the trader.

Simultaneous activation is possible for any number of signals in the same direction. Opposite signals are ignored (including, when activated manually). As soon as the expiration time value is reached, the autoactivation function is disabled. If there are signals activated by this function, they are not disabled and continue to wait to be triggered or canceled following the standard rules.

If any of the signals is triggered for a given symbol and TF in the direction which coincides with the direction of the autoactivation function, the function will be disabled immediately upon opening the position. And all co-directed activated signals for this symbol and TF will be disabled at the same time. In other words, if the buy wait is on and a buy position opens based on any of the signals, the autoactivation function stops its operation and any other buy signals (if any) are canceled. The position in this case remains active.

Autoactivation in Directed Price Momentum

This function is intended for a quick automation of position entry during price momentum in the direction of the price movement. The panel identifies momentum, highlights the time frame using the color of the price movement and automatically selects the direction of autoactivation in the trading panel. The trader only needs to click «Apply». The Expert Advisor will enter the marker based on the first performed signal in the momentum direction, setting the Stop Loss at the level of the opposite fractal and trailing profit using your selected option. The signal monitoring will stop when the histogram crosses the zero line, which suggests that momentum has been or is being lost.

Innovative Features of the Expert Advisor

The Expert Advisor has a number of additional innovative features.

  1. As mentioned earlier, pending orders and Stop Losses are virtual. This saves you from the troubles of a wrong market entry upon widening spread initiated by the broker. For example, the Expert Advisor will enter in the buy direction only if the Bid price is greater than the signal level by the spread value. The Stop Loss will not be affected by the mistake and only trigger after the price closes below (above) the set level plus (minus) the spread for a given symbol.
  2. «Non-random case» feature. The Expert Advisor continues tracking the signal with the wrong entry level over the set spread value.
  3. The possibility to move Stop Loss and Take Profit levels using the mouse. To be able to set the new Stop Loss level, all you need is to click on the rectangle displayed on the line and drag the line to the required place using the mouse. The Trailing Stop is in this case disabled automatically. The Expert Advisor takes these actions as a change to the manual trade management and disables the Trailing Stop. Stop trade is triggered by the contact instead of the closing, as set by default.
  4. The panel features a signal block. The trader can set the required methods of notification of the new trading signals.
  5. The Expert Advisor has an adjustable money management block. 2% of the deposit balance is set by default. Furthermore, the Expert Advisor will reject opening new positions if the free margin on the account will be less than 100%. The trader does not need to independently select the necessary position lots, taking into consideration the price risk of one point of the price movement in the deposit currency for a specific instrument.

Getting the МetaТrader 5 Platform Ready for Work

When connected for the first time, the Expert Advisor automatically loads the entire quotes history available on the server. It can take a few minutes if a lot of trading instruments are displayed in the «Market Watch». To speed up loading, you need to press Ctrl+O key combination and specify a reasonable value of «Max. bars in the window» in the «Charts» tab. Note that each applied instrument and time frame use RAM. Every indicator attached to the chart will use even more RAM.

When switching between charts, МetaТrader 5 does not release memory resources. This is done to be able to quickly return to recently used data. This can slow down the operation of the terminal when working with a great number of instruments, time frames and indicators. If you use D1 or a higher time frame, you will not need more than 5000 bars. Set the specified value in the settings and restart the terminal. In the «Expert Advisors» tab, you should enable the «Allow Auto Trading» option. In addition, it is recommended to set up an email in MetaTrader 5 to be able to get real-time trading signals to your email from the Expert Advisor working on a dedicated server. If you sign up for MQL5.community, you will be able to get free updates of software products right in the МetaТrader 5 terminal.

Preparing the Chart for EA

Before working with the Expert Advisor, you need to properly prepare the chart. Create a template under the name ‘default’. Include and save to it the required indicators, as follows:

as well as the indicators provided in the МetaТrader 5 platform by default:

  • Gator Oscillator
  • Market Facilitation Index (MFI)

The graphical indicators are plotted in strict accordance with B. Williams recommendations. Trading signal markings are synchronized with signal panel readings. The indicators are not included in the Trading Chaos Expert package and should be purchased extra. To cut expenses, you can use indicators built-in МetaТrader 5, such as Alligator, Fractals and Awesome Oscillator, that do not have a function for marking trading signals. You should bear in mind that the trading signal quality in this case will be considerably lower. Furthermore, you should not save the panel to the template. It is more advisable to use hot keys for calling the Expert Advisor on the chart. For example, you can set CTRL+1.

How It Works

After successfully loading the history for all the specified instruments and time frames, you will see a table of signals on D1. The current symbol displayed in the chart and the chart time frame are highlighted in a darker color. A click on a TF name (next to any symbol) takes you to the corresponding chart in the current window. If you click on the icon of any of the signals, an additional trading panel will open for you to trade and manage positions. Specify the necessary parameters and click «Apply» — all the parameters will be saved and restored if the Expert Advisor, terminal or computer is restarted. The relevant signal will in this case be outlined. Entry and Stop Loss levels will be marked with lines.

After saving the parameters of a given signal by clicking on the «Apply» button, you can proceed to enabling the next one. If you click on «Reset», all settings will be reset to default values, whereby trading based on the given signal is disabled. To enable trading, you should again set the parameters and click «Apply». The signal will become outlined and monitored by the Expert Advisor. All other signals that you intend to use to enter the market are set in a similar way. Once this is done, you can hide the window by clicking on the cross or any inactive signal, in which case the signals continue to be monitored by the Expert Advisor that tracks all activated entries and responds to market changes.

Trading Using the Expert Advisor

The Expert Advisor identifies a trading signal in line with the strategy and displays it in the table. To view the signal, you should click on the icon of the time frame on which the signal is displayed. The chart will switch to the required time frame with the set of indicators you saved for the corresponding template. If you additionally bought a complete set of indicators for the strategy and saved them to the template, the modified indicators will show this signal in the chart.

There are preliminary signals on an uncompleted candlestick and formed signals confirmed by closing of the period. Preliminary signal function is provided to prepare the trader for a signal. If the trader likes a preliminary signal, he can immediately activate the Expert Advisor to trade on this signal. To do this, you need to click on the signal icon and then click «Apply» in the trading panel. The icon will get outlined. If the border is red, it means that sell signals are accepted, if the border is green — buy signals.

From that moment on, the Expert Advisor will track this signal. If the signal is formed, the Expert Advisor will set the virtual pending order, as well as the Stop Loss based on this signal. After setting pending orders, the chart will show dashed lines indicating entry levels, Stop Loss and Take Profit. The Expert Advisor will enter the market at the signal level breakout. After entering the market, the name of the instrument in the table will be highlighted with the relevant color: green indicates a buy position, whereas red suggests a sell position.

If the signal is canceled, the Expert Advisor will stop tracking the signal and will not enter the market. The frame of the signal icon will in this case disappear. The trader may cancel the market entry by clicking «Reset». Thus, the trader has the possibility to get all major signals in a single window and automate signal-based trading. Besides, it allows you to avoid the danger of entering the market using a canceled signal.

While trading, the trader can add positions based on trading signals in the direction of an open position or reverse based on the opposite signals, as well as use automated trading for multiple instruments at the same time, without opening additional chart windows. This offers significant risk hedging opportunities in trading.


To work with my software tools, it is advisable to have a high-performance computer for the market analysis. Trading operations will require a high-performance (at least 1 GB of RAM) dedicated VPS server with a good communication channel.


This is a complex software product which does not, however, need any additional settings. It is completely ready for use. To ensure efficient use of the Expert Advisor and positive trading results, you need to have a good knowledge and complete understanding of the trading strategies developed by Bill and Justin Williams — «Trading Chaos» and «New Trading Dimensions».

Possible Problems

No lags or any cases of abnormal behavior were detected over the course of panel use. However, after removing the Expert Advisor from the chart, its signals remain on the chart due to video memory properties. Old signals and symbols can be cleared using two methods:

  1. Load the ‘Default’ template that only enables indicators.
  2. Right-click on the chart, select «Object list», then «Full list», press CTRL+A (to select all objects) and click on the «Delete» button.

In case something is not clear in the operation of the Expert Advisor, you can check the «Experts» or «Journal» tabs of the Toolbox. Every day, the entire history of operation of the Expert Advisor is saved in files of Logs folder located at C:\Program Files\MetaTrader 5\MQL5\Logs

I will be happy to answer any questions you may have and will help you to install any purchased products on your computers remotely using TeamViewer, at no charge. But before asking questions or turning to me for help, I urge you to carefully read the product description, test the panel in a demo mode on a demo account, rather than in the Strategy Tester, and familiarize yourself with additional information provided on this page. The website offers a function for translation of the text into different languages.

Good luck!

So. The iTradeChaos complex includes following indicators: