• 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 Mike Winfrey, Today, 11:27 AM
    0 responses
    6 views
    0 likes
    Last Post Mike Winfrey  
    Started by swcooke, Yesterday, 07:35 PM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by brownsfan019, Today, 10:45 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by brownsfan019, Today, 10:41 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by bchip, Today, 09:25 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X