Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicators and drawing / plotting

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

    indicators and drawing / plotting

    Hi

    I have created an indicator that overlays on the price. What I would like to do is get different values to also plot onto an attached indicator below.

    So for example I have a chart GBPUSD and a CCI indicator.

    Now when my indicator plots a value, say High[0], onto the chart (panel 1) I need it to also plot a different value, say 96, onto the CCI indicator (panel 2).

    Can this be achieved inside the code of a single indicator or do I need to almost replicate my code and create 2 indicators?

    Thanks

    #2
    Hello,

    Thank you for the post.

    What you want to do is possible only from a Strategy specifically, otherwise two indicators would be needed. Because a Strategy can add indicators, you could add two indicators and add them one as Overlay = true and one as Overlay = false. This would likely be the only supported way to add two panels for indicators. Otherwise, an indicator follows its panel and would plot in that panel exclusively.

    We have a sample of the strategy plot concept here: http://ninjatrader.com/support/forum...ead.php?t=6651

    I look forward to being of further assitance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    156 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    90 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    139 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X