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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    46 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    67 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X