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 Jeremytang, 07-14-2018, 06:45 PM
    21 responses
    439 views
    0 likes
    Last Post mav8rick  
    Started by LeonK, Yesterday, 09:26 PM
    1 response
    7 views
    0 likes
    Last Post bltdavid  
    Started by NicholasJoannette, Yesterday, 03:01 PM
    2 responses
    11 views
    0 likes
    Last Post NicholasJoannette  
    Started by rach1994, Yesterday, 12:20 PM
    1 response
    35 views
    0 likes
    Last Post bltdavid  
    Started by litamm89, Yesterday, 11:00 AM
    5 responses
    21 views
    1 like
    Last Post rafael_delima86  
    Working...
    X