Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Stochastic Momentum Index (SMI)
Template (v17+)
Main Stochastic Momentum Index Line
200 * XAVG(XAVG(Cz - (MAXHd.z + MINLd.z) / 2, a), b) / XAVG(XAVG(MAXHd.z - MINLd.z, a), b)
SMI Signal Line
200 * XAVG(XAVG(XAVG(Cz - (MAXHd.z + MINLd.z) / 2, a), b) / XAVG(XAVG(MAXHd.z - MINLd.z, a), b), c)
Where d is the Days Period.
Where a is the Smoothing Period.
Where b is the Double Smoothing Period.
Where c is the Signal EMA Period.
Where z is the number of Bars Ago. z can also be a date. May 4, 2015 would be (single quotes required): '05/04/2015'
Related Topics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 4/30/2015 Posts: 197
|
If you wish to use SMA instead of EMA simply remove the X from XAVG?
|
Registered User Joined: 4/30/2015 Posts: 197
|
Is the signal line the "Slow" Line
|
Registered User Joined: 4/30/2015 Posts: 197
|
Very confused about the z, below is an old version I was using can you do example of this version
12 4 1
200 * (XAVGC4 - (XAVG(MAXH12,4) + XAVG(MINL12,4)) / 2) / (XAVG(MAXH12,4) - XAVG(MINL12,4))
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Unless you're trying to calculate SMI for a past date/bar, you can just ignore the .z in the formulas above.
|