Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

sharing code between indicators and strategies

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

    sharing code between indicators and strategies

    Is there an example of how to share functions or code between indicators or strategies, such as through a common library file, etc?

    Thanks in advance,

    Ken

    #2
    Ken, have you seen the reference sample titled: Exposing indicator values? I've also covered this in another thread that you can look over.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Thanks for the response, Austin.

      The forum posts seem to talk about sharing indicator values across different strategies.

      I'm actually more concerned about sharing C# code across different strategies, like actual functions. I would like to have a common source code file where I can share commonly used functions across my strategies.

      Is there an example of this somewhere?

      Thanks in advance,

      Ken

      Comment


        #4
        kjackson,

        The UserDefinedMethods.cs file is for this.

        You can also read this post chain for more information.
        mrlogik
        NinjaTrader Ecosystem Vendor - Purelogik Trading

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        160 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        308 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        349 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X