OPEN-SOURCE SCRIPT
Pin Bar Fib Pullback + Engulfing + Pin Reversal (21 EMA + VWAP)

Dear Traders
Pin bar fib pullback continuation (in 0.50–0.618 zone)
Bullish/Bearish engulfing
Pin bar reversals (bottom/top)
Then we ask: did the next candle move at least atrMult × ATR away from the signal close in the right direction?
For a long signal: next high ≥ signal close + ATR * atrMult
For a short signal: next low ≤ signal close − ATR * atrMult
If yes, that signal gets a big circle with text:
BIG ▲ for long
BIG ▼ for short
drawn on the original signal bar (using offset = -1 trick).
You can tune how “big” you want:
Increase ATR length for smoother ATR
Increase ATR * (e.g., from 1.5 → 2.0) to only mark really strong moves.
Pin bar fib pullback continuation (in 0.50–0.618 zone)
Bullish/Bearish engulfing
Pin bar reversals (bottom/top)
Then we ask: did the next candle move at least atrMult × ATR away from the signal close in the right direction?
For a long signal: next high ≥ signal close + ATR * atrMult
For a short signal: next low ≤ signal close − ATR * atrMult
If yes, that signal gets a big circle with text:
BIG ▲ for long
BIG ▼ for short
drawn on the original signal bar (using offset = -1 trick).
You can tune how “big” you want:
Increase ATR length for smoother ATR
Increase ATR * (e.g., from 1.5 → 2.0) to only mark really strong moves.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Ramesh Raju
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Ramesh Raju
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。