OPEN-SOURCE SCRIPT

Pin Bar Fib Pullback + Engulfing + Pin Reversal (21 EMA + VWAP)

275
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.

إخلاء المسؤولية

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.