Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

color macd from average tick up/down

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

    #16
    try this one from 6.5.1000.14.

    Note: we both need to upgrade to 6.5.1000.15!!!
    Attached Files

    Comment


      #17
      thanks mountainclimber, it works a treat
      ..but do you guys ever sleep??

      Comment


        #18
        not really...
        Do me a favor and tell your trading buddies that I am paid programmer so if anyone has anything that takes longer than 5 minutes to code I'd be happy to earn their business. I also translate code from one platform to another. So if you have tradestation easylanguage stuff, I can convert that to NinjaScript for ya. I also have a masters degree in finance/investments, so i can help in may ways..

        deal?

        Comment


          #19
          thumb'n through my phonebook right now...thanks mate!

          Comment


            #20
            No worries, either way. If I'm not busy, I am also happy to help with things that I can do quickly.

            catch ya later...

            Comment


              #21
              Originally posted by mountainclimber View Post
              try this one from 6.5.1000.14.

              Note: we both need to upgrade to 6.5.1000.15!!!
              There are some trouble on MACD AvgUpDwn ?
              Attached Files

              Comment


                #22
                Its not meant to be used the way you are using it, but I'll take a look at it and see.

                Comment


                  #23
                  Hello,

                  I'm not sure why that happened. I can't reproduce the behavior. Its odd that the regular MACD didn't do it because that part of the calculation is the same.

                  Anyway, tell me how you produced this.

                  This version I changed a couple things to see if it takes care of it for you.

                  I also put the lines in front of the histogram this time and colored the lines.
                  Attached Files
                  Last edited by mountainclimber; 03-19-2010, 06:39 PM.

                  Comment


                    #24
                    Originally posted by mountainclimber View Post
                    Hello,

                    I'm not sure why that happened. I can't reproduce the behavior. Its odd that the regular MACD didn't do it because that part of the calculation is the same.

                    Anyway, tell me how you produced this.

                    This version I changed a couple things to see if it takes care of it for you.

                    I also put the lines in front of the histogram this time and colored the lines.
                    Hello,

                    Give a look to the screenshot that's the way I use.
                    Attached Files

                    Comment


                      #25
                      Thanks Again Mountainclimber...I also tried what I thought was simple code for a generic RSI with arrows on chart when RSI is above 70 or down arrows below 30...I have following but it doesnt do anything that I can see, any thoughts? Thanks again

                      PaintPriceMarkers = true;
                      DrawOnPricePanel =
                      true;
                      if (CrossAbove(RSI(14, 1), 70, 1))
                      DrawArrowUp(
                      "rsi up" + CurrentBar, false, 0, Low[0], Color.Green);
                      elseif (CrossBelow(RSI(14, 1), 30, 1))
                      DrawArrowDown(
                      "rsi down" + CurrentBar, false, 0, High[0], Color.Red);

                      Comment


                        #26
                        Hello,

                        I think this was answered via another thread. If it was not, please post where the issue was not resolved? Thanks.
                        DenNinjaTrader Customer Service

                        Comment


                          #27
                          thanks for reply Ben, I'll search that now.

                          Comment


                            #28
                            ber1,

                            Did you get it to work? If not, let me know.

                            Comment


                              #29
                              Thanks yes, I used below and Ben at support verified that it should work I just had it in wrong area :-)
                              Anyway I did have one last question - It prints an arrow when it crosses but is it possible for it to continue to print arrows till it drops back below 70 or visa versa above 30?

                              Thanks again
                              DrawOnPricePanel = true;

                              if (CrossAbove(RSI(7, 1), 70, 1))
                              DrawArrowUp(
                              "rsi up" + CurrentBar, false, 0, Low[0], Color.Green);
                              else
                              if (CrossBelow(RSI(7, 1), 30, 1))
                              DrawArrowDown(
                              "rsi down" + CurrentBar, false, 0, High[0], Color.Red);

                              Comment


                                #30
                                Hello Bert1,

                                Instead of a crossing condition, you could just test if the value is above 70 or below 30.


                                Code:
                                 
                                if (RSI(14, 1)[0] > 70)
                                DrawArrowUp("rsi up" + CurrentBar, false, 0, Low[0], Color.Green);
                                 
                                else if (RSI(14, 1)[0] < 30)
                                DrawArrowDown("rsi down" + CurrentBar, false, 0, High[0], Color.Red);
                                Ryan M.NinjaTrader Customer Service

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                                0 responses
                                580 views
                                0 likes
                                Last Post Geovanny Suaza  
                                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                                0 responses
                                336 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by Mindset, 02-09-2026, 11:44 AM
                                0 responses
                                103 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                                0 responses
                                554 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by RFrosty, 01-28-2026, 06:49 PM
                                0 responses
                                552 views
                                1 like
                                Last Post RFrosty
                                by RFrosty
                                 
                                Working...
                                X