New AI Backtesting Assistant Launch!

Elliott Wave

Mar 6, 2023
Static chart image
Forecasting
Patterns
Pivot Based (Retrospective)

Works on the Following Platforms

TradingView
For free use on the TradingView platform
NinjaTrader
For free use on the NinjaTrader platform
MetaTrader 4
For free use on the MetaTrader 4 platform
MetaTrader 5
For free use on the MetaTrader 5 platform
Thinkorswim
For free use on the Thinkorswim platform

The Elliott Wave indicator allows users to detect Elliott Wave (EW) impulses as well as corrective segments automatically on the chart. These are detected and displayed serially, allowing users to keep track of the evolution of an impulse or corrective wave.

Fibonacci retracements constructed from detected impulse waves are also included.

This script additionally allows users to get alerted on a wide variety of trigger conditions (see the ALERTS section below).

SETTINGS

indicator image

Source

• "high" -> options high, close, maximum of open/close • "low" -> options low, close, minimum of open/close

ZigZag

• The source and length are used to check whether a new Pivot Point is found.

Example: • source = high/low, length = 10: • There is a new pivot  high when:

  • previous high is higher than current high
  • the highs of 10 bars prior to previous high are all lower

• These pivot  points  are used to form the ZigZag lines, which in their turn are used for pattern recognition

USAGE

The basic principles we use to identify Elliott Wave impulses are:

• A movement in the direction of the trend (*Motive/Impulse wave*) is divided in 5 waves (Wave 1 -> 5)
• The *Corrective Wave* (against the trend) is divided in 3 waves (Wave A -> C)
• The waves can be subdivided in smaller waves
• **Wave 2** can’t retrace more than the beginning of **Wave 1**
• **Wave 4** does not overlap with the price territory of **Wave 1**

indicator image

Here we see an example:

indicator image

Let's look at the development:

• 1 bar after point (5) a confirmed 5 Motive Wave pattern is found (1 -> 5; The 5 Waves can also be seen as one large Wave 1). • Next, the script draws a set of Fibonacci lines, which are area's where the Corrective Wave potentially will bounce.

indicator image

Here we see the fifth wave is getting larger, the previous highest point is updated, and the Wave 5 is larger than Wave 3:

indicator image indicator image

(At this point, the pattern is invalidated, and it display as dotted)

Further progression in time:

indicator image indicator image

At this point, a confirmed "3 Corrective Wave pattern" is found (a -> c)

indicator image

When a new high has developed, a circle is drawn (in the same color of the lines)

indicator image

However, when the bottom of the drawn box has breached, a red cross will be visualized.

indicator image

Further progression:

indicator image

Later on, a bearish  confirmed "5 Motive Wave pattern" is found (1 -> 5):

indicator image

When a Corrective Wave becomes invalidated, the ABC pattern will display as dashed (not dotted):

indicator image

TECHNIQUES

Pine Script™ introduces methods!

• More information can be found here: • Pine Script™ v5 User Manual 👉 MethodsPine Script™ language reference manual 👉 method

ALERTS

Dynamic alerts are included in the script, you only need to set 1 alert to receive following messages:

• When a new EW Motive Pattern is found (Bullish/Bearish ) • When a new EW Corrective Pattern is found (Bullish/Bearish ) • When an EW Motive Pattern is invalidated (Bullish/Bearish ) • When an EW Corrective Pattern is invalidated (Bullish/Bearish ) • When possible, a start of a new EW Motive Wave is found (Bullish/Bearish ) • Here is information how you can set these alerts()

Trading is risky and many will lose money in connection with trading activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other markets involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools for charting platforms, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content or tool we provide.

Charts used on this site are by TradingView in which the majority of our tools are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com. TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2025 LuxAlgo Global, LLC.