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

Strategy Analyzer -- Running Multiple Times

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

    Strategy Analyzer -- Running Multiple Times

    Hi NinjaTrader -

    I have a multi-timeframe Strategy that uses 1M and 3M DataSeries with NT 8 v (8.0.7 64-bit)

    I've noticed that when the Strategy Analyzer runs it runs multiple times ( twice) -- and when it does, the Strategy Analyzer seems to get confused by which instrument to trade.

    For example,

    1. if the Strategy is Trading Instrument "ES 09-17" on the 3M Chart timeframe
    2. and UVOL is on the 1M timeframe (i.e. BarsInProgress == 1)
    3. On the 2nd rerun, the Strategy Analyzer will try to trade "UVOL" despite the fact i use "BarsInProgress == 0" to trade "ES 09-17"
    4. This is an intermittent problem

    OnPositionUpdate: (Correct)


    OnPositionUpdate: (WRONG)


    Lastly, it appears to re-run based on the NUMBER of DataSeries I have added to it. So, If i add +3 DataSeries it will run up to 4 times.


    BigSurf
    Last edited by bigsurftrader; 06-22-2017, 12:24 PM. Reason: Attached images

    #2
    Hello,

    Thank you for your note.

    I am reviewing your inquiry and follow up with you on my findings.

    I look forward to assisting further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hello,
      Thank you for waiting.
      If you are comfortable posting your code file here please do, otherwise please send me your code file to platformsupport[at]ninjatrader[dot]com with 'ATTN: Chris L' in the subject line and a reference to this thread in the body of the email.
      I look forward to being of further assistance.
      Chris L.NinjaTrader Customer Service

      Comment


        #4
        Hi Chris - it's a proprietary algorithm so won't post it here. What I can do is re-create the issue with perhaps another algorithm that uses our custom order management system. Give me a couple of days to send over some non-IP code.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cre8able, 02-11-2023, 05:43 PM
        3 responses
        236 views
        0 likes
        Last Post rhubear
        by rhubear
         
        Started by frslvr, 04-11-2024, 07:26 AM
        8 responses
        113 views
        1 like
        Last Post NinjaTrader_BrandonH  
        Started by stafe, 04-15-2024, 08:34 PM
        10 responses
        46 views
        0 likes
        Last Post stafe
        by stafe
         
        Started by rocketman7, Today, 09:41 AM
        3 responses
        11 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by traderqz, Today, 09:44 AM
        2 responses
        10 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X