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

Swing indicator within strategies

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

    #31
    Originally posted by NinjaTrader_BrandonH View Post
    Hello burmaz,

    Thanks for your notes.

    Yes, I have heard back from the Development team on this matter.

    The Development team has investigated the reported behavior and implemented a fix in the latest version release of NinjaTrader (8.1.2.0).

    Please update NinjaTrader to the latest version (8.1.2.0) by following the steps below.

    To update NinjaTrader
    • Shutdown all programs including NinjaTrader *important
    • Download NinjaTrader from the link below
    • Double click the downloaded file to execute it
    • Follow the on screen instructions
    • Restart NinjaTrader
    You can read about changes to this release in the release notes linked below.
    https://ninjatrader.com/support/help...ease_notes.htm
    Hi

    So basically what they did was to add "Calculate = Calculate.OnBarClose;"
    This is forcing the indicator to calculate on OnBarClose and you cant change it to OnEachTick.
    This solution doesn't help anyone as we want the indicator to be able to calculate OnEachTick and still show the same values as it does using calculate OnBarClose.

    Click image for larger version

Name:	image.png
Views:	64
Size:	37.5 KB
ID:	1280151

    Comment


      #32
      Originally posted by NinjaTrader_BrandonH View Post
      Hello burmaz,

      Thanks for your notes.

      Yes, I have heard back from the Development team on this matter.

      The Development team has investigated the reported behavior and implemented a fix in the latest version release of NinjaTrader (8.1.2.0).

      Please update NinjaTrader to the latest version (8.1.2.0) by following the steps below.

      To update NinjaTrader
      • Shutdown all programs including NinjaTrader *important
      • Download NinjaTrader from the link below
      • Double click the downloaded file to execute it
      • Follow the on screen instructions
      • Restart NinjaTrader
      You can read about changes to this release in the release notes linked below.
      https://ninjatrader.com/support/help...ease_notes.htm
      Hello,

      Following up on what Makri posted above, the update made to the swing indicator still does not fix the problem. I am trying to run the indicator on a 'on price change' strategy and the swing indicator is triggering trades from swings that do not show up on the chart.

      When will ninjatrader fix this major bug?? This thread is almost 7 years old now!
      Last edited by burmaz; 02-06-2024, 11:47 AM.

      Comment


        #33
        Hello burmaz,

        Thanks for your notes.

        The Development team has investigated this matter further and they have informed the Support team that they decided when using the Swing indicator you must use Calculate.OnBarClose.

        Calculate.OnEachTick or Calculate.OnPriceChange should not be used with the Swing indicator.

        Brandon H.NinjaTrader Customer Service

        Comment


          #34
          Originally posted by NinjaTrader_BrandonH View Post
          Hello burmaz,

          Thanks for your notes.

          The Development team has investigated this matter further and they have informed the Support team that they decided when using the Swing indicator you must use Calculate.OnBarClose.

          Calculate.OnEachTick or Calculate.OnPriceChange should not be used with the Swing indicator.


          So the bug was not fixed after all despite being told otherwise.

          So a bug was reported, customers went through great effort to explain the bug in this thread to NT, NT acknowledges there's a bug, but they're refusing to fix it? 7 years after this bug was first reported?

          Some strategies MUST be run on 'each tick' or 'price change'. Calculating on bar close is not an option.

          This bug needs to be fixed.

          Comment


            #35
            Hello burmaz,

            Thanks for your notes.

            The Development team looked into the reported Swing indicator behavior and decided to enforce Calculate.OnBarClose for the Swing indicator.

            I have submitted a feature request to the Development team for not enforcing Calculate.OnBarClose for the Swing indicator so that Calculate.OnPriceChange or Calculate.OnEachTick could be used for the Swing indicator so they may consider implementing this in a future NinjaTrader release.

            This request is being tracked under the number SFT-6218.

            As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted on the Release Notes page of the Help Guide.

            Release Notes:


            If you need a strategy to calculate some logic OnPriceChange/OnEachTick and other logic OnBarClose, we have a reference sample demonstrating how this could be done using IsFirstTickOfBar here: https://ninjatrader.com/support/help...either_cal.htm
            Brandon H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by StockTrader88, 03-06-2021, 08:58 AM
            44 responses
            3,966 views
            3 likes
            Last Post jhudas88  
            Started by rbeckmann05, Today, 06:48 PM
            0 responses
            4 views
            0 likes
            Last Post rbeckmann05  
            Started by rhyminkevin, Today, 04:58 PM
            4 responses
            54 views
            0 likes
            Last Post dp8282
            by dp8282
             
            Started by iceman2018, Today, 05:07 PM
            0 responses
            5 views
            0 likes
            Last Post iceman2018  
            Started by lightsun47, Today, 03:51 PM
            0 responses
            8 views
            0 likes
            Last Post lightsun47  
            Working...
            X