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 Haiasi, 04-25-2024, 06:53 PM
    2 responses
    17 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    5 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Started by poplagelu, Today, 05:00 AM
    0 responses
    3 views
    0 likes
    Last Post poplagelu  
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,407 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Working...
    X