OPEN-SOURCE SCRIPT

NG - Final - Uday

This is a comprehensive candlestick pattern detector that identifies seven key patterns:

Shooting Star - Bearish reversal pattern with a long upper wick at market highs
Gravestone Doji - Bearish pattern with very small body and long upper wick at highs
Inverted Hammer - Bullish reversal pattern with long upper wick at market highs
Hammer - Bullish reversal pattern with long lower wick at market lows
Bearish Pinbar - Bearish pattern with long lower wick at market lows
Bearish Engulfing - Two-candle bearish reversal pattern, requires new 15-bar high
Bullish Engulfing - Two-candle bullish reversal pattern, requires new 15-bar low

The indicator filters for high-quality setups by requiring patterns to form at significant price levels (local highs/lows). For engulfing patterns specifically, it looks for stronger candles (1.5x size) and requires them to occur at new 15-bar extremes, reducing false signals.
Alerts are generated when any of these patterns are detected, and patterns are visually marked on the chart with different shapes and colors (red for bearish, green for bullish).
Candlestick analysisChart patternsoptions

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明