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
-
Draw.TextFixed(owner, string tag, string txt, textposition); doesn't work anywhere..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..
Also, setting the Plot current value parameter to true in the OHL indy throws an Out of Range Error.. Your might want to correct that as well..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 Mindset, Today, 06:46 AM
|
0 responses
11 views
0 likes
|
Last Post
by Mindset
Today, 06:46 AM
|
||
|
Started by M4ndoo, Yesterday, 05:21 PM
|
0 responses
17 views
0 likes
|
Last Post
by M4ndoo
Yesterday, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
15 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
82 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
49 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment