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, Yesterday, 01:16 PM
        3 responses
        11 views
        0 likes
        Last Post cre8able  
        Started by ChartTourist, Today, 08:22 AM
        0 responses
        6 views
        0 likes
        Last Post ChartTourist  
        Started by LiamTwine, Today, 08:10 AM
        0 responses
        2 views
        0 likes
        Last Post LiamTwine  
        Started by Balage0922, Today, 07:38 AM
        0 responses
        5 views
        0 likes
        Last Post Balage0922  
        Started by JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Working...
        X