Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

No Live Trading with Multi-timeframe NT7 Strategy

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

    No Live Trading with Multi-timeframe NT7 Strategy

    NT7. When I load the attached multiple data series strategy with SIM101 to a chart during trading hours, backtest trades are shown correct (except for the very last trade (exitLong()). However no further trades are done on live data.

    This is a simple strategy that buys one 5m bar and sells on the next 5m bar. Chart is 5m with 365 days to load. Positions are flat while running live. I’ve also reset the DB without any success.

    If I comment out the Add()’s, the strategy runs as expected in live trading. What am I missing?
    Attached Files

    #2
    Hello borland,

    I noticed when I tried this on my end that when I either commented out your check to see if 51 days have passed, I was able to get trades to place live. I do see you mentioned loading 365 days. I am investigating this series further and will return to you when I have more information.

    I would like to add that your script is very easy to work with, if you would not mind I would like to bookmark this page and allow other users to use your script in their own projects? It will make it easier to assist other customers in writing tests.
    Last edited by NinjaTrader_JessicaP; 08-05-2016, 09:58 AM.
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      The 51 check is for fifty-one 30m bars. Those checks are actually excessive since the longest check, CurrentBars[7] < 201 on ^COMP daily time series, is the controlling check. I just left those in for reference to another strategy.

      I also wanted to mention I had also tried resetting SIM101. I just tried commenting out the CurrentBars[3] < 51 check but no luck on my side.

      Feel free to use the script in any way you want.

      Comment


        #4
        Hello Borland,

        I am attaching a copy of your strategy which placed trades on the ES 09-16 instrument with a default chart configuration. I believe the lines I have commented out and comments I have placed will help reveal what has occurred. I am happy to answer any specific questions you have, on this strategy or anything related to NinjaTrader.
        Attached Files
        Jessica P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bill2023, Yesterday, 08:51 AM
        8 responses
        43 views
        0 likes
        Last Post bill2023  
        Started by yertle, Today, 08:38 AM
        6 responses
        25 views
        0 likes
        Last Post ryjoga
        by ryjoga
         
        Started by algospoke, Yesterday, 06:40 PM
        2 responses
        24 views
        0 likes
        Last Post algospoke  
        Started by ghoul, Today, 06:02 PM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        46 views
        0 likes
        Last Post jeronymite  
        Working...
        X