Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
5min VWAP value for higher timeframe
Updated October 5, 2011
5min VWAP value for higher timeframe
October 5th, 2011, 02:32 PM
Malchow (Meckl.)
Experience: Intermediate
Platform: NinjaTrader, TWS
Trading: Stocks
Posts: 17 since Mar 2011
Thanks Given: 15
Thanks Received: 0
Hallo,
i want to implement the value of the 5min VWAP in my 30min strategy
i try this:
protected override void Initialize()
....
Add(PeriodType.Minute, 5);
protected override void OnBarUpdate()
....
if (BarsInProgress != 0)
return;
if (ToTime(Time[0]) >= 90000 && ToTime(Time[0]) <= 190000
&& Close [0] > VWAP().VWAPLine (BarsArray [1] ) [0]
I get an error. what am I doing wrong?
Blackburn
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
October 5th, 2011, 02:37 PM
Quebec Canada
Market Wizard
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,176
Thanks Received: 6,020
I do not knwo anything to Ninja lingo but i know the number of parenthesis should match and in your case it does not so i'd investigate that possibility.
October 5th, 2011, 03:24 PM
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,463 since Jun 2009
Thanks Given: 33,236
Thanks Received: 101,661
Blackburn
I get an error. what am I doing wrong?
Helpful if you would post the exact error message.
Mike
October 5th, 2011, 03:52 PM
San Diego, California
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158
Is vwap supposed to be time frame independent?
October 5th, 2011, 04:06 PM
Columbus, OH
Market Wizard
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527
omaha786
Is
vwap supposed to be time frame independent?
do you mean the same value, but different time frames?
yes vwap is always the same, doesn't matter if 1 min, 10 min, tick, range etc.
October 5th, 2011, 04:21 PM
San Diego, California
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158
Silvester17
do you mean the same value, but different time frames?
yes
vwap is always the same, doesn't matter if 1 min, 10 min, tick,
range etc.
Yes, that's what I mean. The vwap in your chart seems to be just an approximation. Try 30 min or 60 min chart.
October 5th, 2011, 04:30 PM
Columbus, OH
Market Wizard
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527
omaha786
Yes, that's what I mean. The
vwap in your chart seems to be just an approximation. Try 30 min or 60 min chart.
here's 1 min, 30 min and 60 min
still same value. or at least it better be.
Last Updated on October 5, 2011