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 NullPointStrategies, Today, 05:17 AM
      0 responses
      51 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      127 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X