Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        637 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        366 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        107 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        569 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        571 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X