OPEN-SOURCE SCRIPT

VWAP and RSI strategy

Updated
This strategy combines VWAP and RSI indicators

BUY RULE
1. EMA50 > EMA 200
2. if current close > vwap session value and close>open
3. check if RSI3 is dipped below 10 for any of last 10 candles (as defined rsi_buy_level)

EXIT RULE
1. RSI3 crossing down 90 level (as defined in rsi_sell_level)

STOP LOSS EXIT
1. default is set to 5%


you need to add EMA 50 , EMA 200 and VWAP (session) indicators to the chart to see how these signals are generated

This strategy is tested on SPY and QQQ index stocks on hourly chart.

Warning
for educational purposes only

Release Notes
Add on RSI divergence parameter added to settings

This will allow to add to existing position if RSI divergence found.

Background color green has been added to RSI indicator when there is divergence

eemaniOscillatorsTrend AnalysisVolumeVolume Weighted Average Price (VWAP)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer