NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 08-01-2007, 09:29 PM   #1
bwarner
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
Default Time Frame Question

I am trying to create a strategy that uses a 4-hour chart to trigger strategies that take place on a shorter timeframe. Would I able to create a strategy for the 4 hour chart using the wizard that, under certain conditions, would set a variable which can then be used as a condition builder in another strategy that would run in a shorter timeframe? For example, if the conditions to set the Variable0 = 1 are met on the 4-hr strategy, could that variable's value now be used in the condition builder of another strategy that will be running on a different time frame?
bwarner is offline  
Reply With Quote
Old 08-01-2007, 11:20 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

You can not "cross-code" multiple strategies. However, you can code a single strategy running on multiple timeframes (see SampleMultiTimeFrame strategy).

You can not code multi time frame strategies by the wizard but would need to get your feet wet by coding these strategies manually.
NinjaTrader_Dierk 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
Custom time frame mydet Suggestions And Feedback 1 07-14-2007 08:06 AM
Multi-time frame scjohn Strategy Development 1 06-06-2007 07:20 PM
Minute Time Frame Indicators in a TickTime Frame strategy Nathamus General Programming 5 04-10-2007 02:41 AM
Multiple Time Frame access stepwise General Programming 1 03-31-2007 03:33 AM
Backtest > Time frame sdooley Strategy Analyzer 3 03-22-2007 07:52 AM


All times are GMT -6. The time now is 02:30 PM.