NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM 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 04-11-2008, 04:55 PM   #1
Sidhartha
Senior Member
 
Join Date: Mar 2008
Posts: 111
Thanks: 0
Thanked 0 times in 0 posts
Default Using multiple time frames from days into minutes

Hi Guys,

Playing around with your multiple time frame methodology, which has been great so far at the minute level, i.e. signals off 5 min bars and execution off 1 min bars... I am now trying to extend this to looking at daily data for signal generation, but still executing at the highest resolution of 1 min bars... However, while the code seems to be getting to my order entry calls they don't seem to be executing at all (on the 1 min bars). Anything obvious I might be doing wrong...?? Indeed, is what I'm trying to do possible...?

Many Thanks
Sidhartha is offline  
Reply With Quote
Old 04-11-2008, 11:57 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Are you using the overload method that allows you to submit orders to whichever bars object you want?

For instance,
EnterLong(int barsInProgressIndex, int quantity, string signalName)
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-12-2008, 04:34 AM   #3
Sidhartha
Senior Member
 
Join Date: Mar 2008
Posts: 111
Thanks: 0
Thanked 0 times in 0 posts
Default

Sorry Josh. Not sure what was wrong - if anything - I now seem to have got it working. Thanks.
Sidhartha 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
Multiple charts with different times frames. rmmsmh Charting 10 04-12-2009 11:49 PM
Mixed time frames cherriman Strategy Development 23 03-10-2008 07:03 AM
Pivots Indicator time frames mazachan Indicator Development 3 02-24-2008 06:51 PM
Multi time frames bobby1001 Strategy Development 1 07-23-2007 10:41 AM
time frames knightrider123 Market Analyzer 2 07-11-2007 01:09 AM


All times are GMT -6. The time now is 09:13 AM.