OPEN-SOURCE SCRIPT
Pinbar / Engulf EMA Indicator

This indicator is built based on the video by ForexSignals TV (no association on my part with them), published on July 5th, 2019 titled "SIMPLE & PROFITABLE Trend-following Forex Trading Strategy!"
The basic premiss is to use the 8,13,21 EMAs, make sure they have not crossed in the previous 3 bars, then look for engulfing bars or pinbars for the current direction. Meaning if the trend is up, look for bullish engulfer or pinbars, and bearish ones if the trend is down. Also, the pin must have crossed the 8EMA but not the 21EMA.
When determining to act on the signal, the video recommends only executing a buy/sell if the the current trend in the anchor chart is trending in the same direction (trending up only enter buys, trending down, only enter sells).
The script overlays a BUY or SELL tag under the bar that meets the above criteria.
The basic premiss is to use the 8,13,21 EMAs, make sure they have not crossed in the previous 3 bars, then look for engulfing bars or pinbars for the current direction. Meaning if the trend is up, look for bullish engulfer or pinbars, and bearish ones if the trend is down. Also, the pin must have crossed the 8EMA but not the 21EMA.
When determining to act on the signal, the video recommends only executing a buy/sell if the the current trend in the anchor chart is trending in the same direction (trending up only enter buys, trending down, only enter sells).
The script overlays a BUY or SELL tag under the bar that meets the above criteria.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.