• 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

  • ESHunter
    replied
    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

    Leave a comment:


  • NinjaTrader_PatrickG
    replied
    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?

    Leave a comment:


  • ESHunter
    replied
    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.

    Leave a comment:


  • NinjaTrader_PatrickG
    replied
    ESHunter , can you reproduce this symptom 100% of the time? If so, what exact steps are you taking? Please be as specific as possible.

    Leave a comment:


  • ESHunter
    replied
    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.

    Leave a comment:


  • pkinoc
    replied
    In the meantime I'm going to recreate my 2 main workspaces.

    Leave a comment:


  • pkinoc
    replied
    email sent

    thx,
    Peter

    Leave a comment:


  • NinjaTrader_PatrickG
    replied
    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

    Leave a comment:


  • pkinoc
    replied
    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

    Leave a comment:


  • NinjaTrader_PatrickG
    replied
    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?

    Leave a comment:


  • pkinoc
    replied
    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;



    }

    }




    Leave a comment:


  • pkinoc
    replied
    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.

    Leave a comment:


  • NinjaTrader_PatrickG
    replied
    Keep in mind that Windows File Explorer may not update in real-time. To refresh a location, go back to another folder then back to the location you want to view, or use the 'refresh' button.

    Leave a comment:


  • pkinoc
    replied
    Actually, the TSLA file in GlobalDrawingObject disappeared...

    Leave a comment:


  • pkinoc
    replied
    I figure I will try with 2 existing workspaces and 2 new ones.

    I deleted Workspace 1 and Workspace 2 that had lines on TSLA charts and the TSLA file remained in the C:\Users\Peter\Documents\NinjaTrader 8\templates\GlobalDrawingObject folder even though no other workspaces have lines for TSLA. Is that a problem/bug?

    I am creating Workspace 3 and 4 just in case since the GlobalDrawingObject folder files reference workspace names.

    I will use another instrument instead of TSLA.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by cls71, Today, 07:18 AM
0 responses
1 view
0 likes
Last Post cls71
by cls71
 
Started by brownsfan019, Today, 06:56 AM
0 responses
3 views
0 likes
Last Post brownsfan019  
Started by webus, Yesterday, 03:34 PM
1 response
18 views
0 likes
Last Post NinjaTrader_PaulH  
Started by Grantx, Today, 06:46 AM
0 responses
5 views
0 likes
Last Post Grantx
by Grantx
 
Started by JBTrader2005, Yesterday, 03:57 PM
1 response
18 views
0 likes
Last Post NinjaTrader_PaulH  
Working...
X