NexusFi: Find Your Edge


Home Menu

 





VWAP bands


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 44 posts (111 thanks)
    2. looks_two syxforex with 10 posts (6 thanks)
    3. looks_3 Big Mike with 8 posts (6 thanks)
    4. looks_4 forrestang with 8 posts (1 thanks)
      Best Posters
    1. looks_one gtichauer with 7 thanks per post
    2. looks_two Fat Tails with 2.5 thanks per post
    3. looks_3 Big Mike with 0.8 thanks per post
    4. looks_4 syxforex with 0.6 thanks per post
    1. trending_up 65,312 views
    2. thumb_up 153 thanks given
    3. group 33 followers
    1. forum 102 posts
    2. attach_file 49 attachments




 
Search this Thread

VWAP bands

  #61 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

I have just updated the SessionVWAP and SessionTWAP. The indicators can be found here:




I have slightly changed the calculation mode. The VWAP and TWAP now use the average price (High + Low + Open + Close) / 4. The standard deviation bands use the inpute series. This means that - with default settings - the indicator will calculate variance based on the distance between close and the VWAP / TWAP based on the average price.

In particular this means that the standard deviation for the first bar of a session is not zero, as the close is compared to the average price (High + Low + Open + Close). The visual appearance of the indicator directly after the session open will therefore be different. It will not necessarily show as a beak-shaped ghost, but start with a wider range than you may find for other VWAP bands, which are calculated by using the close.

Please note that using four data points for each bar instead of one increases the accuracy.

I have also made a number of smaller modifications, improved the plot and removed a minor bug. The update is recommended.

Attached Thumbnails
Click image for larger version

Name:	6E 09-11 (3 Min)  26_07_2011 VWAP.jpg
Views:	338
Size:	102.7 KB
ID:	44696   Click image for larger version

Name:	6E 09-11 (3 Min)  26_07_2011 TWAP.jpg
Views:	265
Size:	109.8 KB
ID:	44697  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
  #62 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,214
Thanks Received: 101,599

Please join us this Sunday, July 31st @ 2:00PM Eastern for @Fat Tails webinar on trading VWAP, Pivots, and other Session Indicators:



Register for the webinar (link inside) ahead of time.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #63 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,214
Thanks Received: 101,599



Fat Tails View Post
I have just updated the SessionVWAP and SessionTWAP.

I have also made a number of smaller modifications, improved the plot and removed a minor bug. The update is recommended.

Notifications sent.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #64 (permalink)
 syxforex 
British Columbia
 
Experience: Advanced
Platform: NINJA
Broker: ZEN
Trading: Crude
Posts: 1,091 since May 2010

Hey FatTails,

thanks a lot. A weekly or multi day (adjustable) VWAP would be super cool if you have one that works on a small time frame chart. It would be cool to put on the one day, two day, three day, etc... thanks so much dude!


Fat Tails View Post
The question is what you call a multi-session VWAP.

The standard VWAP in the downloads allows you to select between three modes: ETH, RTH and RTH_Multi.

Let us take for example CL and assume that you have divided the day into three sessions: the night session (6:00 PM to 9:00 AM), the RTH session (9:00 AM to 2:30 PM) and the after session (2:30 PM to 5:00 PM). This is possible:

ETH: VWAP will be calculated for the entire trading day.
RTH 1: VWAP will only be calculated for the night session (first segment).
RTH 2: VWAP will only be calculated for the RTH session (second segment).
RTH-Multi 2: VWAP will be calculated for the RTH session (second segment) calculation will be continued into the after-session (third segment).

If you are talking about a weekly VWAP with standard deviation bands, I think I have it somewhere, but I still need to rework that one a little bit.

I also think I have done a version that compares 1-day VWAP (average price of the current day) with a 2-day VWAP (average price over a 2-day-period) and a 3-day VWAP. But that one is still experimental.

I also plan to code a multi- timeframe VWAP, as the accuracy is not yet good on longer period (> 10 min ) charts. VWAP is a typical example, where the resolution matters:

-> on small period tick charts it will possibly never stop calculating and exhaust your CPU
-> on large period charts it will be inaccurate

So in the two cases it is better to load a 1-minute series and use it to calculate the VWAP. This will solve both the CPU and accuracy problems.

But what do you look for?


Visit my NexusFi Trade Journal Reply With Quote
  #65 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


syxforex View Post
Hey FatTails,

thanks a lot. A weekly or multi day (adjustable) VWAP would be super cool if you have one that works on a small time frame chart. It would be cool to put on the one day, two day, three day, etc... thanks so much dude!

You will find a weekly VWAP included with the second package that I have posted in the Webinar thread.



Use it with Variance_Distance or Session_Range setting, and it should work on real-time charts. Avoid Variance_Last settings for smaller timeframe charts.

Reply With Quote
  #66 (permalink)
 syxforex 
British Columbia
 
Experience: Advanced
Platform: NINJA
Broker: ZEN
Trading: Crude
Posts: 1,091 since May 2010

Hey Fat Tails, thanks so much for the VWAP indicators you have shared with the community at Big Mikes. I'm loving these VWAP indicators and wondering if there is a way to put the RTH VWAP on at ETH chart so that both the RTH AND ETH VWAP lines coexist on the same chart, preferably placing the RTH VWAP on the ETH chart? Is it possible?

Thanks again for your awesome indicators and great posts!




Fat Tails View Post
You will find a weekly VWAP included with the second package that I have posted in the Webinar thread.



Use it with Variance_Distance or Session_Range setting, and it should work on real-time charts. Avoid Variance_Last settings for smaller timeframe charts.


Visit my NexusFi Trade Journal Reply With Quote
  #67 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


syxforex View Post
Hey Fat Tails, thanks so much for the VWAP indicators you have shared with the community at Big Mikes. I'm loving these VWAP indicators and wondering if there is a way to put the RTH VWAP on at ETH chart so that both the RTH AND ETH VWAP lines coexist on the same chart, preferably placing the RTH VWAP on the ETH chart? Is it possible?

Thanks again for your awesome indicators and great posts!

Use a session template that divides the day into the RTH session and the remainder. I attach session templates for ES and CL below as an example.

Then apply the VWAP and set it to RTH and 2nd session (as the RTH session is the second session of your template). If you set the VWAP to RTH_Multi, it will continue its calculation from the 2nd into the 3rd session for CL.

Attached Thumbnails
Click image for larger version

Name:	Session Template ES.JPG
Views:	248
Size:	46.1 KB
ID:	45219   Click image for larger version

Name:	Session Template CL.JPG
Views:	235
Size:	45.2 KB
ID:	45220  
Reply With Quote
  #68 (permalink)
 syxforex 
British Columbia
 
Experience: Advanced
Platform: NINJA
Broker: ZEN
Trading: Crude
Posts: 1,091 since May 2010

Super cool man, thanks. BTW, ss there a way to setup sessions so as to create the two day vwap? I really like the weekly though from eyeballing the chart it seems the two would be very handy indeed. Was driving all weekend at my other job so missed the webinar but will take a look at it as soon as I can. Do you happen to have a two day vwap, even if it's not perfect? Thanks again man! You are a genius!



Fat Tails View Post
Use a session template that divides the day into the RTH session and the remainder. I attach session templates for ES and CL below as an example.

Then apply the VWAP and set it to RTH and 2nd session (as the RTH session is the second session of your template). If you set the VWAP to RTH_Multi, it will continue its calculation from the 2nd into the 3rd session for CL.


Visit my NexusFi Trade Journal Reply With Quote
  #69 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


syxforex View Post
Super cool man, thanks. BTW, ss there a way to setup sessions so as to create the two day vwap? I really like the weekly though from eyeballing the chart it seems the two would be very handy indeed. Was driving all weekend at my other job so missed the webinar but will take a look at it as soon as I can. Do you happen to have a two day vwap, even if it's not perfect? Thanks again man! You are a genius!

Currently do not have a 2-day VWAP that can be easily used.

Reply With Quote
  #70 (permalink)
 syxforex 
British Columbia
 
Experience: Advanced
Platform: NINJA
Broker: ZEN
Trading: Crude
Posts: 1,091 since May 2010


Perhaps, FatTails, it is best... the matrix at 1 is complex enough, and good enough, really, what's another line, you can actually see it anyways if you just look at the one Week, on Wednesday anyways, lol,, thanks again dude... I will keep hounding you for N Period, maybe I should learn some C# one of these days anyways, just a matter of time till i own all them vwap bands my friend.. haha


Fat Tails View Post
Currently do not have a 2-day VWAP that can be easily used.


Visit my NexusFi Trade Journal Reply With Quote




Last Updated on March 6, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts