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 CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    27 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    27 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    29 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X