OPEN-SOURCE SCRIPT
Elliott Wave Auto S

๐ ELLIOTT WAVE AUTO โ Automatic Elliott Wave Detection
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ THE HISTORY
Ralph Nelson Elliott (1871-1948), an American accountant, spent his forced retirement analyzing 75 years of Dow Jones data... by hand. In 1938, he published "The Wave Principle", revealing that markets move in repetitive patterns of 5 impulse waves followed by 3 corrective waves (A-B-C).
What's often forgotten: Elliott worked primarily on MONTHLY and WEEKLY timeframes. A complete cycle could take months, even years. It was a strategy of PATIENCE, not scalping.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ OUR APPROACH
This indicator attempts to stay as close as possible to Elliott's original method. The algorithm uses Pivot Point detection (ta.pivothigh / ta.pivotlow) to objectively identify tops and bottoms.
Unlike manual counting where 3 analysts give 3 different results, this method is:
โ Mathematical โ No subjective interpretation
โ Reproducible โ 100 traders = 1 single count
โ Automatic โ Real-time detection
โ Open source โ Nothing hidden, study it freely
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ORANGE LABELS โ INVALIDATIONS
You will sometimes notice ORANGE labels with the โ symbol on your chart. These are not errors! They indicate that a fundamental Elliott rule has been violated, invalidating the current cycle.
Back in his time, Elliott established strict rules to validate a count. If any of these rules is broken, the cycle is no longer valid and we must start looking for a new starting point.
Here are the 3 fundamental rules applied by this indicator:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ RULE 1: Wave 2 NEVER retraces 100% of Wave 1 โ
โ โ
โ If Wave 2 price exceeds the starting point of Wave 1, โ
โ it wasn't a true Wave 1. โ
โ โ The indicator then reverses the trend (BULL โ BEAR) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ RULE 2: Wave 3 is NEVER the shortest โ
โ โ
โ Wave 3 is supposed to be the most powerful. If it's shorter โ
โ than Wave 1 AND Wave 5, the count is invalid. โ
โ โ Orange label "5 โ" displayed, cycle cancelled โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ RULE 3: Wave 4 NEVER overlaps Wave 1 territory โ
โ โ
โ In an uptrend: Wave 4 low cannot drop below Wave 1 high. โ
โ In a downtrend: Wave 4 high cannot exceed Wave 1 low. โ
โ โ Orange label "4 โ" displayed, cycle cancelled โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก These invalidations are NORMAL and part of the method. They ensure that only cycles perfectly respecting Elliott's theory are counted. That's why you'll see few complete cycles โ exactly like in Elliott's time.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ HOW TO USE IT
โธ Wave 1: Cycle start detected. Watch, don't act.
โธ Wave 2: Potential ENTRY zone. The retracement is over,
Wave 3 (the most powerful) should follow.
โธ Wave 3: The most powerful! Never trade against a Wave 3.
Let your profits run.
โธ Wave 4: Second potential ENTRY zone for those who missed Wave 2.
โธ Wave 5: Last impulse. Prepare your EXIT.
The impulse cycle is ending.
โธ Waves A-B-C: Correction phase. Patience recommended.
Wait for the end of C for the next cycle.
โธ Orange Label โ: Rule violated, cycle invalidated.
The indicator starts looking for a new cycle.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ TOGGLEABLE ALERTS
Each wave has its own alert, individually toggleable in the settings:
๐ Wave 1 โ Cycle start
๐ Wave 2 โ Potential entry zone
๐ Wave 3 โ The most powerful
๐ Wave 4 โ Potential entry zone
๐ Wave 5 โ Last impulse
๐ Wave A โ Correction start
๐ Wave B โ Corrective bounce
๐ Wave C โ Correction end
โ Complete cycle
๐ก Tip: Enable only the alerts that match your strategy. For example, only "Wave 2" and "Wave 4" for entries, and "Wave 5" for exits.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SETTINGS
โธ Move Size:
โข Small = More signals, more noise (scalping)
โข Medium = Balanced (intraday/swing) โ Recommended
โข Large = Fewer signals, more reliable (position)
Note: Sensitivity automatically adjusts based on your
timeframe for optimal results.
โธ Labels: Display 1, 2, 3, 4, 5, A, B, C on the chart
โธ Lines: Visually connect the waves
โธ Fibonacci Ratios: Display each wave's ratio (optional)
โธ Label Size: Small / Normal / Large per your preference
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐จ COLOR CODE
๐ข Green = Bullish trend (BULL)
๐ด Red = Bearish trend (BEAR)
๐ฃ Pink/Purple = Corrective waves (A, B, C)
๐ Orange = Invalidation (Elliott rule violated)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ DISCLAIMER
Like in Elliott's time, complete 1-2-3-4-5-A-B-C cycles are RARE. This is normal and intentional.
The Elliott Wave method is a patience strategy that rewards those who know how to wait for perfect setups. The many invalidations (orange labels) prove that the indicator strictly respects the original rules.
If you're looking for dozens of signals per day, this method is probably not for you. But if you value quality over quantity, welcome.
Happy trading! ๐
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ THE HISTORY
Ralph Nelson Elliott (1871-1948), an American accountant, spent his forced retirement analyzing 75 years of Dow Jones data... by hand. In 1938, he published "The Wave Principle", revealing that markets move in repetitive patterns of 5 impulse waves followed by 3 corrective waves (A-B-C).
What's often forgotten: Elliott worked primarily on MONTHLY and WEEKLY timeframes. A complete cycle could take months, even years. It was a strategy of PATIENCE, not scalping.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ OUR APPROACH
This indicator attempts to stay as close as possible to Elliott's original method. The algorithm uses Pivot Point detection (ta.pivothigh / ta.pivotlow) to objectively identify tops and bottoms.
Unlike manual counting where 3 analysts give 3 different results, this method is:
โ Mathematical โ No subjective interpretation
โ Reproducible โ 100 traders = 1 single count
โ Automatic โ Real-time detection
โ Open source โ Nothing hidden, study it freely
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ORANGE LABELS โ INVALIDATIONS
You will sometimes notice ORANGE labels with the โ symbol on your chart. These are not errors! They indicate that a fundamental Elliott rule has been violated, invalidating the current cycle.
Back in his time, Elliott established strict rules to validate a count. If any of these rules is broken, the cycle is no longer valid and we must start looking for a new starting point.
Here are the 3 fundamental rules applied by this indicator:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ RULE 1: Wave 2 NEVER retraces 100% of Wave 1 โ
โ โ
โ If Wave 2 price exceeds the starting point of Wave 1, โ
โ it wasn't a true Wave 1. โ
โ โ The indicator then reverses the trend (BULL โ BEAR) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ RULE 2: Wave 3 is NEVER the shortest โ
โ โ
โ Wave 3 is supposed to be the most powerful. If it's shorter โ
โ than Wave 1 AND Wave 5, the count is invalid. โ
โ โ Orange label "5 โ" displayed, cycle cancelled โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ RULE 3: Wave 4 NEVER overlaps Wave 1 territory โ
โ โ
โ In an uptrend: Wave 4 low cannot drop below Wave 1 high. โ
โ In a downtrend: Wave 4 high cannot exceed Wave 1 low. โ
โ โ Orange label "4 โ" displayed, cycle cancelled โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก These invalidations are NORMAL and part of the method. They ensure that only cycles perfectly respecting Elliott's theory are counted. That's why you'll see few complete cycles โ exactly like in Elliott's time.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ HOW TO USE IT
โธ Wave 1: Cycle start detected. Watch, don't act.
โธ Wave 2: Potential ENTRY zone. The retracement is over,
Wave 3 (the most powerful) should follow.
โธ Wave 3: The most powerful! Never trade against a Wave 3.
Let your profits run.
โธ Wave 4: Second potential ENTRY zone for those who missed Wave 2.
โธ Wave 5: Last impulse. Prepare your EXIT.
The impulse cycle is ending.
โธ Waves A-B-C: Correction phase. Patience recommended.
Wait for the end of C for the next cycle.
โธ Orange Label โ: Rule violated, cycle invalidated.
The indicator starts looking for a new cycle.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ TOGGLEABLE ALERTS
Each wave has its own alert, individually toggleable in the settings:
๐ Wave 1 โ Cycle start
๐ Wave 2 โ Potential entry zone
๐ Wave 3 โ The most powerful
๐ Wave 4 โ Potential entry zone
๐ Wave 5 โ Last impulse
๐ Wave A โ Correction start
๐ Wave B โ Corrective bounce
๐ Wave C โ Correction end
โ Complete cycle
๐ก Tip: Enable only the alerts that match your strategy. For example, only "Wave 2" and "Wave 4" for entries, and "Wave 5" for exits.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SETTINGS
โธ Move Size:
โข Small = More signals, more noise (scalping)
โข Medium = Balanced (intraday/swing) โ Recommended
โข Large = Fewer signals, more reliable (position)
Note: Sensitivity automatically adjusts based on your
timeframe for optimal results.
โธ Labels: Display 1, 2, 3, 4, 5, A, B, C on the chart
โธ Lines: Visually connect the waves
โธ Fibonacci Ratios: Display each wave's ratio (optional)
โธ Label Size: Small / Normal / Large per your preference
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐จ COLOR CODE
๐ข Green = Bullish trend (BULL)
๐ด Red = Bearish trend (BEAR)
๐ฃ Pink/Purple = Corrective waves (A, B, C)
๐ Orange = Invalidation (Elliott rule violated)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ DISCLAIMER
Like in Elliott's time, complete 1-2-3-4-5-A-B-C cycles are RARE. This is normal and intentional.
The Elliott Wave method is a patience strategy that rewards those who know how to wait for perfect setups. The many invalidations (orange labels) prove that the indicator strictly respects the original rules.
If you're looking for dozens of signals per day, this method is probably not for you. But if you value quality over quantity, welcome.
Happy trading! ๐
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.