Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

New Drawing Tool - Draw freehand with a Brush or Highlighter

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

    New Drawing Tool - Draw freehand with a Brush or Highlighter

    Hi,

    I would like to place a feature request for a new drawing tool that allows for freehand drawing.
    Tradingview has 2 tools, a Brush and a Highlighter like in the screenshot.
    These tools are very handy when explaining something on the chart to others.

    First I looked at creating it myself, but it seems that the SharpDX library is more suitable for Vector drawings.
    I think a freehand-drawn object contains a lot of coordinates and this calls for a special object like PolyLine.

    Are there code examples or can you point me in the right direction?
    Otherwise consider this as a feature request.

    Thanks,

    Ard




    #2
    Hello ArdOfCrypto,

    Thank you for the suggestion, I will put in a feature request. If you wanted to look ino making this yourself you could take a look in the NinjaScript editor at the existing drawing objet code. Drawing objects are fairly complex so learning by example is the best way. This sounds like it may be similar to the path tool, that lets you draw custom paths by freehand. SharpDX does use coordinates based on the anchors it has, the path tool is a good example of that.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    49 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X