• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

grid categories and indicator constructors

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

    grid categories and indicator constructors

    hi, I see that if I do this,
    Code:
    [Category("Custom Category")]
    public string Param
    {
    get { return param; }
    set { param = value; }
    }
    then the Param will appear in the "Custom Category" section in the properties dialog.
    but...param is not available in the indicator constructor (the one auto created by ninja)

    Is it possible to customize the location in the grid but still have the parameter appear in the indicator constructor?

    Onn

    #2
    Hello Onn,

    Yes, it is possible, however, you would need to use GridCategory and this will put them in alphabetical order.

    Second, you will still need to declare the variable inside the script in order for the param to exist in the context of the script.

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by faustf, Today, 05:00 AM
    0 responses
    5 views
    0 likes
    Last Post faustf
    by faustf
     
    Started by NinjaCustomer, Today, 03:19 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by MarianApalaghiei, Today, 02:54 AM
    1 response
    5 views
    0 likes
    Last Post MarianApalaghiei  
    Started by RandanAL, Yesterday, 11:58 PM
    0 responses
    5 views
    0 likes
    Last Post RandanAL  
    Started by Kabua, Yesterday, 11:24 PM
    0 responses
    5 views
    0 likes
    Last Post Kabua
    by Kabua
     
    Working...
    X