OPEN-SOURCE SCRIPT

ADX Gapper

Based on the ADX Gapper strategy described in the book Street Smarts, it looks to exploit retracement to a prevailing trend when there has been a gap away from the trend, giving you multiple potential entries. It uses the ADX to determine a trend and detects when there is a gap to signal an entry day where:

You would enter short if the DI-(red line) > DI+ (green line), ADX (blue area) > 30 indicating a strong trend and if there is a gap up from the previous day. If all the described conditions are met then you would place a short stop at the previous day highs and trail a stop until the end of the day. This strategy is meant to give you trades to hold for 1 day (the day you enter) or 2 days if you consider you should hold it overnight.
Average Directional Index (ADX)retracements

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian