OPEN-SOURCE SCRIPT
CRR 5P ZZ SIMPLE

It detects High and Low pivots using the number of bars you choose.
It connects these pivots, forming a professional ZigZag pattern.
Every time the price changes direction (from high to low or low to high), it draws a new leg of the movement.
Each leg receives a number from 1 to 5, showing the "Elliott" wave sequence simply and automatically.
⚙️ How does it work?
It identifies a HIGH pivot → bullish leg.
It identifies a LOW pivot → bearish leg.
When it detects a change from HIGH to LOW or LOW to HIGH:
It draws the ZigZag line.
It advances the wave counter (1–5).
It places a number in the middle of the line.
Green lines represent bullish legs,
red lines represent bearish legs.
🎯 What is it for?
To see the real market structure without noise.
To quickly identify key movements.
To help you understand the 1–5 wave progression without complications.
Ideal for scalping, day trading, and structural analysis.
If you'd like, I can create a short manual, a client version, or a marketing-style explanation for social media.
It connects these pivots, forming a professional ZigZag pattern.
Every time the price changes direction (from high to low or low to high), it draws a new leg of the movement.
Each leg receives a number from 1 to 5, showing the "Elliott" wave sequence simply and automatically.
⚙️ How does it work?
It identifies a HIGH pivot → bullish leg.
It identifies a LOW pivot → bearish leg.
When it detects a change from HIGH to LOW or LOW to HIGH:
It draws the ZigZag line.
It advances the wave counter (1–5).
It places a number in the middle of the line.
Green lines represent bullish legs,
red lines represent bearish legs.
🎯 What is it for?
To see the real market structure without noise.
To quickly identify key movements.
To help you understand the 1–5 wave progression without complications.
Ideal for scalping, day trading, and structural analysis.
If you'd like, I can create a short manual, a client version, or a marketing-style explanation for social media.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.