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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Ramesh Raju
إخلاء المسؤولية
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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Ramesh Raju
إخلاء المسؤولية
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.