• 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

Draw line in DrawingTools

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

  • artson
    replied
    Ok, thanks

    Yes, I learnt to draw lines inside DrawingTools

    It will be more complicated but I'll try to do it.

    Thanks anyway!

    Leave a comment:


  • NinjaTrader_JoshG
    replied
    artson,

    I want to use Draw.Line inside a custom drawing tool
    That will not be possible. The Draw methods will only be available in an Indicator or a Strategy. I would consider DrawingTools to be an advanced topic and you would need to use the methods and properties available to drawing tools: https://ninjatrader.com/support/help...wing_tools.htm

    If you want to use any of the line logic built into the NT Drawing Tools you can open the "Lines" script (under the DrawingTools folder in the NS Editor) and navigate to the desired portion of code. Each section of code will be labeled with what line it is pertaining to. However, the Order Flow Volume Profile code will not be available.



    Leave a comment:


  • artson
    replied
    Hi,

    Yes, I want to use Draw.Line inside a custom drawing tool.
    I think it will be easier to draw elements taking into account directly the bars and its prices, rather than through the position on the screen.

    I want to draw things between two points that I select with the mouse (anchor), similar to OrderFlowVolumeProfile....

    Thx

    Leave a comment:


  • NinjaTrader_JoshG
    replied
    Hello artson,
    Thanks for your post.

    Please clarify, do you want to use Draw.Line inside of a custom drawing tool?

    Why not use an indicator? What is your objective?

    Leave a comment:


  • artson
    started a topic Draw line in DrawingTools

    Draw line in DrawingTools

    Hi,

    Is it possible to draw a line into DrawingTools using "Draw.Line"?

    Finally I could draw a line using the "RenderTarget.DrawLine", but I would like to do it with Draw.Line, using coordinates referred to the bars....

    thanks!

Latest Posts

Collapse

Topics Statistics Last Post
Started by irissoto, Today, 10:35 PM
0 responses
4 views
0 likes
Last Post irissoto  
Started by hedgeplay, Today, 08:04 PM
0 responses
4 views
0 likes
Last Post hedgeplay  
Started by DTSSTS, Today, 07:02 PM
0 responses
6 views
0 likes
Last Post DTSSTS
by DTSSTS
 
Started by arguru, Today, 04:07 PM
1 response
11 views
0 likes
Last Post NinjaTrader_ShawnB  
Started by lakersfan, Today, 06:02 PM
0 responses
13 views
0 likes
Last Post lakersfan  
Working...
X