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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Click the link in my bio to join my FREE discord
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Click the link in my bio to join my FREE discord
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.