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 inanazsocial, Today, 01:15 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    6 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    1 view
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Working...
    X