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 RubenCazorla, 08-30-2022, 06:36 AM
    3 responses
    77 views
    0 likes
    Last Post PaulMohn  
    Started by f.saeidi, Yesterday, 12:14 PM
    9 responses
    23 views
    0 likes
    Last Post f.saeidi  
    Started by Tim-c, Today, 03:54 AM
    0 responses
    3 views
    0 likes
    Last Post Tim-c
    by Tim-c
     
    Started by FrancisMorro, Today, 03:24 AM
    0 responses
    4 views
    0 likes
    Last Post FrancisMorro  
    Started by Segwin, 05-07-2018, 02:15 PM
    10 responses
    1,772 views
    0 likes
    Last Post Leafcutter  
    Working...
    X