Elder Force Index

This is a discussion on Elder Force Index within the Technical Analysis forums, part of the Methods category; Hi,
Note sure if this is the appropriate forum but here goes..
I am trying to write a small software ...

Using the formula for Force Index I can successful calculate and replicate the values in the Force Index Column.

In order to calculate (2) I apply the formula Elder gives for EMA earlier in his text:

FI:2-ema[today] = FI[today]*k + FI:2-ema[yesterday]*(1-k)
k = 2/(n + 1) where n is number of days for ema i.e. 2 in this case

and this works fine.

However I can not see how he has calculated (1). It states in the text that when calculating the first value of an ema a simple moving average has to be constructed. Thus I calculated this by summing the first two FI values and dividing this by 2 but this does not provide the answer shown in (1). Obviously I am missing something here and would appreciate it somebody could provide an insight into how (1) is calculated in this
case.

The Elder Force Index: Take the daily closing price and the daily volume. The daily price change is calculated as the daily closing price minus the prÚvious day's closing price. This daily price change is then multiplied by the day's volume. The index is simply an exponatial moving average over some specified period of the daily price change multiplied by the volume.

The Elder Force Index: Take the daily closing price and the daily volume. The daily price change is calculated as the daily closing price minus the prÚvious day's closing price. This daily price change is then multiplied by the day's volume. The index is simply an exponatial moving average over some specified period of the daily price change multiplied by the volume.

Hope this help!

Yeh thanks for. Ok I tried that but can't get the results to match the numbers above. I am either calculating it wrong or numbers are wrong, on balance it is probably the former! Anyway anyone kind enough the work the above numbers?

Using the formula for Force Index I can successful calculate and replicate the values in the Force Index Column.

In order to calculate (2) I apply the formula Elder gives for EMA earlier in his text:

FI:2-ema[today] = FI[today]*k + FI:2-ema[yesterday]*(1-k)
k = 2/(n + 1) where n is number of days for ema i.e. 2 in this case

and this works fine.

However I can not see how he has calculated (1). It states in the text that when calculating the first value of an ema a simple moving average has to be constructed. Thus I calculated this by summing the first two FI values and dividing this by 2 but this does not provide the answer shown in (1). Obviously I am missing something here and would appreciate it somebody could provide an insight into how (1) is calculated in this
case.