OPEN-SOURCE SCRIPT
已更新 Star Pattern Identifier

The Star Pattern Identifier is a custom TradingView indicator designed to detect and mark Morning Star (MS) and Evening Star (ES) candlestick patterns, which are powerful reversal signals. This indicator offers a flexible and customizable approach by incorporating adjustable parameters for both the size and volume of the third candle in the pattern.
Key Features:
Morning Star (MS): A bullish reversal pattern that occurs after a downtrend.
Evening Star (ES): A bearish reversal pattern that occurs after an uptrend.
Adjustable Parameters:
Third Candle Size Multiplier: Define how large the body of the third candle should be relative to the second candle (default is 2x).
Third Candle Volume Multiplier: Control the minimum volume of the third candle in relation to the second candle (default is 0.5x).
The script ensures that the third candle’s volume is at least 50% of the second candle's volume and that its body is at least twice the size of the second candle, to filter out weaker signals.
The patterns are marked directly on the chart with "MS" (Morning Star) or "ES" (Evening Star) labels for easy identification.
Practical Use:
Use this indicator to spot potential trend reversals with more confidence by ensuring strong candlestick body and volume conditions.
Customize the parameters to suit your trading strategy and preferences.
How it Works:
The indicator looks for a bearish first candle, followed by a bullish or indecisive second candle, and a bullish third candle for the Morning Star pattern.
For the Evening Star, the indicator looks for a bullish first candle, followed by a bearish or indecisive second candle, and a bearish third candle.
The size and volume of the third candle are checked to ensure it meets the set parameters, confirming the strength of the reversal signal.
This tool is perfect for traders seeking to spot reversal signals in the market.
Key Features:
Morning Star (MS): A bullish reversal pattern that occurs after a downtrend.
Evening Star (ES): A bearish reversal pattern that occurs after an uptrend.
Adjustable Parameters:
Third Candle Size Multiplier: Define how large the body of the third candle should be relative to the second candle (default is 2x).
Third Candle Volume Multiplier: Control the minimum volume of the third candle in relation to the second candle (default is 0.5x).
The script ensures that the third candle’s volume is at least 50% of the second candle's volume and that its body is at least twice the size of the second candle, to filter out weaker signals.
The patterns are marked directly on the chart with "MS" (Morning Star) or "ES" (Evening Star) labels for easy identification.
Practical Use:
Use this indicator to spot potential trend reversals with more confidence by ensuring strong candlestick body and volume conditions.
Customize the parameters to suit your trading strategy and preferences.
How it Works:
The indicator looks for a bearish first candle, followed by a bullish or indecisive second candle, and a bullish third candle for the Morning Star pattern.
For the Evening Star, the indicator looks for a bullish first candle, followed by a bearish or indecisive second candle, and a bearish third candle.
The size and volume of the third candle are checked to ensure it meets the set parameters, confirming the strength of the reversal signal.
This tool is perfect for traders seeking to spot reversal signals in the market.
版本注释
🌟 Star Pattern Identifier 🌟The Star Pattern Identifier is a custom TradingView indicator designed to detect Morning Star and Evening Star candlestick patterns, which are commonly used to spot potential trend reversals. This indicator places visual markers on the chart to highlight these patterns:
Morning Star (MS) – A potential bullish reversal pattern (📈), typically found at the end of a downtrend.
Evening Star (ES) – A potential bearish reversal pattern (📉), often signaling the end of an uptrend.
✨ Features:
🔹 Customizable Settings
📏 Third Candle Size Multiplier – Adjusts the size requirement for the third candle.
📊 Third Candle Volume Multiplier – Ensures the third candle’s volume meets a set threshold.
🔄 Volume Condition Toggle – Enable/disable volume-based confirmation.
🔹 Smart Pattern Detection
✅ Ensures proper gap conditions between candles.
📈📉 Detects patterns based on price structure and, optionally, volume.
🔹 Clear Visuals on Your Chart
🟢 Morning Star (MS) – Green marker below the bar.
🔴 Evening Star (ES) – Red marker above the bar.
⚠️ Disclaimer:
🚨 This indicator is for educational and informational purposes only and does not constitute financial advice. 📉 Trading carries risks, and past performance does not guarantee future results. Always DYOR (Do Your Own Research) and consult a financial professional before making trading decisions. The developer is not responsible for any financial losses incurred from using this indicator. Trade wisely! ⚖️📊
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。