Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Referring to an indicator that has a base class

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

    Referring to an indicator that has a base class

    Hi

    I have a question concerning reference to an indicator from a strategy.

    My strategy needs to refer an indicator that implement another indicator.

    Ex : Strat == strategy
    Ind1 == first indicator
    Ind2 == second indicator

    Ind1 : Ind2


    In my strategy I add the indicator I want to refer to :

    Add(Ind1(...));

    The problem is that Ind2 which is the base indicator has properties that I need to set.

    How could I solve the problem ?

    Thanks

    #2
    blar58,

    I am happy to assist you.

    Just to clarify, is this an indicator of an indicator, i.e. are you using an indicator as the input data series for a separate indicator?

    If Indicator 1 calls Indicator 2 but it is not the input data series, then Indicator 1 would have to have user defined inputs that are passed to the second indicator in order for you to change them from the first one.

    Please let me know if I can assist further.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    573 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    575 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X