I forgot (again) that the same functionality would also be beneficial for Lines - as the same issue applies (I simply generate more plots than lines)
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Adding Plots Dynamically
Collapse
X
-
Hi, gregid,Originally posted by gregid View PostI have been successfully adding plots dynamically from Configure state for a while now.
There is only one caveat to the functionality - plots added in Configure state are never visible in the property grid. Since they are generated basing on other properties and Configure is executed only after pressing OK button it is understandable but I wanted to suggest a possible solution to make it possible to preview the plots in the property grid.
If Plots would have Remove method (ie. Plots.Remove(Plot) and Plots.RemoveAll() we could generate plots first in SetDefaults then in Configure remove all plots and generate them again (this time with changed settings). This would give us an option to eg. manually adjust generated plot details if desired.
So my question is - would it be possible to add these methods?
Could you please post some code showing how you add plots dynamically in Configure state? I've been tripping over something, but don't know what. Tried to do in Default and Configure state, yet no luck. http://ninjatrader.com/support/forum...ad.php?t=85229
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
666 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
376 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 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
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
580 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment