Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Horizontal lines disappear
Collapse
X
-
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><SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">#FF6495ED</SolidColorBrush></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><SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">#FF6495ED</SolidColorBrush></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><SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">#FF6495ED</SolidColorBrush></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
-
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
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?
Comment
-
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.
Comment
-
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
Comment
-
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
-
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?
Comment
-
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 wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,235 views
0 likes
|
Last Post Yesterday, 08:07 PM |
Comment