The ApplyDefaultValue() method in BarsTypes doesn't update the property grid. In order to see the new default value you need to preset and restore the bar type settings, or cycle through to a different bar type and return back to your desired bar type. Is there a way to force refresh the property grid so the settings made in ApplyDefaultValue() become visible in the property when a new chart using that bar type is being created?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
ApplyDefaultValue
Collapse
X
-
ApplyDefaultValue
Hi,
The ApplyDefaultValue() method in BarsTypes doesn't update the property grid. In order to see the new default value you need to preset and restore the bar type settings, or cycle through to a different bar type and return back to your desired bar type. Is there a way to force refresh the property grid so the settings made in ApplyDefaultValue() become visible in the property when a new chart using that bar type is being created?Tags: None
-
Hello Zeos6,
Thanks for your post.
There is not a supported way to do this. From an end user standpoint, the default values would not be modified so the end user would not have to take these steps. From a development standpoint, defaults could be programmed initially and you may test with your own values in the Data Series window. You may then set your final values in ApplyDefaultValue() when you are finished testing.
If restoring the preset is an inconvenience for loading new values as you are developing, I would recommend taking the approach described above.
Please let us know if we can be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
106 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
36 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
38 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
74 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment