Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Apply logic to parameters based on another parameter

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

    Apply logic to parameters based on another parameter

    Is it possible to hide, modify, reorder, apply logic to parameters based on another parameter?

    Couple things I would like to achieve -

    If I input value in one parameter some would no longer display/hide.
    Update Values in one parameter and others would be updated or set back to default.

    Thank You!

    #2
    Hello Dragon989,

    Thanks for your post.

    This is possible through the use of TypeConverters. We have a sample that demonstrates how a TypeConverter can be used to modify property grid behavior in an indicator and the same process can be applied to a strategy as long as the StrategyBaseConverter class is used.

    Using a TypeConverter to customize Property Grid Behavior - https://ninjatrader.com/support/help...r_to_custo.htm

    StrategyBaseConverter - https://ninjatrader.com/support/help...econverter.htm

    Please let us know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X