OPEN-SOURCE SCRIPT
WPNR + ATR Bands + MACDAS Strategy

This indicator is a hybrid approach that blends momentum, volatility, and trend following into one. It's designed to filter out market "noise" and capture high-probability turning points.
Components Used: Williams %R (WPNR): Captures moments when the price crosses above the oversold (below -80) region (Long) or below the overbought (above -20) region (Short).
ATR Bands: Measure price volatility. They prevent spurious breaks by ensuring signals only activate when the price is within a reasonable range (within the bands).
MACDAS: This is a MACD-based trend filter. It only allows trades to be opened in the direction of the main trend (Buy when above the MACD signal line, Sell when below).
How to Use? Buy (Long): W%R must cross above the 80 level, the price must hold above the lower ATR band, and MACD must be in the positive zone (bullish).
Sell (Short): W%R should cross below the 20 level, price should remain below the upper ATR band, and MACD should be in the negative (bearish) zone
Note: This strategy is optimized for 15-minute and 1-hour charts. Always remember to use a stop-loss order.
Components Used: Williams %R (WPNR): Captures moments when the price crosses above the oversold (below -80) region (Long) or below the overbought (above -20) region (Short).
ATR Bands: Measure price volatility. They prevent spurious breaks by ensuring signals only activate when the price is within a reasonable range (within the bands).
MACDAS: This is a MACD-based trend filter. It only allows trades to be opened in the direction of the main trend (Buy when above the MACD signal line, Sell when below).
How to Use? Buy (Long): W%R must cross above the 80 level, the price must hold above the lower ATR band, and MACD must be in the positive zone (bullish).
Sell (Short): W%R should cross below the 20 level, price should remain below the upper ATR band, and MACD should be in the negative (bearish) zone
Note: This strategy is optimized for 15-minute and 1-hour charts. Always remember to use a stop-loss order.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.