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 CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      35 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      198 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      365 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      283 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X