Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change EMA color

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

    Change EMA color

    Hi,
    how would you change EMA color in the strategy?
    E.g. -

    protectedoverridevoid Initialize()
    {


    Add(EMA(
    9));
    Add(EMA(
    25));
    CalculateOnBarClose = true;

    }

    Once rendered, they both are defaul color - Orange. I'd like to be able to change colors in the strategy.

    Thank you.

    #2
    Originally posted by practic View Post
    Hi,
    how would you change EMA color in the strategy?
    E.g. -

    protectedoverridevoid Initialize()
    {


    Add(EMA(9));
    Add(EMA(25));
    CalculateOnBarClose = true;

    }

    Once rendered, they both are defaul color - Orange. I'd like to be able to change colors in the strategy.

    Thank you.
    Hello Practic,

    Thank you for your post.

    Try using this script as an example of coloring indicators:
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Hi RJStain,
      thank you for your reply. Unfotunately, the example is for creating an indicator, not a strategy. IS there any way to change the color whithin the strategy?
      Thank you.

      Comment


        #4
        Please see this: http://www.ninjatrader-support2.com/...ead.php?t=3228
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hey!! That's what I'm talking about! Great resource.
          Thanks a lot!!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by funk10101, Today, 09:43 PM
          0 responses
          6 views
          0 likes
          Last Post funk10101  
          Started by pkefal, 04-11-2024, 07:39 AM
          11 responses
          37 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Yesterday, 08:51 AM
          8 responses
          44 views
          0 likes
          Last Post bill2023  
          Started by yertle, Today, 08:38 AM
          6 responses
          26 views
          0 likes
          Last Post ryjoga
          by ryjoga
           
          Started by algospoke, Yesterday, 06:40 PM
          2 responses
          24 views
          0 likes
          Last Post algospoke  
          Working...
          X