Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Text is not drawing
Collapse
X
-
Hello mtamaku,
Thanks for your post.
Your code is drawing the text at a price level (y-axis) of 0 (zero). If you shrink up your chart to see the zero line you will see any text that has been drawn.
For the Y-axis parameter, I suggest using Low[0] - 5 * TickSize. This will put the text 5 ticks below the low of the bar. Note that the text will move as the bars move right to left.
Alternatively, you might want to use Draw.TextFixed() as this will show the value in the same place all the time (any of the 4 corners or the center of the chart).
Reference: https://ninjatrader.com/support/help..._textfixed.htm
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment