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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    220 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    135 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    150 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    235 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    193 views
    0 likes
    Last Post CarlTrading  
    Working...
    X