PROTECTED SOURCE SCRIPT
已更新

4H Candle Body

1 345
📢 Script Release: 4H Candle Body Overlay (All Timeframes ≤ 4H)
This indicator overlays the body of each 4-hour candle on lower timeframes, helping you visualize higher timeframe market structure while trading intraday.

🧠 Key Features:
✅ Works on any timeframe equal to or below 4H (including 1min, 5min, 15min, 1H)

📦 Displays a live-forming candle box for the current 4H bar

🕯️ Highlights the previous 4H candle body for clear trend structure

⏰ Automatically draws horizontal time markers at key hours (e.g. 08:00, 12:00, etc.)

🔗 Optional vertical guides every 4 hours to support intraday alignment

🌏 Timezone support: defaults to UTC+8 (Asia/Taipei)

⚙️ Technical Enhancements:
Stable even on 1-minute charts (no crashing or broken lines)

Protects against drawing into non-existent future bars

Efficient bar_index management using dynamic bar distance calculation

Includes safety limits (e.g. max forward projection of 500 bars)

💡 Ideal For:
Traders using multi-timeframe analysis

Intraday scalpers wanting to respect higher timeframe structure

Backtesting 4H-based strategies on smaller timeframes
版本注释
📢 Script Release: Adaptive 4H Candle Body Overlay (All Timeframes ≤ 4H)
This indicator overlays the body of each 4-hour candle on lower timeframes, helping you visualize higher timeframe market structure while trading intraday.

🧠 Key Features:
✅ Works on any timeframe equal to or below 4H (including 1min, 5min, 15min, 1H)

📦 Displays a live-forming candle box for the current 4H bar

🕯️ Highlights the previous 4H candle body for clear trend structure

⏰ Automatically draws horizontal time markers at key hours (e.g. 08:00, 12:00, etc.)

🔗 Optional vertical guides every 4 hours to support intraday alignment

🌏 Timezone support: defaults to UTC+8 (Asia/Taipei)

⚙️ Technical Enhancements:
Stable even on 1-minute charts (no crashing or broken lines)

Protects against drawing into non-existent future bars

Efficient bar_index management using dynamic bar distance calculation

Includes safety limits (e.g. max forward projection of 500 bars)

💡 Ideal For:
Traders using multi-timeframe analysis

Intraday scalpers wanting to respect higher timeframe structure

Backtesting 4H-based strategies on smaller timeframes
版本注释
Fix the delay bug
版本注释
update new input
版本注释
updated enjoy it!!
版本注释
fix some bug

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。