Trade Quality Rating: signal rating from 1 to 5 stars
131
Overview The indicator is built to generate trading signals based on a combination of technical indicators and then assign each signal a quality rating from 1 to 5 stars. The idea is that the more filters that are met, the stronger (or higher quality) the signal is assumed to be. You can then use these quality ratings to decide which signals to act upon, keeping in mind that a higher-rated signal has more confirming factors.
Components of the Indicator
Simple Moving Averages (SMAs):
SMA9 and SMA20: These two moving averages are used to detect short-term trend changes via crossovers. A bullish signal is generated when the SMA9 crosses above the SMA20, and a bearish signal when it crosses below.
SMA200 (on the current timeframe) & Daily SMA200: The SMA200 on your current chart helps smooth out the price action. The Daily SMA200 serves as a long-term trend filter. For a valid long signal, the price must be above the Daily SMA200, and vice versa for a short signal.
MACD (Moving Average Convergence Divergence):
The MACD is calculated using standard parameters (12, 26, 9). It adds momentum confirmation to the signal. For a long trade, the MACD line should be above its signal line, and for a short trade, below.
RSI (Relative Strength Index):
Calculated with a 14-period setting. For long signals, the RSI must be above 50 (indicating upward momentum), while for short signals, it should be below 50. This filter is one of the additional conditions that add to the quality rating.
Volume Filter:
A 20-period moving average of volume is computed. The current volume must exceed this average, suggesting that there is enough market participation backing the move. This is another extra filter that adds to the overall quality score.
ADX (Average Directional Index):
The ADX is manually calculated in the script (using a 14-period setting) to gauge the strength of the trend. A value above 25 is considered to confirm that a strong trend is in place, making the signal more reliable.
VWAP (Volume Weighted Average Price):
The session VWAP is computed on a daily basis. For long trades, the price should be above the VWAP, and for short trades, below. This serves as a confirmation that the current price is moving in the right direction relative to the volume-weighted average. Signal Generation and Quality Rating
Base Signal (1 Star):
The fundamental trade signal is generated when the SMA9/SMA20 crossover occurs, in combination with the MACD confirmation and the condition that the price is on the correct side of the Daily SMA200. This base signal provides a 1-star quality rating.
Additional Filters (Adding Extra Stars):
RSI Filter: Adds 1 extra star if the RSI condition is met (RSI > 50 for long or RSI < 50 for short). Volume Filter: Adds 1 extra star if the current volume exceeds its 20-period moving average. ADX Filter: Adds 1 extra star if the ADX value is above 25, confirming a strong trend. VWAP Filter: Adds 1 extra star if the price is above the VWAP for long trades (or below for short trades).
When all filters are met, you get a 5-star rating (1 star base + 4 extra stars).
Display and Alerts:
The indicator plots your SMAs on the chart. When a signal occurs, it places a label on the chart showing the trade direction ("BUY" or "SELL") along with the quality rating in stars. Additionally, alert conditions are set up so that you can receive notifications when a valid signal (based on the base criteria) is generated.
How to Use This Indicator
Filtering Trades:
Use the quality rating as a visual guide. For instance, if you want to only act on the most reliable setups, you might decide to trade only signals that are rated 4 or 5 stars.
Manual Confirmation:
Even with a high star rating, you can perform your own final checks (e.g., checking price action or additional chart patterns) before entering a trade.
Backtesting and Adjustment:
Because market conditions differ, it’s advisable to backtest the indicator on your instrument of choice and adjust the parameters (such as the ADX threshold or the period for volume averaging) to better suit your trading style.
Conclusion This 5-star system indicator is designed to provide a comprehensive overview of trade quality by integrating multiple technical filters into one visual signal. It helps filter out noise by ensuring that a trade signal not only meets a basic SMA and MACD condition but also aligns with volume, trend strength (ADX), and VWAP criteria. This multi-layered approach can lead to fewer but higher quality trades, allowing you to focus on setups that have more confluence.
Happy trading!
發行說明
Overview
21-02-2025 Update - STARFILTER add (input field)
The indicator is built to generate trading signals based on a combination of technical indicators and then assign each signal a quality rating from 1 to 5 stars. The idea is that the more filters that are met, the stronger (or higher quality) the signal is assumed to be. You can then use these quality ratings to decide which signals to act upon, keeping in mind that a higher-rated signal has more confirming factors.
Components of the Indicator
Simple Moving Averages (SMAs):
SMA9 and SMA20: These two moving averages are used to detect short-term trend changes via crossovers. A bullish signal is generated when the SMA9 crosses above the SMA20, and a bearish signal when it crosses below.
SMA200 (on the current timeframe) & Daily SMA200: The SMA200 on your current chart helps smooth out the price action. The Daily SMA200 serves as a long-term trend filter. For a valid long signal, the price must be above the Daily SMA200, and vice versa for a short signal.
MACD (Moving Average Convergence Divergence):
The MACD is calculated using standard parameters (12, 26, 9). It adds momentum confirmation to the signal. For a long trade, the MACD line should be above its signal line, and for a short trade, below.
RSI (Relative Strength Index):
Calculated with a 14-period setting. For long signals, the RSI must be above 50 (indicating upward momentum), while for short signals, it should be below 50. This filter is one of the additional conditions that add to the quality rating.
Volume Filter:
A 20-period moving average of volume is computed. The current volume must exceed this average, suggesting that there is enough market participation backing the move. This is another extra filter that adds to the overall quality score.
ADX (Average Directional Index):
The ADX is manually calculated in the script (using a 14-period setting) to gauge the strength of the trend. A value above 25 is considered to confirm that a strong trend is in place, making the signal more reliable.
VWAP (Volume Weighted Average Price):
The session VWAP is computed on a daily basis. For long trades, the price should be above the VWAP, and for short trades, below. This serves as a confirmation that the current price is moving in the right direction relative to the volume-weighted average. Signal Generation and Quality Rating
Base Signal (1 Star):
The fundamental trade signal is generated when the SMA9/SMA20 crossover occurs, in combination with the MACD confirmation and the condition that the price is on the correct side of the Daily SMA200. This base signal provides a 1-star quality rating.
Additional Filters (Adding Extra Stars):
RSI Filter: Adds 1 extra star if the RSI condition is met (RSI > 50 for long or RSI < 50 for short). Volume Filter: Adds 1 extra star if the current volume exceeds its 20-period moving average. ADX Filter: Adds 1 extra star if the ADX value is above 25, confirming a strong trend. VWAP Filter: Adds 1 extra star if the price is above the VWAP for long trades (or below for short trades).
When all filters are met, you get a 5-star rating (1 star base + 4 extra stars).
Display and Alerts:
The indicator plots your SMAs on the chart. When a signal occurs, it places a label on the chart showing the trade direction ("BUY" or "SELL") along with the quality rating in stars.
Additionally, alert conditions are set up so that you can receive notifications when a valid signal (based on the base criteria) is generated.
How to Use This Indicator
Filtering Trades:
Use the quality rating as a visual guide. For instance, if you want to only act on the most reliable setups, you might decide to trade only signals that are rated 4 or 5 stars.
Manual Confirmation:
Even with a high star rating, you can perform your own final checks (e.g., checking price action or additional chart patterns) before entering a trade.
Backtesting and Adjustment:
Because market conditions differ, it’s advisable to backtest the indicator on your instrument of choice and adjust the parameters (such as the ADX threshold or the period for volume averaging) to better suit your trading style.
Conclusion This 5-star system indicator is designed to provide a comprehensive overview of trade quality by integrating multiple technical filters into one visual signal. It helps filter out noise by ensuring that a trade signal not only meets a basic SMA and MACD condition but also aligns with volume, trend strength (ADX), and VWAP criteria. This multi-layered approach can lead to fewer but higher quality trades, allowing you to focus on setups that have more confluence.