Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Andrew's Pitchfork / Median Line Bug

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

    Andrew's Pitchfork / Median Line Bug

    Hi everyone,

    While implementing an indicator, which draws Median Lines from a script, I recognized, that the Median Lines were drawn incorrectly.

    The provided code by NT for Andrew' s Pitchfork / Median Line has a bug. It seems that it slipped through undetected or only a few people are using Median Lines form NS.

    @AndrewsPitchfork.cs @ line 560:

    Code:
    startAnchor.CopyDataValues(pitchfork.StartAnchor);
    endAnchor.CopyDataValues(pitchfork.EndAnchor);
    extAnchor.CopyDataValues(pitchfork.EndAnchor);
    It should be:
    Code:
    startAnchor.CopyDataValues(pitchfork.StartAnchor);
    endAnchor.CopyDataValues(pitchfork.EndAnchor);
    extAnchor.CopyDataValues(pitchfork.ExtensionAnchor);
    The bug still exists in NT version 8.0.4.0 64-bit (Multi-Broker).

    An easy fix for now is to change the file outside of NS and it will recompile it automatically. Otherwise NS will complain about modifying a system DrawingTool.

    It's only related to the specific DrawingTool called from NS. Andrew's Pitchfork / Median Line works fine in NT.

    Thanks.

    #2
    Hello BearPower,

    Thanks for your post and welcome to the NinjaTrader forums!

    We will investigate and update this thread when we have further information.

    Thank-you for your observations and suggestions for improvement, we appreciate it.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello BearPower,

      Just to update.

      Development assigned the bug number of NT8-11297. This has been fixed and should be available in the next release of NinjaTrader8.

      Thanks once again for reporting and advising your code observations.
      Paul H.NinjaTrader Customer Service

      Comment


        #4
        Hi NinjaTrader_Paul,

        Great, thank you!

        Thanks once again for reporting and advising your code observations.
        My pleasure.

        Regards.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Christopher_R, Today, 12:29 AM
        0 responses
        9 views
        0 likes
        Last Post Christopher_R  
        Started by sidlercom80, 10-28-2023, 08:49 AM
        166 responses
        2,235 views
        0 likes
        Last Post sidlercom80  
        Started by thread, Yesterday, 11:58 PM
        0 responses
        3 views
        0 likes
        Last Post thread
        by thread
         
        Started by jclose, Yesterday, 09:37 PM
        0 responses
        8 views
        0 likes
        Last Post jclose
        by jclose
         
        Started by WeyldFalcon, 08-07-2020, 06:13 AM
        10 responses
        1,415 views
        0 likes
        Last Post Traderontheroad  
        Working...
        X