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 Barry Milan, Yesterday, 10:35 PM
|
5 responses
16 views
0 likes
|
Last Post Today, 05:37 PM | ||
Started by DanielSanMartin, Yesterday, 02:37 PM
|
2 responses
13 views
0 likes
|
Last Post Today, 05:26 PM | ||
Started by DJ888, 04-16-2024, 06:09 PM
|
4 responses
13 views
0 likes
|
Last Post
by DJ888
Today, 04:28 PM
|
||
Started by terofs, Today, 04:18 PM
|
0 responses
12 views
0 likes
|
Last Post
by terofs
Today, 04:18 PM
|
||
Started by nandhumca, Today, 03:41 PM
|
0 responses
8 views
0 likes
|
Last Post
by nandhumca
Today, 03:41 PM
|
Comment