VWAP question - NinjaTrader Programming | futures io social day trading
futures io futures trading


VWAP question
Updated: Views / Replies:2,808 / 3
Created: by Todd Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

VWAP question

  #1 (permalink)
Elite Member
Alpharetta, GA
 
Futures Experience: Intermediate
Platform: ninja
Broker/Data: Mirus / Zenfire
Favorite Futures: ES
 
Todd's Avatar
 
Posts: 257 since Jun 2009
Thanks: 28 given, 40 received

VWAP question

In TradeStation, I've got a vwap (25) that paints blue when going and red when going down. However, when I try to set the same settings on the ninja double moving average, I get very different results.

Here is the code the TS VWAP on my TS chart.
{ VWAP MA }
input:
Price(AvgPrice),length(25),upColor(cyan),dnColor(red);
vars:
it(0);
it = VWAP_SMA(Price,length);
plot1(it,"VWAP MA");
if plot1 > plot1[1] then setplotcolor(1,upColor);
if plot1 < plot1[1] then setplotcolor(1,dnColor);

Can someone tell me how to get these results with the ninja double moving average?

See screenshot of my TS chart. The blue/red dotted line is the one I'm trying to re-create in ninja.
2009-06-15_1345

Thanks,
Todd

Reply With Quote
 
  #2 (permalink)
Elite Member
Neubrandenburg, Germany
 
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 297 given, 480 received

i think the logic of plots between tradestation and nt is a little bit different.

what you can do:

create new indicator with some plots per example

main, up and down then use

main.Set(VWAP(Close,14).Line[0])
if(main[0] > main[1]) up.Set(main[0]); //or up.Set(VWAP(Close,14)[0]);
if(main[0] < main[1]) down.Set(main[0]); // ....

i do not look at the code of vwap, but this is what you can do.

Best regards
arne


Last edited by wh; June 17th, 2009 at 03:07 PM.
Reply With Quote
The following user says Thank You to wh for this post:
 
  #3 (permalink)
Elite Member
Alpharetta, GA
 
Futures Experience: Intermediate
Platform: ninja
Broker/Data: Mirus / Zenfire
Favorite Futures: ES
 
Todd's Avatar
 
Posts: 257 since Jun 2009
Thanks: 28 given, 40 received


Thanks, Arne... I'll take a look at that. Thanks for your help.

Reply With Quote
 
  #4 (permalink)
Just starting out...
sydney
 
Futures Experience: Beginner
Platform: ninjatrader
Broker/Data: zenfire
Favorite Futures: futures
 
Posts: 7 since Mar 2010
Thanks: 0 given, 0 received

did you end up figuring out the wvap for ninja. i would like to know your results

Reply With Quote

Reply



futures io > > > > > VWAP question

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using VWAP in your trading Big Mike The Elite Circle 173 January 25th, 2016 10:22 PM
TWAP and VWAP bomberone1 EasyLanguage Programming 27 May 7th, 2015 09:26 AM
VWAP bands crazybears NinjaTrader 102 March 6th, 2012 05:33 PM
chart stocks with vwap ciardim Reviews of Brokers and Data Feeds 2 August 23rd, 2010 12:36 PM
VWAP for NT7 chipotlebop NinjaTrader Programming 3 May 28th, 2010 04:23 PM


All times are GMT -4. The time now is 11:03 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-11 in 0.09 seconds with 19 queries on phoenix via your IP 54.145.16.43