PROTECTED SOURCE SCRIPT
Hammer Candle Detector with ATR Wick Condition

This script detects Hammer candlesticks on any timeframe chart.
Conditions for a valid Hammer:
1. Small body near the top of the candle range (≤30% of total range)
2. Lower shadow at least 2× the body
3. Small or no upper shadow (≤30% of body)
4. Lower wick height must be greater than half of ATR(14)
A triangle marker is plotted below each candle that meets these conditions.
Conditions for a valid Hammer:
1. Small body near the top of the candle range (≤30% of total range)
2. Lower shadow at least 2× the body
3. Small or no upper shadow (≤30% of body)
4. Lower wick height must be greater than half of ATR(14)
A triangle marker is plotted below each candle that meets these conditions.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. However, you can use it freely and without any limitations – learn more here.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. However, you can use it freely and without any limitations – learn more here.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.