Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Communicating Between Script

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

    Communicating Between Script

    Is there a simple way to have one strategy query another strategy (or several others) for the status of a user defined variable ? Also can that strategy then be backtested along with the strategies it queries.

    thx

    #2
    Last year I published in this forum a basic concept which describes how strategies could exchange data (P/L values in this case).

    webart, if you have the needed coding knowledge, you could use this implementation as a basis for your own development:

    http://www.ninjatrader-support2.com/...ad.php?t=20302

    Regards
    Ralph

    Comment


      #3
      Thanks Ralph I have read your thread, thanks, I was hoping there might be an easier way Actually I only need to read the MA slope of mulitple instruments, so I think in NT7 I can do this from 1 script,

      http://www.ninjatrader.com/support/h...nstruments.htm

      Thanks for the offer mountain climber, I actually found someone yesterday that is will to help for a fee.

      Comment


        #4
        Right way to go webart. Just in case you are not aware: even NT6.5 can handle multi-instrument strategies, but not multi-instrument indicators.

        Regards
        Ralph

        Comment


          #5
          I changed my post below so it reflects what I meant/is more accurate...

          Ralph - would it not be easier to just include all of the strat code in one strat? I am thinking so... Nevertheless, good post....

          ben

          Comment


            #6
            Thanks for the positive feedback, Ben.

            Do I understand your question correctly: Implement different strategies as on strategy, handling the trading-position-series separately, and finally having easier access to the statistics of the series without static lists and registration procedures?

            Regards
            Ralph

            Comment


              #7
              Not free mountainclimber for a FEE

              My strategy Ralph looks at the slope MA of 2 different instruments and then trades a third instrurment based on the slope MA of the other 2.

              Comment


                #8
                Oh, got it!

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Frank1000, Today, 03:05 AM
                0 responses
                3 views
                0 likes
                Last Post Frank1000  
                Started by ntdev, Today, 01:14 AM
                2 responses
                10 views
                0 likes
                Last Post ntdev
                by ntdev
                 
                Started by ct, Today, 02:22 AM
                0 responses
                5 views
                0 likes
                Last Post ct
                by ct
                 
                Started by yodaler, Yesterday, 06:12 PM
                3 responses
                11 views
                0 likes
                Last Post yodaler
                by yodaler
                 
                Started by sinpeople, 05-07-2021, 04:38 AM
                2 responses
                21 views
                0 likes
                Last Post hedgeplay  
                Working...
                X