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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    59 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X