VWAP 8EMA Crossover Scalping Indicator

pradipandsuvra Mis à jour   

Everybody, especially in Indian context, from 9:15 AM to 3:30 PM, wants to trade in BankNifty.
And even 15m is Too Big timeframe for The Great Indian Options buyers. Everyone knows how potentially BankNifty (& FinNifty on Tuesday and Sensex on Friday) can show dance within 15m.

So there always been an overarching longing among traders to have something in shorter timeframes. And this 5m timeframe, looks like a universally (sic) accepted Standard Timeframe for Indian Options traders.

So here is this.


The time we are publishing this public indicator Indian market (Nifty) is in ATH at ~22200.
In any such super trending market it's always good to wait for a dip and then in suitable time, enter the trade in the direction of the larger trend. The reversal trading systems, in such a situation, proves to be ineffective.
Of course there are time when market is sideways and keeps on oscillating between +/2 standard deviation of the 20 SMA. In such a situation the reversal play works perfectly. But not so in such a trending market.

So the question comes up - after a dip what's the right point to enter.

Hence comes the importance of such a crossover based trading system.

In this indicator, it's a well-known technique (nothing originally from ours, it's taken from social media, exact one we forgot) to find out the 8EMA and VWAP crossover.
So we learned from social media, practice in our daily trading a bit, actuate it and now publishing it.

A few salient points
  1. It does not make sense to jump into the trade just on the crossover (or crossunder).
  2. So we added some more sugar to it, e.g. we check the color the candle. Also the next candle if crosses and closes above (or below) the breakout candle's high/low.
  3. The polarity (color) of both the alert (breakout/breakdown) and confirmation candle to be same (green for crossover, red from crossunder).
  4. Of course, it does provider BUY and SELL alerts separately.

These all we have found out doing backtesting and forward testing with 1/2 lots and saw this sort of approaches works.
Hence all of these are added to this script.

Here green line is the 8EMA and the red line is the VWAP.
Also there is a black dotted line. That's 50 EMA. It's to show you the trend.
The recent trade is shown in the top right of the chart as green (for buy) or red (for sell) with SL and 1:1 target.

How to trade using this system?

This is roughly we have found the best possible use of this indicator.
Lets explain with a bullish BUY positive crossover (means 8EMA is crossing over the daily VWAP)
  1. Keep timeframe as 5m
  2. Check the direction/slope of the black dotted line (50 EMA). If it's upwards, only take bullish positions.
  3. Open the chart which has the VWAP. (e.g. FinNifty spot or MidcapNifty spot does not have vwap). So in those cases Future is the way to go.
  4. Wait for a breakout crossover and let the indicator gives a green, triangular UP arrow.
  5. Draw a horizontal line to the close of that candle for next few (say 6 candles i.e. 30m) candles.
  6. Wait for the price first to retest the 8EMA or even better the VWAP (or near to the 8EMA, VWAP)
  7. Let the price moves and closes above the horizontal line drawn in the 4th step.
  8. Take a bullish trade, keeping VWAP as the SL and 1:1 as the target.
  9. Additionally, Options buyer can consult ADX also to see if the ADX is more than 25 and moving up for the bullish trade. (This has to be added seperately in the chart, it's not a part of the indicator).

The concept we have taken from some social media. Forget exactly where we heard this first time. We just coded it with some additional steps.

Statutory Disclaimer

  1. There is no silver bullet / holy grail in trading. Nothing works 100% time. One has to be careful about the loss (s)he can bear in case of the trade goes against.
  2. We, as the author of this script, is not responsible for any trading or position decision one is taken based on the outcome of this.
  3. It is our sole discretion to change, add, delete the portion or withdraw the whole script without any prior notice or intimation.
  4. In Indian Context: We are not SEBI registered.
Notes de version:

On the places where you see the triangle-up and triangle-down as the potential confirmed breakout/breakdown, added horizontal line from the high/low of the breakout/breakdown candle for next 10 future candles. This number 10 is configurable in settings.

If any of the 10 future candles closes above/below this triangle-up/triangle-down it will show a green/red diamond sign to indicate Strong chance of the movement now.
Notes de version:
There was an issue (defect) that the confirmation happening after long time of the crossover. E.g. the crossover happened at 10AM. And the confirmation coming at 3:00PM. It's showing trade as well.

So introduced a lookback (default: 14), such that if the breakout/breakdown confirmation happens withing 14 candles of the crossover/crossunder, then only flag the entry.
Naturally the trade signal now moved to the confirmation, than the cross-over/cross-under.

There was a request that to introduce a re-test. But honestly: I have seen that defining re-test is really difficult. Like should it drop a bit? or touch the EMA or like what? As not yet clear, so just keeping it as-is.
Notes de version:
Just checked, the alerting has a defect. Now fix. All alerts are coming nicely.
Today in #Crudeoil .. out of 5 trades, 4 are green, one SL hit.

Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?