ProSwingVWAP: Combining Swing Points with volume-weighted prices to define trends

Hello, it’s been a long time.  Life finds a way to get you off track.  I’m trying to get things here up and running again.

This is something I was working on a long time ago, and I just re-visited it this last week.  I think it’s interesting, so here it is: ProSwingVWAP.

2018-11-18-ProSwingVWAP

A VWAP is a volume-weighted average price.  I talked about VWAPs more here.  The idea for this indicator is to use Swing Points to define the period where we start tracking the volume-weighted value.  The chart above shows it in action.  I like using a VWAP as the price input, so you get a running volume-weighted total of each bar’s VWAP.  Kind of a VWAP squared.  You can use close, high, low, etc. as well.

Once a swing point (white dot) is charted, that swing point becomes the first value for that SwingVWAP.  From there, the price value you choose to average for the VWAP is volume-weighted on each bar and the running VWAP is adjusted.  This is done for swing highs (green dots) and swing lows (red dots) separately.  As long as a new swing high / low hasn’t been made, that long / short VWAP value will just continue to build.  A new swing high or low will reset the VWAP and start again.  I added optional paintbars to show green when a bar close is above the swing high VWAP, red if a bar closes below the swing low VWAP, and grey if it closes between them.  I also hide the VWAP value if bars close beyond them.

Because swing points need to have some future values to know if it really is a swing, there is a delay in this indicator.  The more forward bars you require to decide if a swing is in, the longer it will take for the data structure to be confirmed.  If you set the “FlagEarly” input to yes, then paintbars are yellow during this unknown stage.  The fastest reaction is if you use a value of 1 for Swing Forward, but you get more false positives this way too.  I usually use a value of 1 or 2.  The more bars back you look (Swing Back), you get fewer swings but they are bigger ones.  I mess with this value based on the timeframe and the particular name I’m working with, but I’ll usually use 8 or so.

I’m still in the research phase of this one, so I haven’t decided exactly what to do with it yet.  I like how it defines trends.  A bull trend is present when price is closing above the long SwingVWAP, and a bear trend when price is closing below the short SwingVWAP.  I also like the way it shows when a pullback is on, and when the trend resumes.  On the chart above of $SPY, the period from June to October is a prime example.  The market bottomed out at the end of July and then started an uptrend.  When a new swing high was in, the long SwingVWAP (green dots) told us when we were still in the pullback. Once price closed above the long value again, the trend was back on.  The short SwingVWAP kept trailing along below, reminding us that we were in a bull trend.  Then, as October started, we closed below the short SwingVWAP very dramatically, and the correction was on.  Now we seem to be right back in the middle of the two in a holding pattern.

For now it’s a just a context indicator rather than a trading signal, but it looks like it has some potential.  You can get ProSwingVWAP in the “Donors Only” folder in “Released Thinkscript Studies” at my Google site.  It will work on desktop or mobile, but paintbars only work on the desktop platform.

If you’d like to become a blog donor, hit the button below:

Tags: , , , ,

8 Responses to “ProSwingVWAP: Combining Swing Points with volume-weighted prices to define trends”

  1. Richard Todd Says:

    There was an approach like this called MIDAS, which took vwap-from-swings as its foundation. I made some similar indicators and followed it for a while. I do think it can be useful information–especially if you keep established vwaps going on-screen until they’ve been thoroughly refuted. (can make the screen messy though!)

    https://en.wikipedia.org/wiki/MIDAS_Technical_Analysis

  2. Prospectus Says:

    Cool, thanks Richard!

    >

  3. ProSwingVWAP Chart: $SPY | Read the Prospectus Says:

    […] Trading, Think or Swim, Ninjascript and other Rocket Science « ProSwingVWAP: Combining Swing Points with volume-weighted prices to define trends […]

  4. Example Swing VWAP / RSI Divergence Trade: $AAPL | Read the Prospectus Says:

    […] a trade I entered in Apple about 2 weeks ago where I used the Swing VWAP and the RSI MultiDivergence […]

  5. A Look at a Few Charts Right Now | Read the Prospectus Says:

    […] been watching and what I think my indicators are telling me. I’m mainly looking at the ProSwingVWAP and the Multi-Divergence Indicator v2 on the RSI(20). Also plotted in a gray line is an indicator […]

  6. Kenny Higdon Says:

    new here. made a donation. how do i get the passwords to unlock some of your posts?

  7. Prospectus Says:

    Check your email

    >

  8. A Look At a Few Charts: Revisited | Read the Prospectus Says:

    […] and didn’t look back. If I weren’t sidelined by rule, I would have gone long on the Swing VWAP breakout at about $135. I have liked ROKU all year and in this case, breaking my rule would have […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: