Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw Lin on Indicator Panel from Strategy . . .

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

    Draw Lin on Indicator Panel from Strategy . . .

    While this seems to have been asked before the answers don't agree and the suggestions to draw the line do not work.

    If I click on the lines that are Drawn I see one that is the correct parameters for the line I want, but don't see the line on
    either the Price Panel or the Indicator panel. I am just trying to draw a trend line on an indicator that I add in the strategy using
    AddChartIndicator.

    I have tried using the command DrawOnPricePanel = false; before drawing the line and tried using it without and neither way
    draws the line.

    Is there a way to draw a line on an Indicator Panel from a Strategy?

    #2
    Hello ATMtrader0001,

    When a NinjaScript Strategy adds an indicator with AddChartIndicator(), unfortunately drawing objects will not appear on the indicator panel historically but will once the indicator transitions to real-time.

    We are tracking demand for 'DrawOnPricePanel should be able to be used dynamically working with an indicator through a hosting strategy via AddChartIndicator' with tracking ID# SFT-4159.


    So in real-time yes, it is possible to draw a line on an indicator panel added to the chart with AddChartIndicator(), but this will not work historically.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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