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 JTizz, Today, 01:20 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by omermirza, Today, 12:39 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by mballagan, Today, 01:02 PM
        0 responses
        5 views
        0 likes
        Last Post mballagan  
        Started by larkmail, Today, 12:30 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by Danila, Today, 11:08 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X