Passing values from a BarsType to a ChartStyle in this way may not be possible, but I don't want to say that for certain until I've run this by a few more people. Thank you for your patience -- I should be able to post back here with a final word soon.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Object passed with BarType
Collapse
X
-
I wanted to post back here and give you an update on this one. I am still unable to create a workable scenario in this case, as in all of my tests, the BarsType instantiated in the ChartStyle is always null.
Passing values from a BarsType to a ChartStyle in this way may not be possible, but I don't want to say that for certain until I've run this by a few more people. Thank you for your patience -- I should be able to post back here with a final word soon.Dave I.NinjaTrader Product Management
-
In the meantime, there is another solution which may help you. If the data you are looking to pass does not absolutely have to come from a BarsType, then you could create a static class in an AddOn, which would be easily accessible from anywhere else. More information on this technique can be found here:
http://ninjatrader.com/support/forum...780#post441780Dave I.NinjaTrader Product Management
Comment
-
Cant say why you are getting null, but i suggest first you try simple experiment as i said in postOriginally posted by NinjaTrader_Dave View PostI wanted to post back here and give you an update on this one. I am still unable to create a workable scenario in this case, as in all of my tests, the BarsType instantiated in the ChartStyle is always null.
Try to get consistent Print Result in output from TestMinuteBar.
Dont do anything with ChartStyle.Basic problem is somewhere else.
Comment
-
This i have been already told to do in NT7 also, but that unfortunately not applicable as a proper solution in my case.Originally posted by NinjaTrader_Dave View PostIn the meantime, there is another solution which may help you. If the data you are looking to pass does not absolutely have to come from a BarsType, then you could create a static class in an AddOn, which would be easily accessible from anywhere else. More information on this technique can be found here:
http://ninjatrader.com/support/forum...780#post441780
Comment
-
Have you been able to run this test ?Originally posted by devdas View Post
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
628 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
359 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
562 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment