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 cmoran13, 04-16-2026, 01:02 PM
    0 responses
    80 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    46 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    169 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    101 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    175 views
    2 likes
    Last Post CaptainJack  
    Working...
    X