Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing image at bar high or bar low

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

    Drawing image at bar high or bar low

    I know it is possible to draw a image on the chart, is there a way to draw an image at a bar and attach it to the bar so as the chart scrolls it moves with that bar.

    Thanks.

    #2
    Hello WHICKED,

    Thanks for your post.

    Yes this is possible. Within your SharpDX rendering routines, you will want to check loop through ChartBars.FromIndex/ChartBars.ToIndex and check if one of those bars should have an image drawn. If so, draw on those bar's coordinates.

    Please see the attached example for a demonstration. To get more acquainted with SharpDX rendering, please see the Help Guide article below, and please see the SampleCustomRender indicator that comes with NinjaTrader.



    We look forward to assisting.
    Attached Files

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    95 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    53 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    108 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X