shows that the Draw.TextFixed method seems not to work, with your CurrentDayOHL indicator on a non-IntraDay chart.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
8.0.0.3 Draw.TextFixed doesn't draw
Collapse
X
-
Originally posted by dalebru View Postthe Draw.TextFixed method seems not to work, with your CurrentDayOHL indicator on a non-IntraDay chart.
I'm only guessing, but could it be that the default txtbrush is not set to Black? I only say this because changing the code to this in the OHL indy works fine..
Code:[COLOR=#080808] Draw[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]TextFixed[/COLOR][COLOR=#000000]([/COLOR][COLOR=#0000ff]this[/COLOR][COLOR=#000000], [/COLOR][COLOR=#b22222]"error msg"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#080808]Custom[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]Resource[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]CurrentDayOHLError[/COLOR][COLOR=#000000], [/COLOR][COLOR=#080808]TextPosition[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]BottomRight[/COLOR][COLOR=#000000], [/COLOR][COLOR=#080808]Brushes[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]Black[/COLOR][COLOR=#000000], [/COLOR][COLOR=#0000ff]new[/COLOR][COLOR=#080808]Gui[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]Tools[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]SimpleFont[/COLOR][COLOR=#000000]([/COLOR][COLOR=#b22222]"Arial"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#ff8c00]14[/COLOR][COLOR=#000000]), [/COLOR][COLOR=#080808]Brushes[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]Transparent[/COLOR][COLOR=#000000], [/COLOR][COLOR=#080808]Brushes[/COLOR][COLOR=#000000].[/COLOR][COLOR=#080808]Transparent[/COLOR][COLOR=#000000], [/COLOR][COLOR=#ff8c00]100[/COLOR][COLOR=#000000]);[/COLOR]
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by lorem, Yesterday, 09:18 AM
|
5 responses
14 views
0 likes
|
Last Post Today, 12:29 PM | ||
Started by Spiderbird, Today, 12:15 PM
|
0 responses
5 views
0 likes
|
Last Post
by Spiderbird
Today, 12:15 PM
|
||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
12 responses
42 views
0 likes
|
Last Post Today, 12:09 PM | ||
Started by FrazMann, Today, 11:21 AM
|
0 responses
6 views
0 likes
|
Last Post
by FrazMann
Today, 11:21 AM
|
||
Started by geddyisodin, Yesterday, 05:20 AM
|
8 responses
52 views
0 likes
|
Last Post Today, 10:45 AM |
Comment