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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    89 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X