OPEN-SOURCE SCRIPT
Ichimoku 2 sets of settings, markers and alerts

This is my take on the masterful, beautiful and powerful Ichimoku.
It comes with:
- 2 sets of settings you can flip between,
- 5 types of markers:
--- Tenkan/Kijun crosses,
--- Price (close)/Tenkan crosses, with the option of only showing those occurring with the trend, so on pullbacks,
--- Price (close) exits out of the Kumo,
--- Chikou exits out of the Kumo,
--- Overbought/Oversold conditions (shown on the chart).
- Choice of showing only long or short markers,
- Coloring of bars using OB/OS conditions,
- Alerts on all markers and on combinations.
The markers are intended as indications—not bulletproof buy/sell signals.
The overbought/oversold conditions are detected when the high/low is a multiple of ATR away from Kijun. The ATR length and multiple used are configurable.
I normally use the Josh Olszewicz (CarpeNoctom) big settings, so those are the default.
I prefer subtle coloring on charts and my choice of colors reflects that.
You will see references to KumoA and KumoB in the names of inputs and style elements. For me, KumoA is the top of the Kumo when it is bullish, so the bottom when bearish.
As usual when creating alerts, be sure you already have defined proper inputs and that you are on the intended interval, as they will be used when triggering alerts.
It comes with:
- 2 sets of settings you can flip between,
- 5 types of markers:
--- Tenkan/Kijun crosses,
--- Price (close)/Tenkan crosses, with the option of only showing those occurring with the trend, so on pullbacks,
--- Price (close) exits out of the Kumo,
--- Chikou exits out of the Kumo,
--- Overbought/Oversold conditions (shown on the chart).
- Choice of showing only long or short markers,
- Coloring of bars using OB/OS conditions,
- Alerts on all markers and on combinations.
The markers are intended as indications—not bulletproof buy/sell signals.
The overbought/oversold conditions are detected when the high/low is a multiple of ATR away from Kijun. The ATR length and multiple used are configurable.
I normally use the Josh Olszewicz (CarpeNoctom) big settings, so those are the default.
I prefer subtle coloring on charts and my choice of colors reflects that.
You will see references to KumoA and KumoB in the names of inputs and style elements. For me, KumoA is the top of the Kumo when it is bullish, so the bottom when bearish.
As usual when creating alerts, be sure you already have defined proper inputs and that you are on the intended interval, as they will be used when triggering alerts.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
"The stock market is a device for transferring money from the impatient to the patient."
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
"The stock market is a device for transferring money from the impatient to the patient."
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.