Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy based on intelligent Indicator

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

    Strategy based on intelligent Indicator

    I have a custom Indicator which calculates when to enter/exit and colors its line based on that. (Thats why I call it "intelligent".)

    What is the recommended way to build a strategy on this indicator?
    I do not want to cop/paste the logic of the indicator to the strategy. This would be a "code smell".
    The strategy should be able to read the signals from the indicator.

    My current implementation is to add a public "List<Signal>" to the indicator and the strategy simply reads this list.
    But I think this is boilerplate code.
    Is there a recommended way to do this?

    #2
    I would be glad to look at the indicator to see what you can access from the Strategy Builder if you want to share or you could email if preferred

    Comment


      #3
      Hello Bobin,

      One solution would be to create a plot that sets a value and use this as a signal.

      Below is a link to an example.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 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