Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddChartIndicators

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

    AddChartIndicators

    From a strategy, how do you load 3 different indicators on to the same panel?
    For example If I wanted 3 different RSI indicators in Panel 2, how would I do that?

    Thanks,
    Gary

    #2
    Hello,

    You could use the following to Assign a panel and Add the indicator as well:

    Code:
    else if (State == State.Configure)
    {
    SMA a = SMA(12);
    AddChartIndicator(a);
    a.Panel = 2;
    				
    EMA b = EMA(20);
    AddChartIndicator(b);
    b.Panel = 2;
    				
    RSI c = RSI(20, 5);
    AddChartIndicator(c);
    c.Panel = 2;
    }
    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    23 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    45 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    21 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    181 views
    0 likes
    Last Post jeronymite  
    Working...
    X