Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding Plots Dynamically

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

    #16
    Thanks Patrick

    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)

    Comment


      #17
      This suggestion has been assigned ID SFT-1302.

      Comment


        #18
        Originally posted by gregid View Post
        I 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?
        Hi, gregid,

        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
        660 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        375 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        579 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X