PDA

View Full Version : VWAP for NT 7?


eurostoxx trader
05-10-2010, 10:17 AM
Hi,

I just downloaded NT 7 and it looks really great. I am trying to import a VWAP indicator, but it seems i cant run it as it contrains 'dupliocate method names'

I think it might have somthing to do with the fact that the methods
Bars.SessionBegin and Bars.SessionEnd are deprecated. The indicator uses those methods in the following lines

sessionend = new DateTime(Bars.SessionBegin.Year, Bars.SessionBegin.Month, Bars.SessionBegin.Day, Bars.SessionEnd.Hour, Bars.SessionEnd.Minute, Bars.SessionEnd.Second);
startTimeDate = new DateTime(Bars.SessionBegin.Year, Bars.SessionBegin.Month, Bars.SessionBegin.Day, startTime.Hours, startTime.Minutes, startTime.Seconds);
endTimeDate = new DateTime(Bars.SessionBegin.Year, Bars.SessionBegin.Month, Bars.SessionBegin.Day, endTime.Hours, endTime.Minutes, endTime.Seconds);any idea how I can edit so it will work in NT7?

NinjaTrader_Tim
05-10-2010, 11:23 AM
Hi eurostoxx trader,

With the new session manager, the changes are necessary.

Please see the following link for the changes that need to be made for editing that indicator for NinjaTrader 7.

http://www.ninjatrader-support.com/HelpGuide/NinjaScript_Code_Breaking_Changes_Revision_9_April _28_2010.pdf

Also see this link for VWAP edited by another user - http://www.ninjatrader.com/support/forum/showthread.php?t=2767&highlight=vwap+nt7

eurostoxx trader
05-10-2010, 03:00 PM
thank u very much for the link Ninja Tim

Really appreciate it

Zeos6
02-23-2011, 06:20 PM
HI,
For some reason I cannot access the NT7 VWAP link posted. Is there any other place I can get it? Please advise. Thank you.
Zeos

NinjaTrader_Bertrand
02-24-2011, 04:22 AM
Zeos6, you can also take a look at our sharing section here - http://www.ninjatrader.com/support/forum/local_links_search.php?action=show&literal=1&search=vwap&desc=1

aafwintb
05-12-2011, 08:59 AM
How do I get the vwap on NT 7 to start @ midnight instead of 5am

NinjaTrader_Tim
05-12-2011, 11:35 AM
Hi aafwintb,

To clarify, is it that you don't see data on a chart starting at midnight?

aafwintb
05-13-2011, 02:57 AM
No, I see the chart starting @ 12:00am but when I put on the vwap, it starts @ 5am . I have changed the session startime to 12:00am but still it hasn't helped. however when I change the time settings under data series to use market settings it shows 10:00pm. by the way this is for forex trading i.e. eur/usd.

Thank you.

NinjaTrader_ChristopherJ
05-13-2011, 07:24 AM
No, I see the chart starting @ 12:00am but when I put on the vwap, it starts @ 5am . I have changed the session startime to 12:00am but still it hasn't helped. however when I change the time settings under data series to use market settings it shows 10:00pm. by the way this is for forex trading i.e. eur/usd.

Thank you.


Can you please forward me a copy of the VWAP indicator you are using so I may attempt to test on my end.

Please send this indicator to Support [AT] NinjaTrader [DOT] com with "ATTN: Chris" in the subject line.

In the message, please include the following:
1.) A link to this forum thread.
2.) The indicator you have applied
3.) A screen shot of your chart window with the indicator applied.

To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

paulca
05-24-2011, 11:19 AM
Can you please forward me a copy of the VWAP indicator you are using so I may attempt to test on my end.

Please send this indicator to Support [AT] NinjaTrader [DOT] com with "ATTN: Chris" in the subject line.

In the message, please include the following:
1.) A link to this forum thread.
2.) The indicator you have applied
3.) A screen shot of your chart window with the indicator applied.

To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
I'm using the VWAP code downloaded from the last post here with no problem. I am using the default start session time although there appears to be a property to set the start time.

http://www.ninjatrader.com/support/forum/local_links_search.php?action=show&literal=1&search=VWAP&desc=1