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 habeebft, Today, 07:27 AM
|
0 responses
0 views
0 likes
|
Last Post
by habeebft
Today, 07:27 AM
|
||
Started by Tim-c, Today, 03:54 AM
|
1 response
7 views
0 likes
|
Last Post Today, 07:26 AM | ||
Started by rocketman7, Today, 01:00 AM
|
1 response
9 views
0 likes
|
Last Post Today, 07:22 AM | ||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
3 responses
76 views
0 likes
|
Last Post Today, 07:22 AM | ||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
9 responses
46 views
0 likes
|
Last Post Today, 07:21 AM |
Comment