Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator as an input to s strategy

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

    Indicator as an input to s strategy

    Is it possible to have an indicator as input into a strategy? My strategy needs to use one of a possible 4 indicators, but I will only know which one when I run the strategy.
    I was hoping to create a input property for the strategy that allows me to input the name of the indicator to be used by the strategy. I tried creating a property of type "Indicator", but that gave an error. Is there some other way?

    thanks.

    #2
    astrolobe,

    You can try using an enum. This is unfortunately beyond the level of support we can offer, but you should be able to search it on the forums and find enough information to get it working.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    573 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    575 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X