TradingView
mohanee
Aug 28, 2020 7:59 PM

VWAP and RSI strategy 

SPDR S&P 500 ETF TRUSTArca

Description

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

Comments
Dhaval_Sopariwala
How to display the buy and sell signals of strategy on the chart?
mohanee
Here is another example to improve the entries

LouiLow
@mohanee, hi, may i know where can i find your divergence indicator?
mohanee
@LouiLow, it is there in public list … just type searching divergence and look for my name right side
mohanee
you can improve the entries on this indicator .. see details below

ngupta72
Thanks. I will test and update you. Do you have other strategy for short
ngupta72
Very nice strategy. Is the reversal is true for short.
//1. EMA50 < EMA 200,
//2. if current close < vwap session value and close<open
//3. check if RSI3 is crossed above 90 for any of last 10 candles
//EXIT RULE
//1. RSI3 crossing up 10 level
//STOP LOSS EXIT
mohanee
@ngupta72,
yes you can do that except condition 3. In down trend you may not see RSI reaching 90 level. mostly reach level 60 . So you should probly test between 60 to 90 and check which setting works fine and gives better results.

all the best
More