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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          52 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          142 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          160 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          96 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          276 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X