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