Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

line plot with text

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

    line plot with text

    i have an indicator that plots a line at a specified candles open, in the settings you can specify how many hours into the future to plot the line, it also plots user defined text with the line. I am trying to figure out how to make the user text disappear when the line ends at the specified time. Thanks
    Attached Files

    #2
    Hello alancurry,

    Thank you for your post.

    You can create a time condition to detect when the specified time has occurred, then to modify the existing drawing object call Draw.Text() again with the same tag as the drawing object you want to remove the text from and specify an empty string for the text parameter.

    Please let us know if you have any further questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X