OPEN-SOURCE SCRIPT
Scalp Pin + Engulf (Ramesh)

How to apply as indicator
In TradingView, open Pine Editor.
Select New → Blank indicator (or clear the editor).
Paste the entire script above.
Click Save, then Add to chart.
You should see:
Green triangles under bars = bullish pin bar at support with trend
Red triangles above bars = bearish pin at resistance with trend
“ENG” labels = engulfing confirmation after pin
From here we can re-add the “fast single-bar reversal” piece once this base version is confirmed working on your chart.
In TradingView, open Pine Editor.
Select New → Blank indicator (or clear the editor).
Paste the entire script above.
Click Save, then Add to chart.
You should see:
Green triangles under bars = bullish pin bar at support with trend
Red triangles above bars = bearish pin at resistance with trend
“ENG” labels = engulfing confirmation after pin
From here we can re-add the “fast single-bar reversal” piece once this base version is confirmed working on your chart.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Ramesh Raju
Aviso legal
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Ramesh Raju
Aviso legal
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.