Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stochastic Momentum Index (SMI) - colors

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

    Stochastic Momentum Index (SMI) - colors

    I'm fairly new to ninja coding but I"m trying. I've added a zero line to this indicator but I'm having trouble changing the SMI line from a constant green color to a "blue when rising, red when falling".

    I've attached the cs file below..

    I've looked at the code for samplemulticolorplot but when I try to adopt the same concept to this indicator, I'm messing something up.

    If this is simple to do, could someone please correct the code and repost it.

    Thanks,
    TC
    Attached Files

    #2
    try this one.
    Attached Files
    Last edited by nkhoi; 05-26-2009, 09:41 PM.

    Comment


      #3
      Thanks, NKHOI!

      That worked

      TC

      Comment


        #4
        On the SMI1, I want to add an up blue arrow when the SMI line crosses through the zero line and a down red arrow when the SMI line crosses down thru the zero line.

        Can someone show me how to do that?

        Thanks,
        TC

        Comment


          #5
          check out the cross zero line code here

          Comment


            #6
            Thanks, Nkhoi..

            I've downloaded the trix indicator and looked at the code. Should I copy the drawarrow code sections into the SMI indicator that you helped me with and then substitute the name of my indicator for Trix?

            TC

            Comment


              #7
              Yes, try it. I copied the code from somewhere else I think you have to make sure the input parms are corrected.

              Comment


                #8
                TC,

                Nice job, I look forward to seeing more great stuff from you.

                Mike

                Comment


                  #9
                  See if this is what your looking for. I had Ben at affordable Indicators
                  put this together for me.
                  [email protected]
                  Attached Files

                  Comment


                    #10
                    Thanks, River!

                    Does this one color the candles based on SMI rising or falling?
                    Does this one plot blue arrows when it breaks above -40, etc?

                    Those are the things I'm trying to get done right now.

                    Todd

                    Comment


                      #11
                      Todd,
                      This is an SMI ind. that will plot in it's own panel. It has color color alert line
                      and you can change the crossing lines as you wish. It also has up and down directional arrows and an alert signal. It will not change candle colors.
                      I changed the alert lines to + and - 1.5 and was using the indicator for trend verification.
                      Hope this helps

                      Comment


                        #12
                        Nice Indicator!

                        Comment


                          #13
                          SMI with Alerts 1195

                          I have been using this indicator, and like it. But, I'm not really sure what it is doing. The SMI index formula is usually, "SMI(q,r,s) = 100 * (EMA(EMA(SM[q])[r]))[s] / 0,5*(EMA(EMA(HighestHigh[q]-LowestLow[q])[r])[s])

                          This is a fairly common momentum oscillator type of formula. But what is the SMI_1195 doing? I'm not good at reading the code to figure it out. Can anyone help?

                          Comment


                            #14
                            Can someone help anD post link for stochastic momentum index for NT8 please. What I got is an older version

                            Comment


                              #15
                              Hello mkaraa,

                              Thank you for your post.

                              Glad to assist. Below is a publicly available link to the indicator sharing section of the NinjaTrader Ecosystem where custom items are now stored, I would suggest looking through there for what you're looking for. I did attempt to find an options to accomplish this but was unsuccessful, so also feel free to post in order to get feedback or custom suggestions from other users on our forum as well.

                              Search trading indicators, apps and services to personalize your NinjaTrader software. Explore custom trading indicators, automated strategies, free trading apps & more!


                              If you are a programmer, our NinjaScript team may provide you links to samples which would help you write the indicator yourself, or I can have someone reach out with a list of third parties that would be interested in building this for you.

                              Please let us know if you need further assistance.
                              Eric B.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by KenneGaray, Today, 03:48 AM
                              0 responses
                              1 view
                              0 likes
                              Last Post KenneGaray  
                              Started by thanajo, 05-04-2021, 02:11 AM
                              4 responses
                              470 views
                              0 likes
                              Last Post tradingnasdaqprueba  
                              Started by aa731, Today, 02:54 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post aa731
                              by aa731
                               
                              Started by Christopher_R, Today, 12:29 AM
                              0 responses
                              10 views
                              0 likes
                              Last Post Christopher_R  
                              Started by sidlercom80, 10-28-2023, 08:49 AM
                              166 responses
                              2,237 views
                              0 likes
                              Last Post sidlercom80  
                              Working...
                              X