Announcement

Collapse
No announcement yet.

Stochastic momentum index

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

  • Stochastic momentum index

    This indicator exist in matastock as follows:-

    How can I add a new indicator to advanced charting.

    I want to add the following indicator which is available in metastock :-
    The following formula calculates a 13,25,2 Stochastic Momentum Index.

    SMI() = 100 * ( Mov( Mov(C - (0.5 * ( HHV(H,13) + LLV(L,13))),25,E),2,E) / (0.5*Mov( Mov( HHV(H,13) - LLV(L,13),25,E),2,E)))

    SMI = Stochastic Momentum Index( PERIODS, SMOOTHING, DOUBLE SMOOTHING)

    Mov = moving average(DATA ARRAY, PERIODS, METHOD)
    HHV = Highest High Value( DATA ARRAY, PERIODS)
    LLV = Lowest low value( DATA ARRAY, PERIODS)

    H, L and C = high, low and close value respectively of price.

    E is a METHOD used in moving average, that is EXPONENTIAL, SIMPLE, VARIABLE and etc.



    Have a great day

    regards
    Dr Harish maru

  • #2
    Dr. Maru:

    Your requested script is attached.

    Chris
    Attached Files

    Comment


    • #3
      Hello, ckryza

      I'm very happy, i've downloaded SMI
      and it's in order !!

      so i have a question !!

      I want to add a moving average (exponential) to SMI
      but when i click to add a MA, it's appear on the candle and no and the SMI ??

      do you know how can i do to add MA on indicator SMI

      Thank you for your help !!

      Comment


      • #4
        There were several subsequent updates to the SMI script. Try the attached version.

        Chris
        Attached Files

        Comment


        • #5
          Thank you very much ! Chris !!

          i'll try it now !

          and it's look like working, like as wait for it !!

          i'm very happy !!

          Free.

          Comment

          Working...
          X