Skip to content
All library documents

VWAP-Filtered Stochastic RSI Swing Strategy with ATR Stops

Article TradingView scripts

Summary

This swing strategy combines a Stochastic RSI crossover with a VWAP direction filter. A bullish crossover can open a long when price is above VWAP during the configured entry session; the bearish counterpart can open a short below VWAP if short trades are enabled. The script allows only one open position at a time. It sets an initial stop using a multiple of ATR and places a profit target at a configurable risk-to-reward multiple. An optional trailing rule moves the stop using the prior bar’s low for longs or high for shorts, and a clock-based rule closes positions near the end of the session.

The description presents the approach for Indian-market instruments and mentions hourly, four-hour, and daily charts, but gives no documented test results or comparison with alternatives. The default configuration favors long trades and disables shorts. The code’s labels and promotional performance language do not establish profitability; behavior also depends on session settings, chart timeframe, order fills, and how the trailing stop interacts with the initial risk and target.

Key ideas

  • Long and short signals combine Stochastic RSI crossovers with price position relative to VWAP.
  • ATR sets the initial stop distance, and a configurable risk-to-reward multiple sets the target.
  • An optional trailing rule updates stops using the prior bar’s low for longs or high for shorts.
  • Session settings constrain entries, and a scheduled rule closes positions near the trading day’s end.
  • The document supplies no verified performance results, and its defaults enable longs while disabling shorts.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.