Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Best way to set PrintTo as input property
Collapse
X
-
Best way to set PrintTo as input property
Is there a preferred way to set PrintTo as an input property? In OnStateChange, it looks like at least some states call OnStateChange before the property is actually read from the UI. For example, we set default values for properties in state SetDefaults, so the input properties are not read by that state. So in which states can we assume that the input properties have indeed been read, ie in which states do we know that the code is using the user-selected value for a property rather than the default value?
Tags: None
-
Hello westofpluto,
Thanks for your post.
Please see the help guide for the OnStateChange() method that describes the states and what occurs or can be done in each state:https://ninjatrader.com/support/help...tatechange.htm
Here is a link to the help guide for the correct usage of PrintTo: https://ninjatrader.com/support/help...8/?printto.htm
-
You didn't answer the question.
In which state is it safe to assume that the input properties have been set?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment