OK I will try to explain the seeding concept, by example.
Lets say we program the %trend indicator as:
(0.2*CLOSE)+(0.8*PREV)
and compare this against the 9 day EMA.
Starting with the very first bar for BHP:
Date Close %trend Moving Average
02 01 87 2.6884
05 01 87 2.7408 0.9783
06 01 87 2.7757 1.3378
07 01 87 2.7975 1.6297
08 01 87 2.7757 1.8589
09 01 87 2.7888 2.0449
12 01 87 2.8411 2.2041
13 01 87 2.8237 2.328
14 01 87 2.732 2.4088 2.7697
15 01 87 2.7626 2.4796 2.7682
16 01 87 2.7626 2.5362 2.7671
You can see that the %trend indicator is not defined on the first day as the PREV value is undefined on bar 1. On bar 2, when PREV is defined, the %trend indicator is also defined, BUT the EMA is not defined until the 9th bar.
In the very short term, at the very beginning of a chart there will be differences between the indicators, sometimes called
seeding discrepancies. These discrepancies, in many instances such as this one, become insignificant.
[An example of when a seeding discrepancy may be significant might be if we were to look at a modified OBV; if the 'proper' OBV began with a value of zero on day 1 and a modified OBV bagan with a value of, say, 100000 on day 1, then this seeded discrepancy would be significant for the entire duration of the chart.]
The values for these indicators at the end of the chart are:
Date Close %trend Moving Average
10 05 05 16.7 16.5916 16.5916
11 05 05 16.43 16.5593 16.5593
12 05 05 16.29 16.5055 16.5054
13 05 05 15.95 16.3944 16.3944
16 05 05 15.55 16.2255 16.2255
17 05 05 15.71 16.1224 16.1224
18 05 05 15.93 16.0839 16.0839
19 05 05 16.2 16.1071 16.1071
20 05 05 15.88 16.0617 16.0617
You can see that over a long period, some 4600 bars in this case, the differences between the %trend and the 9 day EMA are not significant (at 4 decimal places!)
Hope this goes some way to explain what seeding means.
wabbit :D