Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Horizontal Line marked as global is not displayed in other charts

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

    Horizontal Line marked as global is not displayed in other charts

    hi
    If i add Horizontal Line manually to a chart and
    set manually its property Attach to ES 12-15 (All Charts)
    the Horizontal line appears in all charts with ES .
    That is fine.

    But when i add the Horizontal Line manually to a chart and in my script i wrote the following :

    DrawingTools.HorizontalLine MyHL;
    MyHL = DrawObjects[Tag] as DrawingTools.HorizontalLine;
    MyHL.IsGlobalDrawingTool = true;
    MyHL.AttachedTo.AttachedToType = AttachedToType.GlobalInstrument;

    i can see visually that the property of the Horizontal Line was updated to
    Attach to ES 12-15 (All Charts)
    but the Horizontal Line does not show in other charts

    what am i missing ?
    Last edited by doron; 11-22-2015, 09:59 PM.

    #2
    Hello,

    It may be that there is a bug causing these results. Can you please share a sample script with me which would reproduce the issue, so that I can verify it on my end?
    Dave I.NinjaTrader Product Management

    Comment


      #3
      Related to this

      In NT8 I don't see the warning about not being set to Global mode. The screen shot is what NT7 says. Is this a bug or was it left out intentionally?
      Attached Files

      Comment


        #4
        hi

        i can not do it now but i will send it to you later

        Comment


          #5
          Thank you, doron. James, I am going to submit a report to our team to investigate this further -- I can confirm on my end that the error dialogue does not appear, as well. (NTEIGHT-9131)
          Last edited by NinjaTrader_DaveI; 11-23-2015, 11:56 AM.
          Dave I.NinjaTrader Product Management

          Comment


            #6
            James -- we've added the error message from NinjaTrader 7 into NinjaTrader 8 today. When the Beta 7 build is released, you should see the familiar message displayed in this particular scenario.
            Dave I.NinjaTrader Product Management

            Comment


              #7
              Dave

              I have started to get an intermittent issue with showing Fibs on all charts , sometimes this works fine but once in awhile when I set the fib to show on all charts it disappears from all charts.
              this did not seem to be happening with the horizontal line but I could not swear to that.


              Add this note

              this appears to be repeatable if I create a default fib and then apply a template and then set to All charts
              Last edited by James108; 11-23-2015, 04:00 PM.

              Comment


                #8
                hi

                attached indicator which demonstrate the problem

                will sent in mail too
                Attached Files

                Comment


                  #9
                  Thank you. I was able to mitigate the issue by making a few small changes. I've changed your condition for identifying the line to read:

                  Code:
                  if (draw.GetType().ToString() == "NinjaTrader.NinjaScript.DrawingTools.HorizontalLine")
                  and I changed the Calculation mode to Calculate.OnEachTick to see the change occur more quickly. I've attached a new version of the script to this post for your reference.

                  James, I have not been able to reproduce your Fib issue thus far. Does the issue occur with all fib tools? Is the reproducible scenario still intermittent, or does it occur every time?
                  Attached Files
                  Dave I.NinjaTrader Product Management

                  Comment


                    #10
                    Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.


                    Here is a video of how the issue occurs. this happens every time I do it

                    Comment


                      #11
                      Gotcha, thank you. Just to be 100% certain -- you do have "show global drawing objects" enabled in the Data Series window on that chart, correct?
                      Dave I.NinjaTrader Product Management

                      Comment


                        #12
                        hi

                        I sure do .
                        As i wrote the manual process works only the automated process - does not

                        Comment


                          #13
                          Yes that is definitely enabled

                          Comment


                            #14
                            Thank you. James, I'm still not able to replicate your issue. Would you mind sending me your actual fib template to test on my end? You can find it at C:\Users\<user>\Documents\NinjaTrader 8\templates\DrawingTool\FibonacciRetracements.

                            Doron, did you have better luck with the alternate code in my prior post?
                            Dave I.NinjaTrader Product Management

                            Comment


                              #15
                              hi

                              while using your code the line changed its color to green immediately
                              but did not show on other charts .
                              if i double click on the horizontal green line - the property window of the horizontal line is opened an when i close it - the horizontal line appears in other charts


                              so problem still exit

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by CortexZenUSA, Today, 12:53 AM
                              0 responses
                              1 view
                              0 likes
                              Last Post CortexZenUSA  
                              Started by CortexZenUSA, Today, 12:46 AM
                              0 responses
                              0 views
                              0 likes
                              Last Post CortexZenUSA  
                              Started by usazencortex, Today, 12:43 AM
                              0 responses
                              2 views
                              0 likes
                              Last Post usazencortex  
                              Started by sidlercom80, 10-28-2023, 08:49 AM
                              168 responses
                              2,262 views
                              0 likes
                              Last Post sidlercom80  
                              Started by Barry Milan, Yesterday, 10:35 PM
                              3 responses
                              10 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Working...
                              X