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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    62 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    134 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X