Thank you.
Announcement
Collapse
No announcement yet.
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 -
-
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 )
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.html
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=6651
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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
164 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
319 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
246 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
350 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment