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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    84 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    47 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    66 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    58 views
    0 likes
    Last Post CarlTrading  
    Working...
    X