Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Script | Calculation of the 3-rd Elliott wave

Presented is the script for the calculation of the third Elliott wave based on the algorithm suggested by Bill Williams in his book "Trading Chaos".

(Comment to the figure 7-15 in this book)

This script uses the standard OBJ_EXPANSION object (Fibonacci extension)

In order to start the calculation it is necessary to move first coordinate of the object created by the script to the supposed start of the first wave to the Low of a bar (for bullish version), the second coordinate to the High of the bar where the first wave is expected to end and the second is expected to start. The third coordinate should be moved to the Low of the expected end of the second wave.

(For the bearish version, the prices of the coordinates must be - High for the first, Low for the second, High for the third)

The script automatically detects bullish and bearish versions of the third Elliott wave.

The red crosses mark the price for the ratio (price/time) where the "supposed" third wave "should" end.

And more: for a more accurate calculation the script requires a "sufficient" number of bars in the first and second waves.

MetaTrader Experts, Indicators, Scripts and Libraries

P.S. If you like this script, it might be possible to make another for the calculation of the fifth Elliott wave based on the formed third and fourth waves.

7156

Best MetaTrader Indicators + Profitable Expert Advisors