OPEN-SOURCE SCRIPT
Scam or Slam - Day Trading Rauf Strategy

**Scam or Slam - Day Trading Rauf Strategy**
This strategy is part of the Scam or Slam testing series, where publicly shared trading models are converted into mechanical TradingView strategies and stress-tested through backtesting.
This script is based on the Day Trading Rauf time-based range sweep model.
The core idea is simple:
1. Build the London time-based range from 01:12 to 02:12 New York time.
2. Build the New York time-based range from 08:12 to 09:12 New York time.
3. Wait for price to sweep one side of the range.
4. Look for a reversal confirmation.
5. Enter back toward the opposite side of the range.
Default entry confirmation uses the 3-candle reversal model:
* After a range low sweep, wait for 3 consecutive bearish candles.
* Enter long when price closes back above that 3-candle sequence.
* After a range high sweep, wait for 3 consecutive bullish candles.
* Enter short when price closes back below that 3-candle sequence.
The strategy includes:
* London and New York range toggles
* 3 Candle Reversal, CHoCH, IFVG, and Any Confirmation entry modes
* Sweep extreme stop loss logic
* Opposite side of range take profit logic
* Fixed R:R and fixed point target options
* Backtest synced entry markers
* Manual entry, stop loss, and take profit lines
* Forced close time
* One-trade-per-range logic
* Margin-call prevention for cleaner futures backtesting
This is designed for research and educational backtesting only. It is not financial advice and does not guarantee profitability. Always test the strategy across different market conditions, instruments, sessions, and data samples before using any trading model live.
This strategy is part of the Scam or Slam testing series, where publicly shared trading models are converted into mechanical TradingView strategies and stress-tested through backtesting.
This script is based on the Day Trading Rauf time-based range sweep model.
The core idea is simple:
1. Build the London time-based range from 01:12 to 02:12 New York time.
2. Build the New York time-based range from 08:12 to 09:12 New York time.
3. Wait for price to sweep one side of the range.
4. Look for a reversal confirmation.
5. Enter back toward the opposite side of the range.
Default entry confirmation uses the 3-candle reversal model:
* After a range low sweep, wait for 3 consecutive bearish candles.
* Enter long when price closes back above that 3-candle sequence.
* After a range high sweep, wait for 3 consecutive bullish candles.
* Enter short when price closes back below that 3-candle sequence.
The strategy includes:
* London and New York range toggles
* 3 Candle Reversal, CHoCH, IFVG, and Any Confirmation entry modes
* Sweep extreme stop loss logic
* Opposite side of range take profit logic
* Fixed R:R and fixed point target options
* Backtest synced entry markers
* Manual entry, stop loss, and take profit lines
* Forced close time
* One-trade-per-range logic
* Margin-call prevention for cleaner futures backtesting
This is designed for research and educational backtesting only. It is not financial advice and does not guarantee profitability. Always test the strategy across different market conditions, instruments, sessions, and data samples before using any trading model live.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Click the link in my bio to join my FREE discord
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Click the link in my bio to join my FREE discord
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.