Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw Text in button right chart

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

    Draw Text in button right chart

    hello. I have this code that writes me the high and low of the bar. I want it to do it in the lower right corner of the chart. I have tried with Draw.Text but it doesn't work. Can somebody help me? thank you.

    if (CurrentBar < 1) return;

    double netChange = (High[0]);
    double bajo = (Low[0]);

    Draw.Text(this,"Tag", High[0].ToString(),0, High[0]+8, Brushes.Black);

    Draw.Text(this,"Law", Low[0].ToString(),0, Low[0]-8, Brushes.Black);​

    #2
    Hello julifro,

    You can draw text to a fixed corner of the chart by using Draw.TextFixed. You can see a sample in the following page:

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    563 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    329 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X