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 Ashkam, 04-29-2024, 09:28 AM
|
4 responses
42 views
0 likes
|
Last Post
by Ashkam
Today, 02:38 PM
|
||
Started by nightstalker, Yesterday, 02:05 PM
|
1 response
29 views
0 likes
|
Last Post Today, 02:16 PM | ||
Started by dcriador, Today, 02:09 PM
|
0 responses
3 views
0 likes
|
Last Post
by dcriador
Today, 02:09 PM
|
||
Started by nicthe, Today, 07:38 AM
|
4 responses
21 views
0 likes
|
Last Post
by bltdavid
Today, 01:58 PM
|
||
Decrease the size of the RegionHIghLightY on each tick when the price touches it
by cmtjoancolmenero
Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
|
30 responses
98 views
0 likes
|
Last Post Today, 01:53 PM |
Comment