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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    128 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    73 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    116 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    109 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    88 views
    0 likes
    Last Post CarlTrading  
    Working...
    X