Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Display private int on chart

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

    Display private int on chart

    Hello,

    I have created a strategy with a few chart grid buttons that change the value of a private int up and down when clicked, and I would like to display that dynamic int value somewhere. Would you please be able to point me in the right direction to help me figure that out?

    Thanks!

    #2
    Hi RobotSyndicate, thanks for your post.

    You can use the Draw.Text() method to display the text onto the screen. You could also use custom "SharpDX" rendering to do this by overriding the OnRender method:



    There is a sample in the platform called "SampleCustomRender" that showcases the many capabilities of SharpDX.

    If you have any questions on this material please let me know.

    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