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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    64 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Working...
    X