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:



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



    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 CortexZenUSA, Today, 12:53 AM
            0 responses
            1 view
            0 likes
            Last Post CortexZenUSA  
            Started by CortexZenUSA, Today, 12:46 AM
            0 responses
            1 view
            0 likes
            Last Post CortexZenUSA  
            Started by usazencortex, Today, 12:43 AM
            0 responses
            5 views
            0 likes
            Last Post usazencortex  
            Started by sidlercom80, 10-28-2023, 08:49 AM
            168 responses
            2,265 views
            0 likes
            Last Post sidlercom80  
            Started by Barry Milan, Yesterday, 10:35 PM
            3 responses
            11 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Working...
            X