Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by haas88, 03-21-2024, 02:22 AM
    18 responses
    207 views
    0 likes
    Last Post haas88
    by haas88
     
    Started by Board game geek, Today, 02:20 AM
    0 responses
    1 view
    0 likes
    Last Post Board game geek  
    Started by knighty6508, Today, 01:20 AM
    2 responses
    13 views
    0 likes
    Last Post knighty6508  
    Started by franatas, Today, 01:53 AM
    0 responses
    2 views
    0 likes
    Last Post franatas  
    Started by knighty6508, Today, 01:17 AM
    0 responses
    9 views
    0 likes
    Last Post knighty6508  
    Working...
    X