How do I get a specific plot output(not have to be a plot can either be a variable) from an indicator that i made to my strategy that gets the specified custom session time I made?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How can I add specified session to an indicator
Collapse
X
-
Thanks
just to be sure...
what i want is to do something like that:
MyIndicator("ES 12-11(60 Min) <Default 24/7> ", input1,input2).Plot[10];
or something with "add" :
Add("ES 12-11(60 Min) <Default 24/7> ", PeriodType.Min, 60);
and then
MyIndicator(input1,input2).Plot[1][10];
even if is there a way to just get the data from another opened chart...
i'll happy to hear any other idea or something similar to my example
Originally posted by NinjaTrader_Bertrand View Postasielad, this would unfortunately not be possible, the indicator called from the strategy would use the session definitions the bars series is using which the strategy was started from.
Comment
-
That would only be possible if you work with the Default 24/7 template for the primary series and then limit the data to use in your custom calculations, as if you add a timeframe of the same symbol it would use the primary series data including the sessions to limit memory usage. Specifying a template to use here programmatically to enhance flexibility in on our suggestion list for future consideration though.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
3 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
6 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
Comment