Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddPlot based on an existing plot on the chart?

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

    AddPlot based on an existing plot on the chart?

    Is it possible to add an upArrow triangle based on if another chart plot exists?

    For example I have an indicator that plots a vertical solid orange line on some bars. I don't have access to the indicator's ninjascript code.
    I'd like to create another indicator that plots an upArrow every time there is a vertical solid orange line.

    Is this possible?

    I know I can draw an upArrow using this code:
    Draw.ArrowUp(this, @"GreenArrowUp"+CurrentBar, false, 0, (Low[0] + (-2 * TickSize)) , Brushes.Lime);

    Is there a condition that can be used to plot the UpArrow every time the chart has a vertical solid orange line?

    Attached Files

    #2
    Hello

    If the line is a NinjaScript drawing object you could use the DrawObjects collection, outside of that if this is just rendered the indicator would need to expose that data in some meaningful way for you to access it. You can check the charts drawing objects menu to see if it is making objects or not.



    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    163 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    82 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    125 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X