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.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Ramesh Raju
Pernyataan Penyangkalan
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.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Ramesh Raju
Pernyataan Penyangkalan
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.