Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to add indicator in different panel?

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

    How to add indicator in different panel?

    When I put the following in my code:
    PIKQQE1 = PIKQQE(......);
    myEMA = EMA(...);

    AddChartIndicator(PIKQQE1);
    AddChartIndicator(myEMA);

    Both of them show up in my chart and my chart gets all funky. How can I make the 1st indicator show up on my lower(2nd) panel?



    #2
    Hi priceisking, thanks for your post.

    You must set the first indicator's "IsOverlay" property to false to display in a separate panel. e.g.

    State == State.SetDefaults:
    IsOverlay = false;

    Please let me know if this does not resolve your inquiry.

    Comment


      #3
      So when i do this, both my EMA and QQE indicators show up on different panels. I just want the QQE to show up on different panel not my EMA. Also, i'm trying to add both of them in my strategy. If i set the strategy to IsOverlay=false, both indicators show up on their own panel.

      Comment


        #4
        nevermind. i just used the properties for each indicator to set it.

        myEMA.IsOverlay=true;

        That did it.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X