OPEN-SOURCE SCRIPT
更新済 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.
リリースノート
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.
リリースノート
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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。