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 > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 10-05-2009, 06:50 AM   #1
whitmark
Certified NinjaScript Consultant
 
Join Date: Nov 2005
Location: Virginia, USA
Posts: 441
Thanks: 0
Thanked 12 times in 7 posts
Send a message via Skype™ to whitmark
Default MTF Indicators in NT7

I can add separate dataseries to the chart (e.g., ES 1100t, 233t, 150t) and even apply indicators to each dataseries easily enough, but if I wanted to write a NinjaScript indicator to look for conditions across all three timeframes, does NT7 support this? Of course, this can be done via a Strategy but this implementation prohibits use of the Chart-Trader on the same chart.

In a similar vein, is it possible in NT7 to add multiple instruments/timeframes to an indicator for processing, yet only show the primary timeframe on the chart? If not, is there an opportunity to create a type of hybrid class or configurable property that has all of the multiple-instrument/timeframe capabilities of the Strategy Class, yet would not allow order placement/trade management so this type of MTF indicator can be used with the ChartTrader?

Whitmark
whitmark is offline  
Old 10-05-2009, 07:04 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Quote:
Originally Posted by whitmark View Post
I can add separate dataseries to the chart (e.g., ES 1100t, 233t, 150t) and even apply indicators to each dataseries easily enough, but if I wanted to write a NinjaScript indicator to look for conditions across all three timeframes, does NT7 support this? Of course, this can be done via a Strategy but this implementation prohibits use of the Chart-Trader on the same chart.

In a similar vein, is it possible in NT7 to add multiple instruments/timeframes to an indicator for processing, yet only show the primary timeframe on the chart? If not, is there an opportunity to create a type of hybrid class or configurable property that has all of the multiple-instrument/timeframe capabilities of the Strategy Class, yet would not allow order placement/trade management so this type of MTF indicator can be used with the ChartTrader?

Whitmark
Yes this is possible via Indicator. Just open an indicator and check out the Add() and Add...() methods. Works the same as strategies. If indicator is applied to chart, secondary series are NOT plotted on the chart from the indicator.
NinjaTrader_Ray is offline  
Old 10-05-2009, 07:12 AM   #3
whitmark
Certified NinjaScript Consultant
 
Join Date: Nov 2005
Location: Virginia, USA
Posts: 441
Thanks: 0
Thanked 12 times in 7 posts
Send a message via Skype™ to whitmark
Default

Quote:
Add() - Adds a Bars object to a strategy for developing a multi-time frame or multi-instrument strategy. When running a strategy, the NinjaTrader UI will prompt you to select the primary instrument and bar interval to run on. This primary Bars object will carry a BarsInProgress index of 0. In a multi-time frame and multi-instrument strategy, supplementary Bars objects are added via this method in the Initialize() method and given an incremented BarsInProgress index value. See additional information on running multi-bars strategies.
Excellent! Thanks Ray . . . the help screen still references Add() for strategies exclusively so I was suspect but realize it will be updated in time.
Last edited by whitmark; 10-05-2009 at 07:15 AM.
whitmark is offline  
Old 10-05-2009, 07:36 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Quote:
Originally Posted by whitmark View Post
Excellent! Thanks Ray . . . the help screen still references Add() for strategies exclusively so I was suspect but realize it will be updated in time.
Yes, the Help Guide is no where near up to date especially in the area of NinjaScript.
NinjaTrader_Ray is offline  
 

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
Eotprolive indicators + have free access to there Trading Room / Indicators johncare Charting 0 08-27-2009 03:03 AM
Migrating custom Indicators from NT6.5 to NT7 Acqua Indicator Development 4 08-05-2009 09:56 AM
Steinitz HAS MTF Indicator & Strategy. lks8d9f7j4fsdf Indicator Development 1 10-17-2008 08:27 AM
BarsSinceEntry in MTF-Strategy koalboy Strategy Development 1 02-01-2008 09:32 AM
MTF Ema Cross buderim Market Analyzer 1 10-17-2007 04:17 AM


All times are GMT -6. The time now is 03:37 AM.