Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question on Referencing another Indicator

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

    Question on Referencing another Indicator

    In NT7 I could reference my other indicators variables by Name ( inputs ).Var where the Inputs were the minimum Necessary for the indicator. Since Converting to NT8. I get an Overload error telling me there is no overload with that number of inputs. Is there a way around this or do I have reference this indicator with a huge number of unecessary inputs?

    Thanks

    #2
    Hello,

    You would need to pass the number of overloads the indicator requires to be able to call it. In the case that there are many overloads and the indicator is one you have programmed you could reduce the exposed inputs to shorten the call to this indicator. Otherwise, if this is a third party item you would just need to use the full syntax to complete the overloads.

    Please let me know if I may be of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Jesse
      So If I understand it correctly if I remove [NinjaScriptProperty] from all the inputs that I do not wish to be in the indicators call parameter list I can compress this down
      Do I have this correct ?

      Thanks

      Comment


        #4
        Hello,

        Yes this does control the exposure of a property, you can locate more information on this property in the help guide here: http://ninjatrader.com/support/helpG...ScriptProperty

        I would suggest that you try the samples in the help guide in a sample script on your end to understand this concept in better detail.

        Please let me know if I may be of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        148 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        5 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Working...
        X