Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy instead of an indicator

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

    Strategy instead of an indicator

    If I use an indicator that calculates prices and stores them in a List<double> for a strategy to access and place orders by it, would it be cleaner to copy all logic from the indicator to the strategy?

    Bottom line, are there any known issues with using a strategy for indicator roles?

    #2
    savekad,

    There aren't any known issues of doing this. Indicators are sort of designed to be more of the "work-horse" for strategies (as well as for plotting on charts, so they have access to the plotting methods) however there is nothing stopping you from performing much of your calculations and logic in the strategy.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    55 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    142 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X