Announcement

Collapse
No announcement yet.

TWMA - Modifide Exponential MA

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

  • TWMA - Modifide Exponential MA

    Hello.

    Would like to receive help on the following modified EMA -

    This would be a stand alone EMA and also for the Bollinger Bands.

    The Idea is to have an MA that is calculated as follows -

    Example for a 14 MA -

    (Close*14 + Close[1]*13 + Close[2]*12 + Close[3]*11 + Close[4]*10 + close[5]*9 + close[6]*8 ......... + close[14]) / 104

    **( 104 which is the sum of all weights in the case of a 14MA (the last "n" always has "0" weight)

    "Time Weighted Moving Average"

    The idicator should have an edit menu that generically enables the user to just choose the "n" value for the MA and the type (close, high ... etc') and the formula will automatically calculate the MA based on the above concept by adding the relevant weights.

    This should also be the case in the populare Bollinger Bands which also are based on an MA (in most cases)

    Thank you
    Itai Schweitzer
    SEP / 2004

  • #2
    Itai:

    You can find a Time Weighted Moving Average script here:

    http://share.esignal.com/groupconten...us&groupid=114

    Chris

    Comment


    • #3
      TWMA

      Thank you Chris.
      Looks like you have everything there.

      Cool.
      Itai

      Comment

      Working...
      X