• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fast MACD Slope Color Change

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

    Fast MACD Slope Color Change

    Hello,

    I watched the "Automated Strategy Development Level 1" yesterday with Adam. Plus I've gone through a number of videos. However, I can't or don't understand how to do a simple color change for the slope of the fast MACD. I understand how to do a crossover of the fast and the slow MACD, but that's not what I want. I want it to color green when rising and color red when going down.

    This should be possible because I downloaded a "Jurbol_MultiMA_Color Slope" so I don't understand why a simple one can't be done with the MACD.

    I use my own MACD parameters.

    If this can't be done in Market Analyzer and you tell me I have to have a Ninjatrader script writer do the job, then how much would that cost?

    Thanks for any suggestions.

    #2
    Hello,

    I assume you meant Strategy Analyzer, correct?

    If so, it would not be possible to change the plot color based on the slope of the fast or slow MACD through the strategy analyzer, but it is possible with custom programming.

    If you are interested in learning how to do this yourself, I'm including a reference sample on creating multi-colored plots:

    http://www.ninjatrader.com/support/f...ead.php?t=3227

    I'm also including a link to an existing MACD indicator which will change the MACD fast based on the Slope:

    http://www.ninjatrader.com/support/f...d=4&linkid=465

    If you have limited time or programming capabilities, you can discuss your requirements with any of our NinjaScript consultants.


    Click here for a list of certified NinjaScript Consultants
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thank you so much for the link to the slope of the MACD template already done! I don't know how I missed that - perhaps before I wanted it.

      Are you the Matthew that made it? When I saw the template, I said God Bless Matthew. :-)

      I put it on my chart, changed the MACD settings, and it's perfect - exactly what I wanted.

      Thanks again!

      Comment


        #4
        That would be me and you're very welcome
        Last edited by NinjaTrader_Matthew; 02-16-2012, 11:37 AM.
        MatthewNinjaTrader Product Management

        Comment


          #5
          Multi-coloredPlot

          Hi Matthew

          Could you tell me how to change from SMA to HMA using your
          sample MultiColored Plot?

          Thanks

          Lynn Atkinson

          Comment


            #6
            Instead of using SMA, you would use the HMA fucntion.

            For example the multi colored plot currently has:

            Lower.Set(SMA(Low, Period)[0]);

            You would change this to:

            Low.Set(HMA(Low, Period)[0]);

            You will want to repeat this for all instances of the SMA in the script you're working with.
            MatthewNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Emma1, Today, 02:42 PM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_DrewO  
            Started by fx.practic, Today, 03:10 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by jertrade, Today, 02:50 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by RedDuke, Today, 01:59 PM
            1 response
            18 views
            0 likes
            Last Post NinjaTrader_Kate  
            Started by MarianApalaghiei, Today, 01:18 PM
            1 response
            15 views
            0 likes
            Last Post NinjaTrader_PatrickG  
            Working...
            X