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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        179 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        333 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        256 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        356 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        185 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X