OPEN-SOURCE SCRIPT
Cập nhật ChartSenseAI.com - Scan Sensor

This script, ChartSenseAI.com - Elite Scanner, is a sophisticated, multi-factor trading indicator designed to identify high-quality trade setups by generating an "Elite Score" from 0 to 100. It uses a comprehensive scoring system across seven main categories, applies a dynamic penalty system, and incorporates time-based and news-hour filters to ensure signal quality.
Core Features and Signal Generation
Elite Scoring System (0-100)
The script analyzes the market across several dimensions, assigning a maximum possible score to each category to calculate a total Elite Score. The categories and their maximum points are:
Momentum Confluence (30 pts): Analyzes RSI, MACD, Stochastic, and MFI for reversal or continuation strength.
Trend Alignment (25 pts): Measures alignment across multiple EMAs (9, 21, 50), ADX/DI, and Multi-Timeframe (MTF) confluence (HTF 1, 2, and 3).
Volatility Opportunity (20 pts): Assesses for Bollinger Band Squeeze/Release (in relation to Keltner Channels) and ATR expansion.
Volume Validation (15 pts): Focuses on Volume Surge, Smart Money Flow (CMF), and Accumulation/Distribution confirmation.
Price Action Quality (10 pts): Looks for key candlestick patterns (e.g., engulfing, hammer, shooting star) and interaction with key levels like swing pivots and VWAP.
Divergence Premium (15 pts): Scores for Regular (reversal) and Hidden (continuation) divergence in RSI and MACD.
Dynamic Adjustments
The final Elite Score is adjusted by a Regime Multiplier which boosts the score in favorable market phases (e.g., Markup/Markdown or strong trends) and a Penalty System that deducts points for poor conditions like low liquidity, choppy markets (low ADX and BB Width), or counter-trend movement against higher timeframes.
Adaptive Signal Mode
The signal threshold is dynamic, controlled by the user's Signal Mode input:
Pre-set Modes: Ultra Conservative (85.0), Conservative (75.0), Balanced (65.0), Aggressive (50.0).
Adaptive Mode: Adjusts the threshold based on Volatility Regime. For example, it requires a higher score (75.0) in "Low Vol" markets for confirmation, but lowers the requirement (55.0) in "High Vol" markets to capture more opportunities.
Quality Filters
The final signal, SCAN NOW, is only generated when the Elite Score is above the Adaptive Threshold AND passes two critical quality checks:
Time-of-Day Filter: Avoids low liquidity hours (e.g., 0-3 and 12-13 in chart time).
News Hour Filter: Avoids trading 30 minutes before and after major economic releases (UTC times: 8:30, 10:00, 12:30, 14:00, 15:00). A Cooldown period of 10 bars is also applied between final signals.
Visualization and Analysis Tools
Market Regime Detection
The script visually displays the current market context based on five regimes:
Phase (Wyckoff-inspired): Accumulation, Distribution, Markup, or Markdown.
Trend: Strong Uptrend, Strong Downtrend, Weak Trend, or Ranging (based on ADX and EMA-50).
Volatility: High Vol, Normal Vol, or Low Vol (based on ATR percentile).
Volume: Climax, High, Normal, or Low (based on Volume/SMA ratio).
Position in Trend: Mean, Stretched, or Extended (based on distance from EMA-50).
AI Confidence
An AI Confidence level (Very High, High, Medium, Low) is calculated by checking how many of the six main scoring categories achieved at least 70% of their maximum possible score.
Visual Tables
The indicator displays two main tables when enabled:
Elite Score Table (Top Right): Shows the Elite Score, Signal Status (🚀 SCAN NOW, ⏳ BUILDING, ⚡ WAIT, or ❌ NO SETUP), AI Confidence, the current Adaptive Threshold, and the Market Regime details.
Signal Breakdown Table (Bottom Right): Provides a detailed score for each of the seven categories, including total Penalties and the Regime Bonus, culminating in the Final Total Score.
Opportunity Heatmap
The script can display an Opportunity Heatmap that highlights key price levels as zones, specifically:
Support Zone (Green): Based on the last_swing_low.
Resistance Zone (Red): Based on the last_swing_high.
VWAP Zone (Blue): Based on the vwap_value. These zones are buffered by a multiple of the current Average True Range (ATR).
Alerts
A wide range of customizable alerts are available for users to be notified on platforms like TradingView, including a Main alert for the final signal, Tier-based alerts (Diamond, Platinum, Gold) for different Elite Score levels, and specific pattern alerts (Divergence, Squeeze Breakout, MTF Alignment, Volume Climax). An early warning Setup Building alert is also included.
Core Features and Signal Generation
Elite Scoring System (0-100)
The script analyzes the market across several dimensions, assigning a maximum possible score to each category to calculate a total Elite Score. The categories and their maximum points are:
Momentum Confluence (30 pts): Analyzes RSI, MACD, Stochastic, and MFI for reversal or continuation strength.
Trend Alignment (25 pts): Measures alignment across multiple EMAs (9, 21, 50), ADX/DI, and Multi-Timeframe (MTF) confluence (HTF 1, 2, and 3).
Volatility Opportunity (20 pts): Assesses for Bollinger Band Squeeze/Release (in relation to Keltner Channels) and ATR expansion.
Volume Validation (15 pts): Focuses on Volume Surge, Smart Money Flow (CMF), and Accumulation/Distribution confirmation.
Price Action Quality (10 pts): Looks for key candlestick patterns (e.g., engulfing, hammer, shooting star) and interaction with key levels like swing pivots and VWAP.
Divergence Premium (15 pts): Scores for Regular (reversal) and Hidden (continuation) divergence in RSI and MACD.
Dynamic Adjustments
The final Elite Score is adjusted by a Regime Multiplier which boosts the score in favorable market phases (e.g., Markup/Markdown or strong trends) and a Penalty System that deducts points for poor conditions like low liquidity, choppy markets (low ADX and BB Width), or counter-trend movement against higher timeframes.
Adaptive Signal Mode
The signal threshold is dynamic, controlled by the user's Signal Mode input:
Pre-set Modes: Ultra Conservative (85.0), Conservative (75.0), Balanced (65.0), Aggressive (50.0).
Adaptive Mode: Adjusts the threshold based on Volatility Regime. For example, it requires a higher score (75.0) in "Low Vol" markets for confirmation, but lowers the requirement (55.0) in "High Vol" markets to capture more opportunities.
Quality Filters
The final signal, SCAN NOW, is only generated when the Elite Score is above the Adaptive Threshold AND passes two critical quality checks:
Time-of-Day Filter: Avoids low liquidity hours (e.g., 0-3 and 12-13 in chart time).
News Hour Filter: Avoids trading 30 minutes before and after major economic releases (UTC times: 8:30, 10:00, 12:30, 14:00, 15:00). A Cooldown period of 10 bars is also applied between final signals.
Visualization and Analysis Tools
Market Regime Detection
The script visually displays the current market context based on five regimes:
Phase (Wyckoff-inspired): Accumulation, Distribution, Markup, or Markdown.
Trend: Strong Uptrend, Strong Downtrend, Weak Trend, or Ranging (based on ADX and EMA-50).
Volatility: High Vol, Normal Vol, or Low Vol (based on ATR percentile).
Volume: Climax, High, Normal, or Low (based on Volume/SMA ratio).
Position in Trend: Mean, Stretched, or Extended (based on distance from EMA-50).
AI Confidence
An AI Confidence level (Very High, High, Medium, Low) is calculated by checking how many of the six main scoring categories achieved at least 70% of their maximum possible score.
Visual Tables
The indicator displays two main tables when enabled:
Elite Score Table (Top Right): Shows the Elite Score, Signal Status (🚀 SCAN NOW, ⏳ BUILDING, ⚡ WAIT, or ❌ NO SETUP), AI Confidence, the current Adaptive Threshold, and the Market Regime details.
Signal Breakdown Table (Bottom Right): Provides a detailed score for each of the seven categories, including total Penalties and the Regime Bonus, culminating in the Final Total Score.
Opportunity Heatmap
The script can display an Opportunity Heatmap that highlights key price levels as zones, specifically:
Support Zone (Green): Based on the last_swing_low.
Resistance Zone (Red): Based on the last_swing_high.
VWAP Zone (Blue): Based on the vwap_value. These zones are buffered by a multiple of the current Average True Range (ATR).
Alerts
A wide range of customizable alerts are available for users to be notified on platforms like TradingView, including a Main alert for the final signal, Tier-based alerts (Diamond, Platinum, Gold) for different Elite Score levels, and specific pattern alerts (Divergence, Squeeze Breakout, MTF Alignment, Volume Climax). An early warning Setup Building alert is also included.
Phát hành các Ghi chú
This script, ChartSenseAI.com - Elite Scanner, is a sophisticated, multi-factor trading indicator designed to identify high-quality trade setups by generating an "Elite Score" from 0 to 100. It uses a comprehensive scoring system across seven main categories, applies a dynamic penalty system, and incorporates time-based and news-hour filters to ensure signal quality.Core Features and Signal Generation
Elite Scoring System (0-100)
The script analyzes the market across several dimensions, assigning a maximum possible score to each category to calculate a total Elite Score. The categories and their maximum points are:
Momentum Confluence (30 pts): Analyzes RSI, MACD, Stochastic, and MFI for reversal or continuation strength.
Trend Alignment (25 pts): Measures alignment across multiple EMAs (9, 21, 50), ADX/DI, and Multi-Timeframe (MTF) confluence (HTF 1, 2, and 3).
Volatility Opportunity (20 pts): Assesses for Bollinger Band Squeeze/Release (in relation to Keltner Channels) and ATR expansion.
Volume Validation (15 pts): Focuses on Volume Surge, Smart Money Flow (CMF), and Accumulation/Distribution confirmation.
Price Action Quality (10 pts): Looks for key candlestick patterns (e.g., engulfing, hammer, shooting star) and interaction with key levels like swing pivots and VWAP.
Divergence Premium (15 pts): Scores for Regular (reversal) and Hidden (continuation) divergence in RSI and MACD.
Dynamic Adjustments
The final Elite Score is adjusted by a Regime Multiplier which boosts the score in favorable market phases (e.g., Markup/Markdown or strong trends) and a Penalty System that deducts points for poor conditions like low liquidity, choppy markets (low ADX and BB Width), or counter-trend movement against higher timeframes.
Adaptive Signal Mode
The signal threshold is dynamic, controlled by the user's Signal Mode input:
Pre-set Modes: Ultra Conservative (85.0), Conservative (75.0), Balanced (65.0), Aggressive (50.0).
Adaptive Mode: Adjusts the threshold based on Volatility Regime. For example, it requires a higher score (75.0) in "Low Vol" markets for confirmation, but lowers the requirement (55.0) in "High Vol" markets to capture more opportunities.
Quality Filters
The final signal, SCAN NOW, is only generated when the Elite Score is above the Adaptive Threshold AND passes two critical quality checks:
Time-of-Day Filter: Avoids low liquidity hours (e.g., 0-3 and 12-13 in chart time).
News Hour Filter: Avoids trading 30 minutes before and after major economic releases (UTC times: 8:30, 10:00, 12:30, 14:00, 15:00). A Cooldown period of 10 bars is also applied between final signals.
Visualization and Analysis Tools
Market Regime Detection
The script visually displays the current market context based on five regimes:
Phase (Wyckoff-inspired): Accumulation, Distribution, Markup, or Markdown.
Trend: Strong Uptrend, Strong Downtrend, Weak Trend, or Ranging (based on ADX and EMA-50).
Volatility: High Vol, Normal Vol, or Low Vol (based on ATR percentile).
Volume: Climax, High, Normal, or Low (based on Volume/SMA ratio).
Position in Trend: Mean, Stretched, or Extended (based on distance from EMA-50).
AI Confidence
An AI Confidence level (Very High, High, Medium, Low) is calculated by checking how many of the six main scoring categories achieved at least 70% of their maximum possible score.
Visual Tables
The indicator displays two main tables when enabled:
Elite Score Table (Top Right): Shows the Elite Score, Signal Status (🚀 SCAN NOW, ⏳ BUILDING, ⚡ WAIT, or ❌ NO SETUP), AI Confidence, the current Adaptive Threshold, and the Market Regime details.
Signal Breakdown Table (Bottom Right): Provides a detailed score for each of the seven categories, including total Penalties and the Regime Bonus, culminating in the Final Total Score.
Opportunity Heatmap
The script can display an Opportunity Heatmap that highlights key price levels as zones, specifically:
Support Zone (Green): Based on the last_swing_low.
Resistance Zone (Red): Based on the last_swing_high.
VWAP Zone (Blue): Based on the vwap_value. These zones are buffered by a multiple of the current Average True Range (ATR).
Alerts
A wide range of customizable alerts are available for users to be notified on platforms like TradingView, including a Main alert for the final signal, Tier-based alerts (Diamond, Platinum, Gold) for different Elite Score levels, and specific pattern alerts (Divergence, Squeeze Breakout, MTF Alignment, Volume Climax). An early warning Setup Building alert is also included.
Phát hành các Ghi chú
This script, ChartSenseAI.com - Elite Scanner, is a sophisticated, multi-factor trading indicator designed to identify high-quality trade setups by generating an "Elite Score" from 0 to 100. It uses a comprehensive scoring system across seven main categories, applies a dynamic penalty system, and incorporates time-based and news-hour filters to ensure signal quality.Core Features and Signal Generation
Elite Scoring System (0-100)
The script analyzes the market across several dimensions, assigning a maximum possible score to each category to calculate a total Elite Score. The categories and their maximum points are:
Momentum Confluence (30 pts): Analyzes RSI, MACD, Stochastic, and MFI for reversal or continuation strength.
Trend Alignment (25 pts): Measures alignment across multiple EMAs (9, 21, 50), ADX/DI, and Multi-Timeframe (MTF) confluence (HTF 1, 2, and 3).
Volatility Opportunity (20 pts): Assesses for Bollinger Band Squeeze/Release (in relation to Keltner Channels) and ATR expansion.
Volume Validation (15 pts): Focuses on Volume Surge, Smart Money Flow (CMF), and Accumulation/Distribution confirmation.
Price Action Quality (10 pts): Looks for key candlestick patterns (e.g., engulfing, hammer, shooting star) and interaction with key levels like swing pivots and VWAP.
Divergence Premium (15 pts): Scores for Regular (reversal) and Hidden (continuation) divergence in RSI and MACD.
Dynamic Adjustments
The final Elite Score is adjusted by a Regime Multiplier which boosts the score in favorable market phases (e.g., Markup/Markdown or strong trends) and a Penalty System that deducts points for poor conditions like low liquidity, choppy markets (low ADX and BB Width), or counter-trend movement against higher timeframes.
Adaptive Signal Mode
The signal threshold is dynamic, controlled by the user's Signal Mode input:
Pre-set Modes: Ultra Conservative (85.0), Conservative (75.0), Balanced (65.0), Aggressive (50.0).
Adaptive Mode: Adjusts the threshold based on Volatility Regime. For example, it requires a higher score (75.0) in "Low Vol" markets for confirmation, but lowers the requirement (55.0) in "High Vol" markets to capture more opportunities.
Quality Filters
The final signal, SCAN NOW, is only generated when the Elite Score is above the Adaptive Threshold AND passes two critical quality checks:
Time-of-Day Filter: Avoids low liquidity hours (e.g., 0-3 and 12-13 in chart time).
News Hour Filter: Avoids trading 30 minutes before and after major economic releases (UTC times: 8:30, 10:00, 12:30, 14:00, 15:00). A Cooldown period of 10 bars is also applied between final signals.
Visualization and Analysis Tools
Market Regime Detection
The script visually displays the current market context based on five regimes:
Phase (Wyckoff-inspired): Accumulation, Distribution, Markup, or Markdown.
Trend: Strong Uptrend, Strong Downtrend, Weak Trend, or Ranging (based on ADX and EMA-50).
Volatility: High Vol, Normal Vol, or Low Vol (based on ATR percentile).
Volume: Climax, High, Normal, or Low (based on Volume/SMA ratio).
Position in Trend: Mean, Stretched, or Extended (based on distance from EMA-50).
AI Confidence
An AI Confidence level (Very High, High, Medium, Low) is calculated by checking how many of the six main scoring categories achieved at least 70% of their maximum possible score.
Visual Tables
The indicator displays two main tables when enabled:
Elite Score Table (Top Right): Shows the Elite Score, Signal Status (🚀 SCAN NOW, ⏳ BUILDING, ⚡ WAIT, or ❌ NO SETUP), AI Confidence, the current Adaptive Threshold, and the Market Regime details.
Signal Breakdown Table (Bottom Right): Provides a detailed score for each of the seven categories, including total Penalties and the Regime Bonus, culminating in the Final Total Score.
Opportunity Heatmap
The script can display an Opportunity Heatmap that highlights key price levels as zones, specifically:
Support Zone (Green): Based on the last_swing_low.
Resistance Zone (Red): Based on the last_swing_high.
VWAP Zone (Blue): Based on the vwap_value. These zones are buffered by a multiple of the current Average True Range (ATR).
Alerts
A wide range of customizable alerts are available for users to be notified on platforms like TradingView, including a Main alert for the final signal, Tier-based alerts (Diamond, Platinum, Gold) for different Elite Score levels, and specific pattern alerts (Divergence, Squeeze Breakout, MTF Alignment, Volume Climax). An early warning Setup Building alert is also included.
Phát hành các Ghi chú
This script, ChartSenseAI.com - Elite Scanner, is a sophisticated, multi-factor trading indicator designed to identify high-quality trade setups by generating an "Elite Score" from 0 to 100. It uses a comprehensive scoring system across seven main categories, applies a dynamic penalty system, and incorporates time-based and news-hour filters to ensure signal quality.Core Features and Signal Generation
Elite Scoring System (0-100)
The script analyzes the market across several dimensions, assigning a maximum possible score to each category to calculate a total Elite Score. The categories and their maximum points are:
Momentum Confluence (30 pts): Analyzes RSI, MACD, Stochastic, and MFI for reversal or continuation strength.
Trend Alignment (25 pts): Measures alignment across multiple EMAs (9, 21, 50), ADX/DI, and Multi-Timeframe (MTF) confluence (HTF 1, 2, and 3).
Volatility Opportunity (20 pts): Assesses for Bollinger Band Squeeze/Release (in relation to Keltner Channels) and ATR expansion.
Volume Validation (15 pts): Focuses on Volume Surge, Smart Money Flow (CMF), and Accumulation/Distribution confirmation.
Price Action Quality (10 pts): Looks for key candlestick patterns (e.g., engulfing, hammer, shooting star) and interaction with key levels like swing pivots and VWAP.
Divergence Premium (15 pts): Scores for Regular (reversal) and Hidden (continuation) divergence in RSI and MACD.
Dynamic Adjustments
The final Elite Score is adjusted by a Regime Multiplier which boosts the score in favorable market phases (e.g., Markup/Markdown or strong trends) and a Penalty System that deducts points for poor conditions like low liquidity, choppy markets (low ADX and BB Width), or counter-trend movement against higher timeframes.
Adaptive Signal Mode
The signal threshold is dynamic, controlled by the user's Signal Mode input:
Pre-set Modes: Ultra Conservative (85.0), Conservative (75.0), Balanced (65.0), Aggressive (50.0).
Adaptive Mode: Adjusts the threshold based on Volatility Regime. For example, it requires a higher score (75.0) in "Low Vol" markets for confirmation, but lowers the requirement (55.0) in "High Vol" markets to capture more opportunities.
Quality Filters
The final signal, SCAN NOW, is only generated when the Elite Score is above the Adaptive Threshold AND passes two critical quality checks:
Time-of-Day Filter: Avoids low liquidity hours (e.g., 0-3 and 12-13 in chart time).
News Hour Filter: Avoids trading 30 minutes before and after major economic releases (UTC times: 8:30, 10:00, 12:30, 14:00, 15:00). A Cooldown period of 10 bars is also applied between final signals.
Visualization and Analysis Tools
Market Regime Detection
The script visually displays the current market context based on five regimes:
Phase (Wyckoff-inspired): Accumulation, Distribution, Markup, or Markdown.
Trend: Strong Uptrend, Strong Downtrend, Weak Trend, or Ranging (based on ADX and EMA-50).
Volatility: High Vol, Normal Vol, or Low Vol (based on ATR percentile).
Volume: Climax, High, Normal, or Low (based on Volume/SMA ratio).
Position in Trend: Mean, Stretched, or Extended (based on distance from EMA-50).
AI Confidence
An AI Confidence level (Very High, High, Medium, Low) is calculated by checking how many of the six main scoring categories achieved at least 70% of their maximum possible score.
Visual Tables
The indicator displays two main tables when enabled:
Elite Score Table (Top Right): Shows the Elite Score, Signal Status (🚀 SCAN NOW, ⏳ BUILDING, ⚡ WAIT, or ❌ NO SETUP), AI Confidence, the current Adaptive Threshold, and the Market Regime details.
Signal Breakdown Table (Bottom Right): Provides a detailed score for each of the seven categories, including total Penalties and the Regime Bonus, culminating in the Final Total Score.
Opportunity Heatmap
The script can display an Opportunity Heatmap that highlights key price levels as zones, specifically:
Support Zone (Green): Based on the last_swing_low.
Resistance Zone (Red): Based on the last_swing_high.
VWAP Zone (Blue): Based on the vwap_value. These zones are buffered by a multiple of the current Average True Range (ATR).
Alerts
A wide range of customizable alerts are available for users to be notified on platforms like TradingView, including a Main alert for the final signal, Tier-based alerts (Diamond, Platinum, Gold) for different Elite Score levels, and specific pattern alerts (Divergence, Squeeze Breakout, MTF Alignment, Volume Climax). An early warning Setup Building alert is also included.
Phát hành các Ghi chú
v2Phát hành các Ghi chú
v2.2Phát hành các Ghi chú
v.2.2Phát hành các Ghi chú
v2.4Phát hành các Ghi chú
v2.5Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.