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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        217 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        132 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        147 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        231 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        192 views
        0 likes
        Last Post CarlTrading  
        Working...
        X