Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing within Strategies

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

    Drawing within Strategies

    Is it possible to overlay a drawing within a strategy on chart? I am not familiar with Ninjascript but am starting out in hopefully the right direction. I simply would like to see the highesthigh for the past 2 years or given number of bars in line form.

    #2
    Hi cfree5119,

    Yes, Draw methods are available in NinjaScript strategies as well as indicators. For highest high over a series of bars, there is built in method MAX()

    This sample can help with draw objects by code. There are also built in draw actions available when using the strategy wizard, that you can configure in the GUI.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    649 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    370 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    573 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    576 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X