OPEN-SOURCE SCRIPT

VWAP-RSI Scalper FINAL v1

624
Description
This script implements a robust, battle-tested intraday scalping strategy designed for prop firm challenges, funded trader programs, and serious futures scalpers.
It combines VWAP, RSI, EMA trend, and ATR-based risk management to capture high-probability mean reversion and momentum moves during the most liquid hours of the trading day.

Core Logic
RSI (Relative Strength Index):
Trades are triggered when the RSI is either oversold or overbought using a short lookback (default: 3). This ensures only the strongest intraday reversals or exhaustion moves are considered.

VWAP Filter:
Longs are only taken above VWAP, shorts only below VWAP, aligning trades with the session’s dominant bias.

EMA Filter:
Additional trend quality filter—longs require price above EMA, shorts below EMA.

Session Control:
Only trades between user-defined session hours (default: US cash session), eliminating overnight/illiquid action.

ATR-based Dynamic Stops & Targets:
Every trade uses a stop loss at 1x ATR and a take profit at 2x ATR for a positive risk/reward ratio.

Max Trades Per Day:
Prevents overtrading and controls risk exposure (default: 3).

Performance (Sample Backtest)
Profit Factor: 1.37+ (prop-firm quality)

Drawdown: <1% (very conservative risk)

Win Rate: 37–48% (RR > 1, so high edge)

Consistency: Smooth, steady equity curve over hundreds of trades.

Best For:
ES/NQ/CL/GC intraday traders

Prop firm evaluation challenges (Tradeify, Topstep, Apex, etc.)

Anyone needing robust, no-nonsense systematic edge for futures or indices.

How to Use & Tune
Apply to 3min, 5min, or 15min charts of liquid futures or indices.

Change parameters in the settings panel to suit your asset, volatility, or session hours.

Use “Strategy Tester” to validate P&L, win rate, and drawdown.

How to Optimize
Raise/lower RSI length or bands to make signals more/less frequent.

Adjust stop/target multiples for your preferred risk/reward profile.

Change session hours to match your broker or market.

Disclaimer
This is not financial advice. Use on a demo or sim account first. Results will vary by market, slippage, and execution speed. Past performance does not guarantee future results.

If you find this useful, please give it a like, follow for more strategies, and comment your results or questions!

Good luck and safe trading!

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.