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 forrestang with 8 posts (1 thanks)
    4. looks_4 Big Mike with 8 posts (6 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 64,654 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

  #21 (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


supermht View Post
Good job, FT, when I open my indicator list, I can see "ana" everywhere....

The last version of the VWAP was anaCurrentDayVWAPV32. It did not have bands. The version V33 will have the bands, that is the reason I am posting here. But the bands need to be correct and fast.

If you read this thread you are just participating in the creation of the new version.

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Deepmoney LLM
Elite Quantitative GenAI/LLM
Futures True Range Report
The Elite Circle
Exit Strategy
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #22 (permalink)
 supermht 
Naperville IL
 
Experience: Intermediate
Platform: ninjatrader
Broker: NT broker
Trading: NQ ES 6E GC CL
Posts: 962 since Feb 2010
Thanks Given: 1,189
Thanks Received: 661

I am using version 32 now, very powerful
I removed other MAs, it makes the chart clean and simple, especially for big picture.
looking forward to version 33

Reply With Quote
  #23 (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


So finally, I have finished a test version of the VWAP + bands indicator. It was a real headache.

I have found three ways to define volatility bands around the VWAP.

(1) Use the variance based on the distance of price from the corresponding value of the VWAP

Please not that this is not the way Bollinger Bands work. Typically you measure the distance of price from the last data point of the average not from the corresponding value. This method will generate narrower bands than the orthodox way, particularly on trending days.

(2) Use the variance based on the distance of price from the current (last) value of the VWAP

These bands are more like Bollinger Bands and will be wider on trending days.

(3) Replace the standard deviation with the quarter range of the current session as it develops.

The indicator allows you to choose between the three options. (1) is the default option and will possibly get you the best results. Also I managed to find an algorithm for (1) which is 15 times faster than the original one, so it is easy to use the indicator on small period tick charts now.

I have then added an option for coloring the band areas. This slows down the indicator loading time. If you want to use the indicator on high resolution charts, please set 'Opacity = 0'. The indicator will then work faster, but the ranges between the VWAP bands will not be colored.

Options

SessionType ETH: The VWAP is calculated for the full trading day.
SessionType RTH: The VWAP is calculated for the selected RTH session, After the close of that session the values will further be displayed, if the following session(s) still belong to the same trading day. However, the values will no more be updated.
SessionType RTH-Multi: Same as RTH, but the values will be updated. You can use this setting for displaying a VWAP over the second and third intraday session of the trading day.
BandType Variance_Distance: The default setting for BandType is Variance_Distance. In this case the indicator will draw the bands by calculating multiples as selected of the standard deviation of price relative to the corresponding value of the VWAP.
BandType Variance_Last: In this case the indicator will determine the bands by calculating multiples as selected of the standard deviation of price relative to the current (last) value of the VWAP.

BandType Session_Range: If this option is selected, the offset of the bands from the VWAP is calculated as a multiple of the quarter range. The quarter range is 1/4 of the current's session range, session as selected for the VWAP.
Multipliers: For each of the bands the multipliers can be selected. Default values are 1,2 and 3, so the indicator will display

-> 1, 2 and 3 standard deviation bands in Variance mode
-> 1, 2 and 3 times the quarter range as measured from the VWAP in SessionRange mode

Hybrid: This is my personal setting, which selects the 3rd RTH session for FOREX and all currencies, but the second RTH session for all other instruments. You do not need to use it.
Holiday Settings: As usual the indicator will recognize special holiday rules for CME, so if there is no bug it should display a single session for Memorial Day and the next session.

As the indicator is quite complex, please do expect minor bugs. That is the reason that it is posted here and not in the Download Section of the forum. In particular, I still want to check the bahavior for holiday sessions.

Attached Thumbnails
Click image for larger version

Name:	Variance_Distance.jpg
Views:	462
Size:	111.0 KB
ID:	39607   Click image for larger version

Name:	Variance_Last.jpg
Views:	397
Size:	113.6 KB
ID:	39608   Click image for larger version

Name:	Session_Range.jpg
Views:	394
Size:	106.1 KB
ID:	39609   Click image for larger version

Name:	VWAP Forum.jpg
Views:	360
Size:	109.3 KB
ID:	39610  
Attached Files
Elite Membership required to download: anaCurrentDayVWAPV33X1.zip
Reply With Quote
  #24 (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,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,536

 
Thread Moved


This thread started as an Investor/RT / MarketDelta question, but Fat Tails is posting NinjaTrader code now so I decided to move it to the NinjaTrader forum



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading



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
  #25 (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


Big Mike View Post
 
Thread Moved


This thread started as an Investor/RT / MarketDelta question, but Fat Tails is posting NinjaTrader code now so I decided to move it to the NinjaTrader forum



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading



Mike

Sorry, was just exploring the different VWAP bands, and as I could not resist, I coded them. I don't use Inverstor R/T or MarketDelta, but I used the information I got from there.

As I have now coded possible implementations of VWAP bands, it is now possible to compare other screenshots to what I have coded. the Sierra Chart implementation is similar so should be ok. If somebody posts a MarketDelta chart now, I should be able to tell, whether the indicator correctly works or not.

Reply With Quote
  #26 (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,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,536


Fat Tails View Post
Sorry, was just exploring the different VWAP bands, and as I could not resist, I coded them. I don't use Inverstor R/T or MarketDelta, but I used the information I got from there.

As I have now coded possible implementations of VWAP bands, it is now possible to compare other screenshots to what I have coded. the Sierra Chart implementation is similar so should be ok. If somebody posts a MarketDelta chart now, I should be able to tell, whether the indicator correctly works or not.

It's fine, just didn't belong in IRT forum any longer.

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
  #27 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,063 since Jun 2009
Thanks Given: 625
Thanks Received: 3,906

well i dont use vwap but great job fattails,i dont know how you do it, you truely are priceless and bmt is lucky to have you,thank you...sharky

KILLING THE MARKETS DAILY
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #28 (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


beowulfit View Post
Here you can see how have to work bands (right pic is Ninja trader 7) and how work in MD.
Lows bands can't follow the trend when a sharp price movement occurs.

@ beowulfit

The hVWAP from the Download section of BigMike's seems to produce an identicla output as the anaCurrentDayVWAPV33X1 in ETH / Variance_Last mode, although

-> it cannot adapt to various RTH session
-> it will not work in Varaince_Distance or Session_Range mode

But unlike the VWAP from the NinjaTrader forum it correctly calculates the bands.

Reply With Quote
Thanked by:
  #29 (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

Version X1 did not allow to change plotstyle and dashstyle of the bands, as I had forgotten a few lines. Fixed with X2.

Attached Files
Elite Membership required to download: anaCurrentDayVWAPV33X2.zip
Reply With Quote
Thanked by:
  #30 (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



LukeGeniol View Post
This is Silver from SC:

Have again checked the Sierra Chart version. It looks like my version in Variance_Distance mode. This means that it is probably calculated by comparing price to the corresponding VWAP, not the terminal VWAP. This is what I consider the best method

-> as it gets the wanted results
-> as it calculates faster than the other method

It is also the default method of my indicator. I further assume that SierraChart uses the typical price to calculate the VWAP, the experimental versions still use the close, but I will probably switch to the Typical as well.

Silver Chart with VWAP Bands in Variance_Distance mode and Typical price attached. I cannot find any difference with the SierraChart VWAP, except for the bars, which are different as I started the session at 8:25.

Chart attached.


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