Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question about DrawTextFixed

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

    Question about DrawTextFixed

    The DrawTextFixed() object draws text in one of 5 available pre-defined fixed locations on panel 1 (price panel) of a chart.

    Is there any way to use TextPosition to access any x,y position on the screen?

    I want to put some information on a line other than in one of the 5 pre-defined fixed locations.


    #2
    Hello SilverSurfer1,

    There is currently not an overload for x/y with Draw.TextFised. That would require making a indicator and then drawing text at the specific location. You could use the TextFixed code as a sample, the OnRender code would essentially be what is needed to draw text form anything which uses OnRender. Alternatively you can see the indicator SampleCustomRender which shows some x/y positioning.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    618 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    419 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    293 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    414 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    367 views
    0 likes
    Last Post CarlTrading  
    Working...
    X