Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Significant Chart Problem w/ 22

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

    Significant Chart Problem w/ 22

    I just updated to .21 and need to roll back to .20 or need to be instructed on a "quick fix" for the problem shown in the attached screenshots.

    The lines and diamonds and other draw objects that should ONLY be plotting on my PLOT are plotting on my PLOT and on my CHART.

    This issue has me dead in the water as the charts now cannot be traded.
    Bertrand has the latest copy of my "Divergence" indicator. I sent it to him today.

    I have an SECONDARY indicator that gets values from my divergence indicator ....and uses that to plot special lines on my chart. It seems that when my SECONDARY indicator calls the Divergence indicator the divergence indicator is painting its lines on the the chart (these are usually placed on a plot). This is VERY VERY bad ... unless I add the divergence indicator to my indicators panel then I should not see its lines. and i have no control over the panel where it is drawn and i cannot have it on the chart itself in the current case and it is as slow as death on my AMD Phenom X4 945 machine ..


    when i make this call:

    if (!this.Divergence(cCIValue,lookBack,3).DShortBar.C ontainsValue(0))
    return;
    if (this.Divergence(cCIValue,lookBack,3).DShortBar[0] == 0)
    return;

    to my divergence indicator....the LINES and DIAMONDS from the divergence indicator are drawn on my chart. This is wrong.
    Attached Files
    Last edited by mjc4118; 09-10-2010, 06:02 AM. Reason: wrong version entered

    #2
    In the indicator that you want draw objects to be on the indicator panel please be sure you only have one DrawOnPricePanel setting in Initialize() and not in OnBarUpdate(). Please be sure it is set to false.

    For scripts you want drawing on the price panel, please set it only once to DrawOnPricePanel = true in Initialize().
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Here is a video showing the problem and interaction of the two indicators



      as always the codec is available here http://www.gotomeeting.com/codec

      the following lines of code should NOT result in anything being drawn on my chart.

      if (!this.Divergence(cCIValue,lookBack,3).HDLongBar.C ontainsValue(0))
      return;
      if (this.Divergence(cCIValue,lookBack,3).HDLongBar[0] == 0)
      return;

      Comment


        #4
        Josh. Please give me more credit than that
        It was fine in. 20

        DrawOnPricePanel=false;

        Only set in initialize()


        The issue is that the indicator that is drawing the lines is only drawing those lines when it is reference by another indicator.
        reading the Plot values from that indicator result in lines being drawin on my chart EVEN if that specific indicator is NOT added in my indicator list.
        Last edited by mjc4118; 09-10-2010, 06:02 AM.

        Comment


          #5
          And what happens when you remove Divergence, but leave DivergencePlot?
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            That is my point Josh ....I get the lines .... those lines should NOT be there



            Divergence Plot ... checks the values of the PLOT Line of the DIVERGENCE indicator ...and in the process ...the lines from the DIVERGENCE indicator are drawn on the price panel even when divergence indicator is not added.

            Comment


              #7
              is there any way I can roll back to .20 live ... so we can figure this out over the next few days?
              the indicators all worked fine in 20 live

              Comment


                #8
                mjc4118,

                Please send me an email at support [at] ninjatrader [dot] com with Attn: Josh in the subject line and a link to this thread. Thank you.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Josh,

                  I've got the exact same problem but with my own custom indicator, reported here. I know there are others with this problem too, so please let us know if there's a fix.

                  Mpe

                  Comment


                    #10
                    Guys,

                    This is a confirmed bug to be addressed in the next version. Thank you for the report.
                    Josh P.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Jonker, Today, 01:19 PM
                    0 responses
                    1 view
                    0 likes
                    Last Post Jonker
                    by Jonker
                     
                    Started by futtrader, Today, 01:16 PM
                    0 responses
                    4 views
                    0 likes
                    Last Post futtrader  
                    Started by Segwin, 05-07-2018, 02:15 PM
                    14 responses
                    1,789 views
                    0 likes
                    Last Post aligator  
                    Started by Jimmyk, 01-26-2018, 05:19 AM
                    6 responses
                    838 views
                    0 likes
                    Last Post emuns
                    by emuns
                     
                    Started by jxs_xrj, 01-12-2020, 09:49 AM
                    6 responses
                    3,294 views
                    1 like
                    Last Post jgualdronc  
                    Working...
                    X