Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawText Y location

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DrawText Y location

    Hi, I want to place the text at bottom of chart and vertically corresponds to the bar.

    What do I replace Y with?

    DrawText(
    "930", "9:30", 0, Y, Color.Blue);

    Thanks

    #2
    Hello solvmatic,

    There is no way to fix the text to the absolute bottom of the bar, but you can set this below the current bar Low using the following:

    DrawText("930", "9:30", 0, Low[0] - 10 * TickSize, Color.Blue);
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    125 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    84 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X