Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question on Subclass and inheritance and variables.

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

    Question on Subclass and inheritance and variables.

    My Main class has two subClasses each instantiated. One of the sub classes involves processing the other List data. The processing sub class at times needs to access List data from the List subclass. I am finding this problematic for the following reason. While the Main class can access either subclass and Set data from the list into the Processing class. This involves serious sequencing issues for when this data is updated. It also seems like a lot of useless duplication. For technical reasons I cannot make the Processing subclass part of the main. I looked at forcing inheritance but because they are instantiated it is my understanding that will not work either. I am kind of a rookie at dealing with this class issue. Could someone recommend a solution.

    Thanks
    Jerry

    #2
    Hello Jerry,

    Would it be possible to see the script that you have written to get a better view of this is working?
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    630 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    566 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X