Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading a Strategy Using Daily Bars

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

    Trading a Strategy Using Daily Bars

    I'm planning to use NT to trade a strategy which uses daily bars. Upon a successful CrossAbove or CrossBelow with lookback = 1, the strategy will enter into stock positions.

    Now what I'm afraid of is when the strategy will decide to enter positions. Assuming I use EnterLong and EnterShort to place market orders, will NT at least wait till RTH to trade these stocks (as I have configured US Equities RTH as default for the instruments I want to trade) or would it submit market orders as soon as premarket is available?

    Also, as this is a long term very low frequency strategy, I will often have NT closed/my computer off/broker disconnected etc. Upon reconnection and launching NT, will my existing positions be synchronized and will the strategy recognize the positions it had previously?

    Thanks in advance!

    #2
    wuilengh, the orders would be executed on the next bar open which is determined in realtime going forward by the session selected, so RTH would be what you seek here.

    When you reenable the strategy, it will recalculate it's historical positons and provided your strategy position is then in sync to your account position, it would continue to manage it - we generally do not sync a strategy to an account, but the other way around - so it would be important that the accounts hold the position your strategy is managing coming from historical data.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Sorry, I'm not so clear on the second bit - would this then be a problem if I have many strategies trading the same stock (say SPY) on the same brokerage account or if I did some discretionary trading in the name as well? Would this confuse the strategies and mess up the ExitLong and ExitShort commands?

      Comment


        #4
        The strategies will generate their signals based on the data and conditions, you can execute multiple strategies on the same account symbol and even trade manually as well - what you need to ensure is that the combined strategy position is matching what's present in the account. If you have a manual position on top of that, that's fine.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Awesome, and I assume things like Position.MarketPosition will behave as though they are strategy specific?

          Thanks again.

          Comment


            #6
            Correct, that position is specific to each instance - there's no cross communication between strategies.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Buttony, 01-18-2025, 12:10 PM
            8 responses
            44 views
            0 likes
            Last Post rockmanx00  
            Started by frslvr, 04-11-2024, 07:26 AM
            19 responses
            723 views
            1 like
            Last Post Zinovate  
            Started by johnMoss, Today, 04:00 PM
            0 responses
            4 views
            0 likes
            Last Post johnMoss  
            Started by HappyTrader76, Today, 03:56 PM
            0 responses
            5 views
            0 likes
            Last Post HappyTrader76  
            Started by mjairg, 07-31-2024, 11:48 AM
            7 responses
            102 views
            0 likes
            Last Post Ducman_nl  
            Working...
            X