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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    672 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    379 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    577 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    582 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X