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 algospoke, Yesterday, 06:40 PM
        2 responses
        23 views
        0 likes
        Last Post algospoke  
        Started by ghoul, Today, 06:02 PM
        3 responses
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        45 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        22 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        181 views
        0 likes
        Last Post jeronymite  
        Working...
        X