Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
VWAP time frame
Collapse
X
-
Originally posted by wheeler View PostHello good afternoon, I wanted to ask to see who can help me with the vwap flag that marks me different values when changing time frame, I do not know if there will be any specific configuration or indicator for the daily session that does not oscillate so much, thanks and greetings
Comment
-
Thank you wheeler. I understand you received this indicator from the support forums. Without a link to exactly the indicator you were using, we won't be able to speak to configuring this indicator in particular.
If we can not locate this indicator in the forums, generally speaking, you can use indicators such as the built-in standard deviation indicator,
with another indicator as its series input to normalize another indicator and cut down on oscilations. Please let us know if there are any other ways we can help.Jessica P.NinjaTrader Customer Service
Comment
-
The original post was so poorly written that I can only guess what you meant, but I will take a stab at it.
VWAP Indicators that give different results on charts with different time frames do that because they are coded incorrectly.
For the results to be consistent regardless of the time frame of the chart, the VWAP must be calculated based on a secondary one tick data series.
I am baffled by the Ninjatrader response regarding the standard deviation indicator, which has absolutely nothing to do with your problem and does not seem to reflect any awareness of the concept of volume weighted average price.Last edited by Ricam; 04-26-2017, 08:29 PM.
Comment
-
Originally posted by Ricam View PostVWAP Indicators that give different results on charts with different time frames do that because they are coded incorrectly.
For the results to be consistent regardless of the time frame of the chart, the VWAP must be calculated based on a secondary one tick data series.
Let us have a look at today's regular session VWAP for ES 09-17.
Data source 1 tick bars: VWAP = 2434.00 / Upper SD 3 = 2439.75 / Lower SD 3 = 2428.25
Data source 100 tick bars: VWAP = 2434.00 / Upper SD 3 = 2439.75 / Lower SD 3 = 2428.25
Data source 1000 tick bars: VWAP = 2434.00 / Upper SD 3 = 2439.75 / Lower SD 3 = 2428.25
Data source 10000 tick bars: VWAP = 2433.75 / Upper SD 3 = 2439.50 / Lower SD 3 = 2428.00
Data source 1 min bars: VWAP = 2434.00 / Upper SD 3 = 2439.75 / Lower SD 3 = 2428.25
Data source 5 min bars: VWAP = 2434.00 / Upper SD 3 = 2439.75 / Lower SD 3 = 2428.25
For today's VWAP it is accurate to the tick when calculated from 1000-tick bars or 5-minute bars. I have found that for all liquid futures contracts calculating VWAP and bands from 100-tick bars or 1-minute bars is accurate after the first hour of trading counted from the anchor point of the VWAP.
The case might be different, if you wish to use the regular session VWAP during the first 30 minutes of the session. In this case you may need higher resolution input data, but in general 100-tick bars are definitely good enough.No need to use 1-tick data and burn the CPU.
It is always best to search for a trade off between accuracy and CPU load and you will never have any freezes!
Originally posted by Ricam View PostI am baffled by the Ninjatrader response regarding the standard deviation indicator, which has absolutely nothing to do with your problem and does not seem to reflect any awareness of the concept of volume weighted average price.
That is probably the missing link between VWAP and standard deviation.The VWAP is just the volume weighted mean, where the standard deviation indicates the dispersion around that mean.Last edited by Harry; 06-13-2017, 01:15 PM.
Comment
-
vwap short cut calculation
Maybe a high cpu load that would cause problems on Ninjatrader 6.5 running on a TRS-80, but no problems here with vwap indicators using a secondary one tick data series.
In a workspace with 12 charts, each one with its own VWAP.
Half of them running in TickReplay mode.
In NT7, using those short cut calculation VWAPS, there were substantial and very noticeable variations in the vwap values on tick based charts having short vs long time frames. That's why I went this way in the first place.Last edited by Ricam; 06-13-2017, 04:54 PM.
Comment
-
Originally posted by Ricam View PostMaybe a high cpu load that would cause problems on Ninjatrader 6.5 running on a TRS-80, but no problems here with vwap indicators using a secondary one tick data series.
In a workspace with 12 charts, each one with its own VWAP.
Half of them running in TickReplay mode.
In NT7, using those short cut calculation VWAPS, there were substantial and very noticeable variations in the vwap values on tick based charts having short vs long time frames. That's why I went this way in the first place.
Attached is a chart showing FDAX, which is less liquid than ES. I have overlayed the plots calculated from 1-tick data (gold) over the plots calculated from 100-tick data (blue). There are noticeable differences for the pre-session from 8:00 AM to 9:00 AM. But starting with the regular session at 9:00 AM both plots are equivalent.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Aviram Y, Today, 05:29 AM
|
0 responses
1 view
0 likes
|
Last Post
by Aviram Y
Today, 05:29 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
3 responses
25 views
0 likes
|
Last Post Today, 05:23 AM | ||
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
7 responses
34 views
0 likes
|
Last Post Today, 05:15 AM | ||
Started by cls71, Today, 04:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by cls71
Today, 04:45 AM
|
||
Started by mjairg, 07-20-2023, 11:57 PM
|
3 responses
216 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
Comment