Thank you.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Multi time frame indicator
Collapse
X
-
Multi time frame indicator
Hello I have a custon indicator based on moving averages. Can I write a multi time frame version, i.e. 15 minutes and 1 hour, so that I can overlay the hourly custom indicator on the 15 minute chart as well as the one for the 15 minute chart??
Thank you.Tags: None
-
nigeleyre, this is possible with indicators in our upcoming NinjaTrader 7 version - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
For NinjaTrader 6.5, please use a MultTime strategy for this purpose -
BertrandNinjaTrader Customer Service
-
This seems to apply to a method rather than an indicator. If I add Add(PeriodType.Minute, 3);to the initialise part of the indicator code then I get an error.
I want a multi time indicator so I can effectively draw say a 5 period moving average from a 60 minute chart on the 15 minute chart.
while I can draw the level of the 60 minute 5 period moving average I can't plot the actial average line itself from the one time frame onto the other?
Comment
-
nigeleyre, this is unfortunately not supported for indicators in NinjaTrader 6.5, this is why you see the error when you Add() the series.
NinjaTrader 7 will extend the multi series concept to indicators we have right now only for strategies ( http://www.ninjatrader-support.com/H...struments.html )BertrandNinjaTrader Customer Service
Comment
-
The first beta is scheduled for the end of September - updates and features can be found here -http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.htmlBertrandNinjaTrader Customer Service
Comment
-
Another thought, I have the actual line calculated in the actual method which the code references for trading decisions, but as the line constantly changes i.e it is a compund moving average, is it possible in the method to plot the actual line? I have it as a data series so I can check for previous values. If I can plot this then that is all I need and do not need it as a multi time frame indicator. Is this do able?
Comment
-
Please check into this sample for your idea - http://www.ninjatrader-support2.com/...ead.php?t=6651BertrandNinjaTrader Customer Service
Comment
-
Thank you this works perfectly, however I want to have different line widths for the different time frames, is there any way to add that to the plot code
StrategyPlot(0).Plots[0].Pen.Color = Color.Green; Or is there any other way to set the line widths, I can't seem to find one
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
22 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
14 views
0 likes
|
Last Post Today, 06:43 PM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
45 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
7 responses
21 views
0 likes
|
Last Post Today, 06:16 PM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
10 responses
181 views
0 likes
|
Last Post
by jeronymite
Today, 06:11 PM
|
Comment