Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy on Live Account

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

    Strategy on Live Account

    I've got several questions:

    1. How do I get my strategy to trade on my live broker account? I've applied the strategy to my chart, but it's only trading the Sim101 account.

    2. When I trade my strategy on recorded market data, this time filter works perfectly, however, when trading in realtime on my live account, it's not working. I'm on Central Time Zone. Here's the code:

    //Now Check to insure we're trading between 0833 and 1100
    && (ToTime(Time[0]) >= 083400)
    && (ToTime(Time[0]) < 110000))

    3. Why can't I see daily/weekly/monthly charts? No data shows up on those charts - It does show up on minute, tick, etc charts.

    #2
    1. You can only route orders to your brokerage if you have a full license key for NinjaTrader. If you have this already, please ensure that you do not have Global Simulation Mode checked in the File menu.

    2. It should work the same as in Market Replay. Remember that checking Time[0] is not your PC clock. It is checking the timestamps of your bars.

    3. If your data provider does not offer you those types of data then you will not see them. http://www.ninjatrader-support.com/H...HistoricalData
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I do have a full license and Global Simulation is not checked. I can trade my account from the DOM or from Chart Trader, but my strategy seems to only trade Sim101.

      The strategy is oriented to the time on the chart, but the time filter is not working (but, again, works fine on market replay).

      Comment


        #4
        As you start your strategy you should be able to select the account you want it to run on. Once started, you cannot change this. Please load a new instance.

        If your time filter works in replay it will work in real-time. The check is against the timestamps of the bars on your chart. I suggest you print text showing you the timestamp of each bar being processed so you know when it should/should not work.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Got the Strategy on my account worked out. - Thanks.

          The time filter is still a mystery. I'll keep playing with it. The date-time stamp shows that the strategy initiated a new trade prior to the filter start time.

          Comment


            #6
            jrowenjr,

            I suggest you use TraceOrders = true to see when orders are submitted. That way you can track what is going on. If you want to know if your time filter is working you should just Print a statement inside the if-statement instead of checking orders. Orders can get filled/submitted elsewhere.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            558 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            324 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            545 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            547 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X