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 chartchartchart, Today, 08:08 AM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Emily  
                Started by andreslazor7, Today, 08:08 AM
                2 responses
                12 views
                0 likes
                Last Post andreslazor7  
                Started by FatCanary, Today, 08:09 AM
                2 responses
                5 views
                0 likes
                Last Post FatCanary  
                Started by vantojo, 01-12-2021, 02:13 PM
                15 responses
                196 views
                0 likes
                Last Post FatCanary  
                Started by nailui, Today, 07:26 AM
                0 responses
                24 views
                0 likes
                Last Post nailui
                by nailui
                 
                Working...
                X