• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsSinceExitExecution() Error with Tick Fill Resolution

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

    BarsSinceExitExecution() Error with Tick Fill Resolution

    Hi Everyone !

    I just noticed that any strategy using BarsSinceExitExecution() can NOT be enabled using Order Fill Resolution High ( I tested 1 Tick ) because we get the error

    Strategy 'SampleMACrossOver3': Error on calling 'OnBarUpdate' method on bar 20: Strategy 'SampleMACrossOver3/100356214': You must use the overload that has a 'BarsInProgress' parameter when calling the BarsSinceExitExecution() method in the context of a multi-time frame and instrument strategy.

    it is the original SampleMACrossover with this line added at the end :
    int lastrade = BarsSinceExitExecution();
    pmaglio
    NinjaTrader Ecosystem Vendor - The Indicator Store

    #2
    Hello pmaglio,

    Thank you for writing in.

    I was able to replicate and have passed this on to development. I will follow up with whether this is perceived as a bug and resolved or if this is something that will be mentioned in the helpguide.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Any news on this ?
      I need to answer a customer or modify his code to make his strategy able to work on Tick Fill Resolution

      Thanks !
      pmaglio
      NinjaTrader Ecosystem Vendor - The Indicator Store

      Comment


        #4
        Hello Pmaglio,

        Thank you for following up.

        This has been resolved in V8R7 which I do not have a date of release.

        You should be able to track this issue in the helpguide release notes with #11555.
        https://ninjatrader.com/support/help...ease_notes.htm

        Please let us know if you need further assistance.
        Last edited by NinjaTrader_AlanP; 04-26-2017, 08:59 AM.
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pitifak, Today, 01:01 AM
        0 responses
        3 views
        0 likes
        Last Post pitifak
        by pitifak
         
        Started by rjafcv, Yesterday, 10:40 PM
        0 responses
        4 views
        0 likes
        Last Post rjafcv
        by rjafcv
         
        Started by JAtrades, Yesterday, 07:38 PM
        0 responses
        3 views
        0 likes
        Last Post JAtrades  
        Started by bouncetherubble, Yesterday, 07:07 PM
        0 responses
        2 views
        0 likes
        Last Post bouncetherubble  
        Started by bouncetherubble, Yesterday, 06:12 PM
        0 responses
        5 views
        0 likes
        Last Post bouncetherubble  
        Working...
        X