Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding Plots Dynamically

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • gregid
    replied
    Originally posted by NinjaTrader_Dierk View Post
    Hmm ... I see your point. We'll look into.
    Thank you, much appreciated!

    Leave a comment:


  • NinjaTrader_Dierk
    replied
    Hmm ... I see your point. We'll look into.

    Leave a comment:


  • gregid
    started a topic Adding Plots Dynamically

    Adding Plots Dynamically

    In NT7 I could easily add plots dynamically since Initialize() was also called on pressing OK or Apply. Unfortunately for me NT8 is much more "air tight" in this regard.
    The plots can now only be added during State.SetDefaults and pressing OK or Apply starts already from State.Configure where adding plots is illegal.
    I did few experiments and was hoping that SetState(State.SetDefaults) will bring me back to where I could set the plots. But this didn't execute OnStateChange and I am back to square one.
    This capability (to add plots depending on user selection in PropertyGrid) is crucial for my last few years of work to not get wasted. Adding them all would result in having 40+ plots fraction of which would be used (and many other complexities). So for me it is basically step down from existing functionality, though I understand my problem may not be so common.

    I have attached simplified indicator presenting the problem (after changing PlotsNumber and/or color components it should recreate the plots) and would appreciate some ideas and possible solution to the problem.
    Attached Files

Latest Posts

Collapse

Topics Statistics Last Post
Started by kinfxhk, 07-13-2026, 10:18 AM
0 responses
33 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 09:50 AM
0 responses
26 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 07:21 AM
0 responses
35 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-11-2026, 02:11 AM
0 responses
31 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by SalmaTrader, 07-07-2026, 10:26 PM
0 responses
141 views
0 likes
Last Post SalmaTrader  
Working...
X