smi
Stochastic Momentum Index
Reference/Oscillators/Function
smi(length, signal)
Double-smoothed stochastic, typically −100 to 100. Default K 14, D 3. Sister: smisignal.
Parameters
| Name | Type | Description |
|---|---|---|
length | int default 14 | K lookback. Default 14. |
signaloptional | int default 3 | Signal smoothing. |
Return value
series
Example
oscillator plot smi(14, 3) as "SMI" plot smisignal(14, 3) as "Signal" when smi(14) crosses above smisignal(14) then buy