Announcement

Collapse
No announcement yet.

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:	140
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.

        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        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
            <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, 03-13-2026, 05:17 AM
            0 responses
            87 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            151 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            80 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            53 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            62 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X