Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

plotting lines in a strategy

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

    plotting lines in a strategy

    Is plotting lines on a chart within a strategy allowed? Or are these only available through indicators?

    I tried adding code that added a new Plot to a Strategy but it basically is saying that it's not available via StrategyBase.

    Is there another way to do it, or must I code an indicator and refer to the indicator in the strategy?

    thanks in advance,

    Ken

    #2
    Hello,

    Alternatively you could draw an indicator plot accross the bars that you want using the same value, which would create a straight line like you want.
    DenNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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