TradingView
mohanee
Sep 20, 2020 5:22 AM

VWAP and BB strategy [EEMANI] 

SPDR S&P 500 ETF TRUSTArca

Description

This strategy combines VWAP and BB indicators

BUY RULE
1. EMA50 > EMA 200
2. if current close > vwap session value
3. check if price dipped BB lower band for any of last 10 candles

EXIT RULE
1. price closes above BB upper band

STOP LOSS EXIT
1. As configured --- default is set to 5%


warning: for the use of educational purposes only

Release Notes

1. I have added another parameter BB %B. That means you can use BB or BB %B option to calculate the logic to buy signal.

2. In case of BB %B ---- BUY signal will occur when cross down below and price closing up on vwap
Note: strategy doesnt add the BB %B indicator to the chart. You need to add it manually

3. Added 200 ema to the chart --- just to see whether trend is up or not

4. I have also changed fast ema and slow ema values to 13 and 55 respectively. These settings are better performing than 50 and 200 emas.
Comments
GO4ITJB3
Hi, very nice work! Would it be possible to add date range?

Regards. JB
shayulajiao
Hi,thanks for your share, I wonder on what condition we should short with this strategy?
mohanee
@shayulajiao,

It is developed only for Long. If i find the logic I will update / publish for Short selling
aatpr
Thank you! Very interesting and well designed. With long only option, this strategy appears to be generating low number of trades for stocks even with 5 min bars. Could you please update or recommend the strategy/solution for short selling?
mohanee
@aatpr, I havenot found logic yet for shorting
More