Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What assembly contains RenderTarget?

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

    What assembly contains RenderTarget?

    Hello -

    I am trying to use the DrawLine() logic found under RenderTarget.
    However, I don't know what assembly to import to use the RenderTarget Object.

    RenderTarget.DrawLine(point0, point1, Stroke.BrushDX, Stroke.Width, Stroke.StrokeStyle);




    Can you please update your documentation to reflect this information as well?

    Thanks,
    Mark

    #2
    Hello Mark,

    The RenderTarget is part of the SharpDX libraries. This object is created in the Core of NinjaTrader as the chart is created. This is the actual chart that is being drawn on.

    You do not have to import anything to use the RenderTarget in a Drawing tool, Indicator, or Strategy, as NinjaTrader creates the RenderTarget as the chart is created as passes this to the script within the existing namespace of that Drawing tool, Indicator, or Strategy.

    A public link to the documentation for rendering with SharpDX can be found below.
    http://sharpdx.org/wiki/

    I'm including a second publicly available site with SharpDX documentation here.
    http://www.nudoq.org/#!/Projects/SharpDX
    Last edited by NinjaTrader_ChelseaB; 03-14-2016, 09:08 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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