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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        125 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        105 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        85 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        105 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        85 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X