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 gentlebenthebear, Today, 01:30 AM
        2 responses
        13 views
        0 likes
        Last Post gentlebenthebear  
        Started by Kaledus, Today, 01:29 PM
        2 responses
        7 views
        0 likes
        Last Post Kaledus
        by Kaledus
         
        Started by frankthearm, Yesterday, 09:08 AM
        13 responses
        45 views
        0 likes
        Last Post frankthearm  
        Started by PaulMohn, Today, 12:36 PM
        2 responses
        16 views
        0 likes
        Last Post PaulMohn  
        Started by Conceptzx, 10-11-2022, 06:38 AM
        2 responses
        56 views
        0 likes
        Last Post PhillT
        by PhillT
         
        Working...
        X