OPEN-SOURCE SCRIPT
Aggiornato Chan Lun Bi, Pivot & MACD Div - INVESTCHI

This indicator combines Chan Lun (Zen Theory) structure with MACD Divergence to help you spot trends and potential reversals easily.
Key Features
1. Auto Lines (Bi): Automatically connects highs and lows to visualize the market trend (Strokes).
2. Pivots (Blue Boxes): Automatically highlights consolidation zones (Zhong Shu). These areas act as key Support and Resistance.
3. Buy & Sell Signals (New!)
🟢 BUY Label: Appears when Bottom Divergence occurs (Price makes a lower low, but MACD momentum is stronger).
🔴 SELL Label: Appears when Top Divergence occurs (Price makes a higher high, but MACD momentum is weaker).
How to Use
- Trend Following: Use the connected lines to see the main direction.
- Reversals: Look for Green BUY labels at the bottom of a trend and Red SELL labels at the top.
- Breakouts: Watch how price reacts to the Blue Pivot Boxes.
Settings
- Fractal Length: Adjusts how sensitive the lines are (default is 5).
- Strict Filter: Keeps the chart clean by filtering out small noise.
Disclaimer: For educational purposes only.
Key Features
1. Auto Lines (Bi): Automatically connects highs and lows to visualize the market trend (Strokes).
2. Pivots (Blue Boxes): Automatically highlights consolidation zones (Zhong Shu). These areas act as key Support and Resistance.
3. Buy & Sell Signals (New!)
🟢 BUY Label: Appears when Bottom Divergence occurs (Price makes a lower low, but MACD momentum is stronger).
🔴 SELL Label: Appears when Top Divergence occurs (Price makes a higher high, but MACD momentum is weaker).
How to Use
- Trend Following: Use the connected lines to see the main direction.
- Reversals: Look for Green BUY labels at the bottom of a trend and Red SELL labels at the top.
- Breakouts: Watch how price reacts to the Blue Pivot Boxes.
Settings
- Fractal Length: Adjusts how sensitive the lines are (default is 5).
- Strict Filter: Keeps the chart clean by filtering out small noise.
Disclaimer: For educational purposes only.
Note di rilascio
Update: Auto-Colored PivotsWe made the Pivot Boxes smarter and cleaner!
Smart Colors:
- Up Trend Pivots: Now match your Up Line color (e.g., Red).
- Down Trend Pivots: Now match your Down Line color (e.g., Green).
- Why? This helps you see if the market structure is Bullish or Bearish instantly.
Cleaner Look:
- The boxes are now very transparent (only 4% visibility).
- This keeps your chart clean so you can see the candles clearly.
Note di rilascio
Update: English & Larger Labels- English Translation: All settings, menus, and code comments are now in English.
- Larger Signals: The font size for 1B/2S/3B buy and sell labels has been increased (to size.normal) for better readability.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.