OPEN-SOURCE SCRIPT

VWAP and BB strategy [EEMANI]

Updated
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.
bb_percentage_bBollinger Bands (BB)eemanimohaneeMoving AveragesTrend 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