OPEN-SOURCE SCRIPT
Reversal Candle Anomaly Detector w/Volume-Colored Candles (VPA)

Automate your pinescript/trendspider to Tradovate/Ninja-Trader! ninja-view.com
Reversal Candle Anomaly Detector with Volume-Colored Candles (VPA Analysis)
This script is rooted in the principles of Volume Price Analysis (VPA), as illustrated by Anna Couling in "A Complete Guide To Volume Price Analysis" and Thor Young in "A Complete Day Trading System". It aims to spotlight candlestick formations and volume irregularities, which frequently signal potential market reversals or the directional intent of market makers.
Features:
Volume-Based Candle Coloring:
High Volume Candles: Bright green (for up candles) and bright red (for down candles), marking robust market participation.
Low Volume Candles: Darker shades of green and red, indicative of subdued trading activity.
Average Volume Candles: Standard green and red colors.
Anomaly Detection:
Short Anomalies: Short candles or candle bodies with unusually high volume, displayed in cyan (up candles) and magenta (down candles), hinting at potential market anomalies.
Tall Anomalies: Tall candles or candle bodies with low volume, shown in very light green and red colors, nearly white, suggesting another type of market anomaly.
Customization Options:
RSI Filter: An RSI (Relative Strength Index) option is available to minimize noise in short anomaly candles.
Adjustable Anomaly Criteria: Users can define what constitutes 'tall' or 'short' candles based on a percentage comparison to an average candle size.
Average Calculation: The script calculates the average size and volume of candles over a user-defined period for baseline anomaly detection.
Toggle for Anomaly Numbering: An option to enable or disable numbering of candle anomalies, which aids in filtering for algorithmic trading strategies.
Trading Insights and Tips:
Magenta/Cyan Anomaly Candles: Approach these 'magic candles' with caution, particularly when a price reversal follows in the next candle. They often exhibit a retest pattern across multiple timeframes.
Support and Resistance: Isolated anomalies often correlate with key support or resistance levels, whether daily, intraday, or historical. Recognizing these levels is essential for market prediction.
Interpreting 'Magic Candles': These candles may reflect large traders taking profits, causing price stagnation and potential reversals due to the triggered chain reaction among traders.
Market Makers' Tactics: Tall, low-volume candles could signify market makers' efforts to rapidly alter price directions, sometimes as deceptive strategies to initiate market orders.
Significant Market Reversals: Patterns such as UTDAD (Up Thrust After Distribution) or Wyckoff Spring, characterized by tall, similar-height, often wickless candles, can indicate major market reversals, especially when they occur after extended price moves or at critical levels.
This Pine Script tool is invaluable for traders leveraging VPA. It offers visual indicators and insights into market psychology and potential price movements. By analyzing volume and candlestick patterns, traders can better understand market dynamics and enhance their trading decisions.
Reversal Candle Anomaly Detector with Volume-Colored Candles (VPA Analysis)
This script is rooted in the principles of Volume Price Analysis (VPA), as illustrated by Anna Couling in "A Complete Guide To Volume Price Analysis" and Thor Young in "A Complete Day Trading System". It aims to spotlight candlestick formations and volume irregularities, which frequently signal potential market reversals or the directional intent of market makers.
Features:
Volume-Based Candle Coloring:
High Volume Candles: Bright green (for up candles) and bright red (for down candles), marking robust market participation.
Low Volume Candles: Darker shades of green and red, indicative of subdued trading activity.
Average Volume Candles: Standard green and red colors.
Anomaly Detection:
Short Anomalies: Short candles or candle bodies with unusually high volume, displayed in cyan (up candles) and magenta (down candles), hinting at potential market anomalies.
Tall Anomalies: Tall candles or candle bodies with low volume, shown in very light green and red colors, nearly white, suggesting another type of market anomaly.
Customization Options:
RSI Filter: An RSI (Relative Strength Index) option is available to minimize noise in short anomaly candles.
Adjustable Anomaly Criteria: Users can define what constitutes 'tall' or 'short' candles based on a percentage comparison to an average candle size.
Average Calculation: The script calculates the average size and volume of candles over a user-defined period for baseline anomaly detection.
Toggle for Anomaly Numbering: An option to enable or disable numbering of candle anomalies, which aids in filtering for algorithmic trading strategies.
Trading Insights and Tips:
Magenta/Cyan Anomaly Candles: Approach these 'magic candles' with caution, particularly when a price reversal follows in the next candle. They often exhibit a retest pattern across multiple timeframes.
Support and Resistance: Isolated anomalies often correlate with key support or resistance levels, whether daily, intraday, or historical. Recognizing these levels is essential for market prediction.
Interpreting 'Magic Candles': These candles may reflect large traders taking profits, causing price stagnation and potential reversals due to the triggered chain reaction among traders.
Market Makers' Tactics: Tall, low-volume candles could signify market makers' efforts to rapidly alter price directions, sometimes as deceptive strategies to initiate market orders.
Significant Market Reversals: Patterns such as UTDAD (Up Thrust After Distribution) or Wyckoff Spring, characterized by tall, similar-height, often wickless candles, can indicate major market reversals, especially when they occur after extended price moves or at critical levels.
This Pine Script tool is invaluable for traders leveraging VPA. It offers visual indicators and insights into market psychology and potential price movements. By analyzing volume and candlestick patterns, traders can better understand market dynamics and enhance their trading decisions.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。