• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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);

    https://ninjatrader.com/support/help...ndertarget.htm


    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, 08:08 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by w0lverine, Today, 08:22 PM
    0 responses
    1 view
    0 likes
    Last Post w0lverine  
    Started by dkbyond, Today, 04:11 PM
    0 responses
    5 views
    0 likes
    Last Post dkbyond
    by dkbyond
     
    Started by markus3500, Today, 03:29 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by bohenriksen, Today, 04:00 AM
    1 response
    21 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by brett0, Today, 12:33 PM
    3 responses
    17 views
    0 likes
    Last Post marcus2300  
    Working...
    X