• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Horizontal lines disappear

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

    #16
    I closed and re-opened NT and all looks good so far. We'll see in the morning. But the market is closed. Not sure if that is a factor yet.

    Comment


      #17
      Instrument=NVDA
      I created workspace 3 with 2 charts of different timeframes and set 2 lines on 1 and 1 line on the other. They all show up on both charts.
      I created workspace 4 with 2 charts of different timeframes and all lines show up on both charts.
      This worked Sat, Sun and today.

      Instrument=GE
      I used 2 existing workspaces with multiple charts and added 3 lines and they showed up in all charts in both workspaces.
      This worked on Sat and Sun after starting up NT.
      Today, they showed up in one workspace but not the other and by adding a new line I saw that the others were hidden. ShowGlobalObjects=true


      I opened the NVDA file in the GlobalDrawingObject folder and IsVisible=true for all lines:

      <?xml version="1.0" encoding="utf-8"?>
      <NinjaTrader>
      <GlobalDrawingTools>
      <HorizontalLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <IsVisible>true</IsVisible>
      <IsAutoScale>false</IsAutoScale>
      <MaxValue>-1.7976931348623157E+308</MaxValue>
      <MinValue>1.7976931348623157E+308</MinValue>
      <ZOrder>20006</ZOrder>
      <AttachedTo>
      <ChartObjectSerialize>ChartBars</ChartObjectSerialize>
      <InstrumentSerialize>NVDA</InstrumentSerialize>
      </AttachedTo>
      <ScaleJustification>Right</ScaleJustification>
      <DrawingState>Normal</DrawingState>
      <DisplayOnChartsMenus>true</DisplayOnChartsMenus>
      <GlobalLastSeenSerialize>636999606267667174</GlobalLastSeenSerialize>
      <GlobalWorkspace>Workspace4</GlobalWorkspace>
      <Id>17941447be6e47928e256bbcbbd4f631</Id>
      <IsLocked>false</IsLocked>
      <PanelIndex>0</PanelIndex>
      <Tag>@Horizontal Line 8</Tag>
      <ZOrderType>Normal</ZOrderType>
      <EndAnchor>
      <SlotIndex>1552</SlotIndex>
      <DisplayName>End</DisplayName>
      <IsBrowsable>false</IsBrowsable>
      <Time>2019-07-25T14:53:00</Time>
      <Price>173.131481490432</Price>
      </EndAnchor>
      <StartAnchor>
      <SlotIndex>1552</SlotIndex>
      <DisplayName>Anchor</DisplayName>
      <IsBrowsable>true</IsBrowsable>
      <Time>2019-07-25T14:53:00</Time>
      <Price>173.131481490432</Price>
      </StartAnchor>
      <Stroke>
      <IsOpacityVisible>true</IsOpacityVisible>
      <BrushSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF6495ED&lt;/SolidColorBrush&gt;</BrushSerialize>
      <DashStyleHelper>Solid</DashStyleHelper>
      <Opacity>100</Opacity>
      <Width>2</Width>
      </Stroke>
      <FullTypeName>NinjaTrader.NinjaScript.DrawingTools .HorizontalLine</FullTypeName>
      <IsGlobalDrawingObjectDefault>true</IsGlobalDrawingObjectDefault>
      </HorizontalLine>
      <HorizontalLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <IsVisible>true</IsVisible>
      <IsAutoScale>false</IsAutoScale>
      <MaxValue>-1.7976931348623157E+308</MaxValue>
      <MinValue>1.7976931348623157E+308</MinValue>
      <ZOrder>20004</ZOrder>
      <AttachedTo>
      <ChartObjectSerialize>ChartBars</ChartObjectSerialize>
      <InstrumentSerialize>NVDA</InstrumentSerialize>
      </AttachedTo>
      <ScaleJustification>Right</ScaleJustification>
      <DrawingState>Normal</DrawingState>
      <DisplayOnChartsMenus>true</DisplayOnChartsMenus>
      <GlobalLastSeenSerialize>636999606267667174</GlobalLastSeenSerialize>
      <GlobalWorkspace>Workspace3</GlobalWorkspace>
      <Id>2cf3d849d4c84d22ba32808b0562ffbf</Id>
      <IsLocked>false</IsLocked>
      <PanelIndex>0</PanelIndex>
      <Tag>@Horizontal Line 5</Tag>
      <ZOrderType>Normal</ZOrderType>
      <EndAnchor>
      <SlotIndex>243</SlotIndex>
      <DisplayName>End</DisplayName>
      <IsBrowsable>false</IsBrowsable>
      <Time>2019-07-16T15:00:00</Time>
      <Price>174.8943638170974</Price>
      </EndAnchor>
      <StartAnchor>
      <SlotIndex>243</SlotIndex>
      <DisplayName>Anchor</DisplayName>
      <IsBrowsable>true</IsBrowsable>
      <Time>2019-07-16T15:00:00</Time>
      <Price>174.8943638170974</Price>
      </StartAnchor>
      <Stroke>
      <IsOpacityVisible>true</IsOpacityVisible>
      <BrushSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF6495ED&lt;/SolidColorBrush&gt;</BrushSerialize>
      <DashStyleHelper>Solid</DashStyleHelper>
      <Opacity>100</Opacity>
      <Width>2</Width>
      </Stroke>
      <FullTypeName>NinjaTrader.NinjaScript.DrawingTools .HorizontalLine</FullTypeName>
      <IsGlobalDrawingObjectDefault>true</IsGlobalDrawingObjectDefault>
      </HorizontalLine>
      <HorizontalLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <IsVisible>true</IsVisible>
      <IsAutoScale>false</IsAutoScale>
      <MaxValue>-1.7976931348623157E+308</MaxValue>
      <MinValue>1.7976931348623157E+308</MinValue>
      <ZOrder>20006</ZOrder>
      <AttachedTo>
      <ChartObjectSerialize>ChartBars</ChartObjectSerialize>
      <InstrumentSerialize>NVDA</InstrumentSerialize>
      </AttachedTo>
      <ScaleJustification>Right</ScaleJustification>
      <DrawingState>Normal</DrawingState>
      <DisplayOnChartsMenus>true</DisplayOnChartsMenus>
      <GlobalLastSeenSerialize>636999606267667174</GlobalLastSeenSerialize>
      <GlobalWorkspace>Workspace3</GlobalWorkspace>
      <Id>b0d6845420104251bff7c491003a1402</Id>
      <IsLocked>false</IsLocked>
      <PanelIndex>0</PanelIndex>
      <Tag>@Horizontal Line 7</Tag>
      <ZOrderType>Normal</ZOrderType>
      <EndAnchor>
      <SlotIndex>1386</SlotIndex>
      <DisplayName>End</DisplayName>
      <IsBrowsable>false</IsBrowsable>
      <Time>2019-07-25T12:07:00</Time>
      <Price>172.1920706688</Price>
      </EndAnchor>
      <StartAnchor>
      <SlotIndex>1386</SlotIndex>
      <DisplayName>Anchor</DisplayName>
      <IsBrowsable>true</IsBrowsable>
      <Time>2019-07-25T12:07:00</Time>
      <Price>172.1920706688</Price>
      </StartAnchor>
      <Stroke>
      <IsOpacityVisible>true</IsOpacityVisible>
      <BrushSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF6495ED&lt;/SolidColorBrush&gt;</BrushSerialize>
      <DashStyleHelper>Solid</DashStyleHelper>
      <Opacity>100</Opacity>
      <Width>2</Width>
      </Stroke>
      <FullTypeName>NinjaTrader.NinjaScript.DrawingTools .HorizontalLine</FullTypeName>
      <IsGlobalDrawingObjectDefault>true</IsGlobalDrawingObjectDefault>
      </HorizontalLine>
      </GlobalDrawingTools>
      </NinjaTrader>



      I can write an indicator to show the lines but this adds overhead and should not be necessary.

      foreach (Gui.NinjaScript.IChartObject ICO in this.ChartControl.ChartObjects)
      {

      if (ICO is NinjaTrader.NinjaScript.DrawingTools.HorizontalLin e)
      {

      NinjaTrader.NinjaScript.DrawingTools.HorizontalLin e HL = (NinjaTrader.NinjaScript.DrawingTools.HorizontalLi ne)ICO;

      HL.IsVisible = true;



      }

      }




      Comment


        #18
        I want to make sure I understand the test you performed and your results. Are these statements accurate?
        • Newly created workspaces do not exhibit the symptom
        • Previously existing workspaces do exhibit the symptom
        Could you attach your workspaces and your GlobalDrawObject folder as a zipped attachment in you next post?

        Also, it sounds like the only 'steps' needed for reproduction are to restart NinjaTrader once a day and look for the symptom. Is this accurate?
        Patrick G.NinjaTrader Customer Service

        Comment


          #19
          The steps that I mentioned in the email are the steps that were done prior to experiencing the hidden issue.

          I don't necessarily know that they are reproducible and I haven't done enough tests to say that new workspaces are immune to the issue or that weekend or week days makes a difference.

          Attached are the 4 workspaces that I used and the Global folder.
          Attached Files

          Comment


            #20
            I'll need some additional detailed information from your NinjaTrader installation in order to investigate further. Please send me your log and trace files so that I may look into what occurred.
            • You can do this by going to the Control Center-> Help-> Email Support
            • Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.
            • Please reference the following ticket number in the body of the email: 2223473 ATTN PatrickG
            Patrick G.NinjaTrader Customer Service

            Comment


              #21
              email sent

              thx,
              Peter

              Comment


                #22
                In the meantime I'm going to recreate my 2 main workspaces.

                Comment


                  #23
                  This thing happened to me all the time. I found when I switch between my 2 workspaces, the horizontal lines that I drew disappeared, which is really really annoying.

                  Comment


                    #24
                    ESHunter , can you reproduce this symptom 100% of the time? If so, what exact steps are you taking? Please be as specific as possible.
                    Patrick G.NinjaTrader Customer Service

                    Comment


                      #25
                      NinjaTrader_PatrickG Yes, I think I can reproduct this symptom almost 100% of the time.
                      I have 2 workspaces, 1 for trading and 1 for reply. I only have horizontal lines on my trading workspace
                      First, I disconnect all my broker connections and connect to playback connection.
                      Then, I switch to the playback workspace. After the reply, I close the playback workspace.
                      Then when I switch back to my trading workspace. All my horizontal lines are gone.

                      Comment


                        #26
                        Are the drawing objects 'global'? And is 'Global drawing objects across workspaces' enabled under Tools > Options?

                        Is the 'trading' workspace open when you're connected to Playback?

                        When you use playback, are you going back a time prior to when you drew the objects on your charts?

                        Can you reproduce this without the use of the Playback Connection?
                        Patrick G.NinjaTrader Customer Service

                        Comment


                          #27
                          NinjaTrader_PatrickG I followed your instructions and my problem was solved. thank you. I think enabling the Global drawing objects across workspaces did the trick

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by bboyle1234, Today, 01:06 AM
                          0 responses
                          3 views
                          0 likes
                          Last Post bboyle1234  
                          Started by Sulfred, Today, 12:34 AM
                          0 responses
                          4 views
                          0 likes
                          Last Post Sulfred
                          by Sulfred
                           
                          Started by U0000999, Today, 12:27 AM
                          0 responses
                          3 views
                          0 likes
                          Last Post U0000999  
                          Started by radist, Today, 12:13 AM
                          0 responses
                          2 views
                          0 likes
                          Last Post radist
                          by radist
                           
                          Started by mntemel, Yesterday, 10:25 PM
                          0 responses
                          3 views
                          0 likes
                          Last Post mntemel
                          by mntemel
                           
                          Working...
                          X