Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Parameters

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

    Strategy Parameters

    Can anyone tell me why the first parameter does not show up in parameter dialog when adding a strategy to a chart? The only real difference is the "Category" name. It appears the only category that works for strategies is "Parameters"...is this correct?

    [Description("Number of contracts for Condition 2 Second Limit contracts")]
    [Category("Contracts")]
    [Gui.Design.DisplayNameAttribute("Qty for targetLMT2")]
    public int CntsLMT2
    {
    get { return cntsLMT2; }
    set { cntsLMT2 = Math.Max(0, value); }
    }

    [Description("Condition 2, First limit price offset from Close, in ticks")]
    [Category("Parameters")]
    public int ELMT1offset
    {
    get { return eLMT1offset; }
    set { eLMT1offset = Math.Max(0, value); }
    }

    #2
    Hi astrolobe, unfortunately using custom names is not supported.

    Comment


      #3
      Hi Bertrand, is it just not supported for strategies, as I have used "Visual" as a category in indicators that has worked?

      Comment


        #4
        astrolobe,

        The technique is not supported for both. It may or may not work in an indicator, but is not recommended or suggested by us.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        61 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        148 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        98 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X