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
-
Originally 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
-
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
-
Originally posted by devdas View Post
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by helpwanted, Today, 03:06 AM
|
0 responses
3 views
0 likes
|
Last Post
by helpwanted
Today, 03:06 AM
|
||
Started by Brevo, Today, 01:45 AM
|
0 responses
7 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
Comment