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 toughiee, Today, 12:04 AM
        0 responses
        2 views
        0 likes
        Last Post toughiee  
        Started by vdoan20, Yesterday, 08:30 PM
        0 responses
        7 views
        0 likes
        Last Post vdoan20
        by vdoan20
         
        Started by gupagoer, Yesterday, 07:42 PM
        0 responses
        9 views
        0 likes
        Last Post gupagoer  
        Started by Holligoly, Yesterday, 05:13 PM
        2 responses
        11 views
        0 likes
        Last Post Holligoly  
        Started by Raginpower, Yesterday, 01:53 PM
        0 responses
        14 views
        0 likes
        Last Post Raginpower  
        Working...
        X