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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。