Announcement

Collapse
No announcement yet.

Weighted and Triangular MA's

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

  • Weighted and Triangular MA's

    Does anyone have a 14 period Weighted and a 14 period Triangular Moving Average coded EFS files?


    Thanks,
    Duke

  • #2
    Triangular

    Triangular moving averages place the majority of the weight on the middle portion of the price series. They are actually double-smoothed simple moving averages. The periods used in the simple moving averages varies depending on if you specify an odd or even number of time periods.

    The following steps explain how to calculate a 12-period triangular moving average.

    Add 1 to the number of periods in the moving average (e.g., 12 plus 1 is 13).

    Divide the sum from Step #1 by 2 (e.g., 13 divided by 2 is 6.5).

    If the result of Step #2 contains a fractional portion, round the result up to the nearest integer (e.g., round 6.5 up to 7).

    Using the value from Step #3 (i.e., 7), calculate a simple moving average of the closing prices (i.e., a 7-period simple moving average).

    Again using the value from Step #3 (i.e., 7) calculate a simple moving average of the moving average calculated in Step #4 (i.e., a moving average of a moving average).

    Comment


    • #3
      This efs follows the logic below to create a 12 period TRTIANGULAR moving average
      Attached Files

      Comment


      • #4
        Thanks

        you da Man!

        Comment

        Working...
        X