Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Calling strategies within strategies

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

    Calling strategies within strategies

    I would like to create a master strategy that calls other strategies based on specified criteria. Is it possible to do this?

    Thanks.

    R/

    Ben B

    #2
    Hello Ben,

    Thank you for your note.

    You would not be able to call a Strategy within a Strategy. Each of these run its own position tracking and instance that can interfere with each other.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Cal View Post
      Hello Ben,

      Thank you for your note.

      You would not be able to call a Strategy within a Strategy. Each of these run its own position tracking and instance that can interfere with each other.
      Hello,

      And could they run parallel?

      --
      Andriy

      Comment


        #4
        Yes, but they will not know each other's position.

        Each strategy runs its own instance, position tracking and order tracking. While you can run two different strategies running on the same account and instrument, it can have adverse affects on the account as the strategies won't track the account position or each others position.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Cal View Post
          Yes, but they will not know each other's position.

          Each strategy runs its own instance, position tracking and order tracking. While you can run two different strategies running on the same account and instrument, it can have adverse affects on the account as the strategies won't track the account position or each others position.
          I am a bit new in developing strategies... have simple question.
          Is it the same : my own developed strategy and ATM strategy ?

          I would like to implement my own strategy and call when I need small ATM Strategies (traling, moving stop orders etc.)

          Comment


            #6
            You will want to take a look at the SampleAtmStrategy that comes with NinjaTrader, Tools -> Edit NinjaScript -> Strategy

            Additionally, here is a link from the online help guide on using ATM's with NinjaScript -
            http://www.ninjatrader.com/support/h...gy_methods.htm
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by aligator, 01-06-2022, 12:14 PM
            4 responses
            234 views
            0 likes
            Last Post john_44573  
            Started by reynoldsn, Today, 05:56 PM
            0 responses
            5 views
            0 likes
            Last Post reynoldsn  
            Started by bortz, 11-06-2023, 08:04 AM
            51 responses
            1,989 views
            0 likes
            Last Post aligator  
            Started by dmking, 11-12-2019, 12:31 PM
            4 responses
            4,150 views
            0 likes
            Last Post jasonw
            by jasonw
             
            Started by roblogic, Today, 04:31 PM
            0 responses
            10 views
            0 likes
            Last Post roblogic  
            Working...
            X