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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
36 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
14 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
19 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment