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 cre8able, Today, 01:16 PM
        2 responses
        9 views
        0 likes
        Last Post cre8able  
        Started by chbruno, 04-24-2024, 04:10 PM
        3 responses
        48 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by samish18, Today, 01:01 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by WHICKED, Today, 12:56 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by WHICKED, Today, 12:45 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X