Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sharing results between strategies

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

    Sharing results between strategies

    I have not been able to find a answer on this forum to a simple question. Maybe I'm looking in the wrong place.
    I hope someone can tell me if and how it is possible to transfer (output/status) values between strategies.

    I have multi-timeframe Trend script I developed myself in NT65 running on the daily chart. Can I expose some values as output from that script, that I can subsequently poll in real-time for input as UserDefined variables in a script running on the same instrument on a separate e.g. a 60-min chart.
    I prefer to NOT to (also) include it in the script running on the hourly chart, to avoid the large set of historic data required to make it work correctly on the hourly level, as well as performance reasons.
    Also I tried avoiding creating a UserDefined method as I expect issues with synching it with the proper DataSeries.
    Am I missing something ? Can anyone point me to some examples ? Do I need to upgrade to NT7 ?

    Thanks in advance,
    Mike

    #2
    Hello,

    Thank you for your forum post.

    There is this following example:



    However, as far as communication between strategies this is theoritically possible. However this is not supported therefor there is no examples nor could I provide any other input on how you would do this except for other Users worked around this for example with txt files or DLL's to provide global variables.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks, Brett for putting a quick end to my fruitless search for this solution. BTW> I had found that reference you posted before, but unfortunately that did not provide me with an adequate answer.

      As I'm a newbie in programming I definitely would need some examples to help me understand the .dll and .txt file workaround.
      I'm not sure if you mean by 'not supported' that there are also no examples of that workaround posted by users here. However if there are I'd appreciate if you or anyone else could point me to any of such examples ?

      Thanks in advance,
      Mike

      Comment


        #4
        Communication between strategies via DLL


        See post #24.

        Comment


          #5
          Tried your suggestion, but never got it to work properly. I've since gone another route using the SampleBoolSeries from post 36 of this thread http://www.ninjatrader.com/support/f...ead.php?t=4991 with more success. Thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          663 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          376 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          110 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          575 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          580 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X