OPEN-SOURCE SCRIPT
已更新 Ichimoku Clouds Strong Bullish/Bearish signals and alerts

Ichimoku Clouds Strong Bullish/Bearish signals with allerts
The Ichimoku cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
We provide you easy-to-use script which helps to decrypt meaning of lines in the indicator. The script takes Ichimoku clouds indicator formulas to calculate Tenkan, Kijun, SenkouA, SenkouB values and examines them in order to produce buy ( Bullish ) and sell ( Bearish ) signals which are displayed at the chart
The most appropriate time frame is 30m
Custom alerts are added to send you a notice with a webhook when bullish or bearish signal arrives.
You can easily add weak and neutral signals alerts by removing "//" in a specified place
Feel free to copy and use this script for your ideas and trading. You can modify the script by adding Parabolic SAR in order to increase accuracy of positions closure
The Ichimoku cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
We provide you easy-to-use script which helps to decrypt meaning of lines in the indicator. The script takes Ichimoku clouds indicator formulas to calculate Tenkan, Kijun, SenkouA, SenkouB values and examines them in order to produce buy ( Bullish ) and sell ( Bearish ) signals which are displayed at the chart
The most appropriate time frame is 30m
Custom alerts are added to send you a notice with a webhook when bullish or bearish signal arrives.
You can easily add weak and neutral signals alerts by removing "//" in a specified place
Feel free to copy and use this script for your ideas and trading. You can modify the script by adding Parabolic SAR in order to increase accuracy of positions closure
版本注释
Key upgrades and enhancements made to the original script, transforming it into the final version:Additional Display Options for Ichimoku Lines:
- Introduced individual toggle options for displaying each of the Ichimoku lines: Tenkan, Kijun, Senkou A, Senkou B, and Chikou.
- Added separate options to control the display of displaced Senkou A and B lines.
Enhanced Signal Strength and Direction Control:
- Implemented dropdown menus to filter signals based on their strength (Strong, Weak, Neutral) and direction (Bullish, Bearish).
- Modified the signal calculation logic to incorporate these user-selected filtering options, allowing for more tailored analysis.
Improved Visualization and Customization:
- Adjusted the script to use labels instead of shapes for signals, offering more flexibility in positioning and avoiding direct modifications to price levels.
- Provided a mechanism for custom vertical offset adjustments, enabling better control over the visual placement of labels relative to the bars.
Color Transparency and Aesthetics:
Updated the script to use color.new() for defining transparent colors, particularly for filling between Senkou A and B lines, enhancing the visual appeal and clarity.
Robust and User-Friendly Design:
The script was revised to be more user-friendly, with clear options for customization and display, making it adaptable to different trading styles and preferences.
Adherence to Pine Script Standards:
Ensured that all modifications and enhancements adhere to the latest Pine Script v5 standards and practices, including resolving any syntax or deprecated feature issues.
These upgrades transformed the original Ichimoku Clouds script into a more versatile and user-customizable tool, aligning it more closely with specific trading strategies and user preferences.
版本注释
Renamed it to Indicator, strategy comes soon :)版本注释
What’s New in v31. Pine Script Upgraded:
- Migrated from Pine Script v5 to v6.
2. Single-Entry/Single-Exit Logic:
- Introduced a full trade state machine (variables for inTrade, entryPrice, exitPrice, etc.).
- Script now allows only one position at a time.
3. Time Window Filter:
- Added configurable Start/End Date and Time to restrict when trades can occur.
4. Separate Ichimoku Settings for Entry & Close:
- Two distinct sets of Ichimoku calculations/inputs:
Entry Ichimoku (for signals that open trades)
Close Ichimoku (for signals that exit trades)
5. Combined Signal Logic (ALL/ANY):
- User can choose to require “ALL” signals to align or allow “ANY” single condition to trigger an Entry or Close.
6. Position Modes:
- Removed Long, Short, Both position mode, now user can define it in a flexible way by selecting entry and close conditions
7. Integrated Stop-Loss & Take-Profit (Intrabar):
- Optional SL/TP in percentage terms; triggers are checked intrabar.
- Once triggered, the trade automatically exits.
8. Backtesting Statistics Panel:
- A floating label displays net PnL percentage, total trades, wins/losses, average trade duration, and more.
9. New Alert Conditions:
- Entry Alert and Close Alert for automated trade execution or bot integration.
10. Ichimoku Helper (Legacy Plots & Signals):
- Legacy lines (Tenkan, Kijun, Senkou A/B, Chikou) can still be plotted independently.
- Original signals (Strong/Neutral/Weak Bullish/Bearish) remain available as helper signals/alerts.
- Added settings to filter helper signals by strength and direction.
11. Enhanced Code Structure & Organization:
- Modularized functions for signal checks, array logic, SL/TP calculations, and label generation.
- Improved readability and maintainability.
These updates significantly expand functionality, making the script suitable not only for visual Ichimoku analysis but also for automated or semi-automated trading strategies.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Claim up to 600 USDT in welcome rewards & compete for a share of 5,000 USDT in BitMart Futures Contest!
➡ Register & Claim Bonus: bitmart.com/invite/VShg8M
➡ Join Contest: bitmart.com/futures-competition/Skyrexio/en-US
➡ Register & Claim Bonus: bitmart.com/invite/VShg8M
➡ Join Contest: bitmart.com/futures-competition/Skyrexio/en-US
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Claim up to 600 USDT in welcome rewards & compete for a share of 5,000 USDT in BitMart Futures Contest!
➡ Register & Claim Bonus: bitmart.com/invite/VShg8M
➡ Join Contest: bitmart.com/futures-competition/Skyrexio/en-US
➡ Register & Claim Bonus: bitmart.com/invite/VShg8M
➡ Join Contest: bitmart.com/futures-competition/Skyrexio/en-US
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。