PROTECTED SOURCE SCRIPT
Ichimoku Horizon v2

Ichimoku Horizon v2
Multi-timeframe Ichimoku. Pine Script v6.
lookahead_off, no-repaint. Chart timeframe + up to three higher horizons.

What’s new in v2
Presets (+ Custom mode).
Timeframe banner.
Lines and colors configurable per TF.
Right-side labels for Tenkan/Kijun + “Kumo TF” labels.

Preset structure
Timeframe 1 = short horizon → blue.
Timeframe 2 = medium horizon → green.
Timeframe 3 = long horizon → violet.
MTF display is automatic only when the selected TF is higher than the chart TF.

Calculation rules
Tenkan 9, Kijun 26, SSB 52, Displacement 26.
SSA = average(Tenkan, Kijun) projected +26.
SSB = (52-high + 52-low) / 2 projected +26.
Chikou = close plotted 26 periods back.

lookahead_off and no-repaint
lookahead_off: calculations use no future data. Lines update live while a bar forms, then freeze at close.
No-repaint: past values never change after close. Plots reflect the real-time state exactly.

Adjustable labels
Distance: per-TF right offset (in bars) to position labels.
Size and color: Tiny/Small/Normal/Large, color per TF.
Anti-overlap: automatic spacing when two labels share nearly the same price.

Disclaimer
Ichimoku Horizon is a decision-support tool. It guarantees no results and does not replace your analysis or training in trading and risk. Before risking capital, test on a demo account if possible. Match parameters to your asset and horizon. Markets are volatile: losses, including total loss, are possible. Use risk management.

Multi-timeframe Ichimoku. Pine Script v6.
lookahead_off, no-repaint. Chart timeframe + up to three higher horizons.
What’s new in v2
Presets (+ Custom mode).
Timeframe banner.
Lines and colors configurable per TF.
Right-side labels for Tenkan/Kijun + “Kumo TF” labels.
Preset structure
Timeframe 1 = short horizon → blue.
Timeframe 2 = medium horizon → green.
Timeframe 3 = long horizon → violet.
MTF display is automatic only when the selected TF is higher than the chart TF.
Calculation rules
Tenkan 9, Kijun 26, SSB 52, Displacement 26.
SSA = average(Tenkan, Kijun) projected +26.
SSB = (52-high + 52-low) / 2 projected +26.
Chikou = close plotted 26 periods back.
lookahead_off and no-repaint
lookahead_off: calculations use no future data. Lines update live while a bar forms, then freeze at close.
No-repaint: past values never change after close. Plots reflect the real-time state exactly.
Adjustable labels
Distance: per-TF right offset (in bars) to position labels.
Size and color: Tiny/Small/Normal/Large, color per TF.
Anti-overlap: automatic spacing when two labels share nearly the same price.
Disclaimer
Ichimoku Horizon is a decision-support tool. It guarantees no results and does not replace your analysis or training in trading and risk. Before risking capital, test on a demo account if possible. Match parameters to your asset and horizon. Markets are volatile: losses, including total loss, are possible. Use risk management.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.