• 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

  • onnb1
    started a topic grid categories and indicator constructors

    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

  • NinjaTrader_CalH
    replied
    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.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by NinjaCustomer, Today, 12:14 AM
1 response
5 views
0 likes
Last Post NinjaTrader_Marco  
Started by U0000999, Yesterday, 11:49 PM
0 responses
4 views
0 likes
Last Post U0000999  
Started by ahadari28, Yesterday, 04:01 PM
0 responses
5 views
0 likes
Last Post ahadari28  
Started by TazoTodua, Yesterday, 06:00 AM
2 responses
19 views
0 likes
Last Post TazoTodua  
Started by TazoTodua, Yesterday, 09:06 AM
1 response
12 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X