Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ema color

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

    Ema color

    Good evening to everybody..
    i'm trying my first basic strategy and i would insert two different EMA indicator with two different color
    If i understand correctly the string command is this:
    Add(EMA((int)));
    Add(EMA((int)));

    but i don't know how to change the EMA color.
    Is it possible ?

    Many Thanks
    Riccardo

    #2
    Hello riccardo1981,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    When adding the indicators to the strategy to plot on the chart there is no option for the color. If you wanted to do this would would to develop an indicator that plotted these two EMAs with custom colors via the Plot Class and then call that indicator in your strategy.

    For information on plotting from within a strategy please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=6651

    For information on the Plot Class in NinjaScript please visit the following link: http://www.ninjatrader.com/support/h...plot_class.htm

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    649 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    370 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    576 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X