This script identifies and highlights consecutive lower shadows on candlesticks in TradingView. A lower shadow is the portion of the candlestick between the low price and the lower of the open or close prices, often indicating price rejection at lower levels.
Key Features:
Threshold Settings: The user can customize the minimum length of the lower shadow (lowerShadowThreshold) and the maximum allowable price difference between consecutive lows (priceDifferenceThreshold).
Bar Coloring: When two consecutive bars meet the lower shadow condition, both bars are colored (default green).
Alerts: An alert is triggered when consecutive lower shadows are detected, allowing users to be notified of potential market reversals or buy opportunities.