Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Return more values in a strategy from indicator

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

    #16
    Hello esignal,

    Thank you for your patience.

    Can you attach the indicator to your response so I may test this item on my end? You will find the indicator in the following directory on your PC: (My) Documents\NinjaTrader 7\bin\Custom\Indicator > it will be a .cs file.

    For your second question, can you expand on what you are attempting to set? What is "parameters(depthLevel)" and how is it used?

    I look forward to your response.

    Comment


      #17
      Anyway in my request to step 2 because I realized I did not pass the parameters ..


      [Description ("DepthLevels - number of level II levels to accumulate (min 1, max 5)"), NinjaTrader.Gui.Design.DisplayName ("p1_DepthLevels"), GridCategory ("Parameters")]

      (This steps ABOVE don't passes parameters)

      [Description ("DepthLevels - number of level II levels to accumulate (min 1, max 5)")]
      [GridCategory ("Parameters")]

      (This steps ABOVE passes parameters)


      But why so?



      Instead, for my request Ranked # 1 there is the attachment that I have already posted in the post below (BobbyTest.cd and DELETELEVELS.cs)





      Thanks
      Last edited by esignal; 01-20-2014, 02:34 AM.

      Comment


        #18
        Hello Esignal,

        That is because each item will need to be in its own [ ] placement. Even though this compiles fine, the "Under the Hood" portion does not recognize this as an argument that then can be used when calling it from another script.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,404 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        95 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        8 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        159 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X