Ichimoku Basic Alerts
Feb 12, 2021

The Ichimoku Basic Alerts indicator provides a comprehensive trading system based on the Ichimoku Kinko Hyo framework, enhanced with signal alerts and momentum filtering.
Usage
The indicator generates buy and sell signals based on multiple Ichimoku conditions occurring simultaneously. Users can utilize these signals to identify trend-following entries confirmed by the "Cloud" (Kumo).
- Long Signals: Occur when the Tenkan-Sen crosses over the Kijun-Sen while the price is above the Cloud, the Chikou-Span confirms positive momentum, and the Senkou-Span A is above Senkou-Span B.
- Short Signals: Occur when the Tenkan-Sen crosses under the Kijun-Sen while the price is below the Cloud, the Chikou-Span confirms negative momentum, and the Senkou-Span A is below Senkou-Span B.
- RSI Integration: You can enable RSI or Stochastic RSI filtering to prevent entering trades in overextended conditions or to trigger take-profit exits when the oscillator hits overbought/oversold levels.
Details
This script is a refactored version of the classical Ichimoku Kinko Hyo, specifically optimized for modern Pine Script standards and alerting. It calculates the five main components:
- Tenkan-Sen (Conversion Line): 9-period mid-point.
- Kijun-Sen (Base Line): 26-period mid-point.
- Senkou Span A (Leading Span A): Mid-point of Tenkan and Kijun, projected forward.
- Senkou Span B (Leading Span B): 52-period mid-point, projected forward.
- Chikou Span (Lagging Span): Current closing price projected backward.
The logic requires all components to align (Tenkan/Kijun cross, Chikou momentum, and Cloud position) before a signal is printed, ensuring a high-confluence trend entry.
Settings
Ichimoku Cloud
- Tenkan-Sen Bars: The period for the conversion line (default 9).
- Kijun-Sen Bars: The period for the base line (default 26).
- Senkou-Span B Bars: The period for the second leading span (default 52).
- Chikou-Span Offset: The number of bars to offset the lagging span.
- Senkou-Span Offset: The number of bars to project the cloud forward.
- Long/Short Entry: Toggles to enable or disable specific directional signals.
RSI
- Use for Entry: When enabled, prevents long entries if RSI is overbought or short entries if RSI is oversold.
- Use for Take Profit: When enabled, triggers an exit signal when the RSI reaches the opposite extreme.
- RSI Period: The lookback length for the RSI calculation.
- Overbought/Oversold Levels: The threshold values for the oscillator.
Stoch RSI Toggle
- Toggle RSI inputs to use Stoch RSI: Switches the filter from standard RSI to a Stochastic RSI calculation.
- Stoch RSI Length: The period used for the Stochastic calculation applied to the RSI.
FAQ
How do I use the alerts with this indicator?
You can use the built-in alert conditions for "Open Long", "Open Short", and "Take Profit" signals. Simply use the TradingView Alert dialog and select this script as the condition.
Can I change the Ichimoku settings for faster timeframes?
Yes, all periods (9, 26, 52) are customizable in the settings menu to accommodate different trading styles like scalping or swing trading.
How do I access Ichimoku Basic Alerts?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

