NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-13-2011, 12:21 PM   #1
rjngh2005
Member
 
Join Date: Oct 2010
Location: Los Angeles,CA
Posts: 47
Thanks: 17
Thanked 1 time in 1 post
Default Period Type

I have seen the following code in your Sample

SampleMultiTimeFrameOrders.cs

Add(PeriodType.Minute, 5);
Add(PeriodType.Minute, 15);


can I add a similar code
Add(PeriodType.Range, 5);
Add(PeriodType.Range, 10);

Is this PeriodType.Range documented ?
rjngh2005 is offline  
Reply With Quote
Old 06-13-2011, 12:37 PM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Thanks for the note.

Yes PeriodType.Range will pull in a range chart data series.

http://www.ninjatrader.com/support/h...s/nt7/add3.htm

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
Old 06-13-2011, 01:49 PM   #3
rjngh2005
Member
 
Join Date: Oct 2010
Location: Los Angeles,CA
Posts: 47
Thanks: 17
Thanked 1 time in 1 post
Default Thanks a lot

Thanks Brett
rjngh2005 is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
base period type enum e-man General Programming 6 02-17-2011 09:22 AM
Period Type aytacasan Indicator Development 8 11-24-2010 11:40 AM
Period type/value as a parameter? ma5ter General Programming 3 01-03-2010 12:12 AM
Custom Period Type Problems RJay Strategy Development 4 03-12-2009 12:12 PM
String form of Period Type zoltran General Programming 4 12-05-2007 10:40 PM


All times are GMT -6. The time now is 08:49 PM.