**Stochastic Momentum Index**

**Interpretation**

The Stochastic Momentum Index has two components: %K (SMIK) and %D

(SMID). %K is most often displayed on a chart as a solid line and %D is often

shown as a dotted line. The most widely used method for interpreting the

Stochastic Momentum Index is to buy when either component rises above 40 or

sell when either component falls below 40. Another way to interpret the

Stochastic Momentum Index is to buy when %K rises above %D, or sell when

%K falls below %D.

**Recommended Parameters**

%K Periods: 14

%K Smoothing: 2

%K Double Periods: 3

%D Periods: 9

MA Type: SIMPLE

%D MA Type: SIMPLE

**Example code**

SMID(14, 2, 3, 9, SIMPLE, SIMPLE) > 40 OR SMIK(14, 2, 3, 9, SIMPLE, SIMPLE) > 40

do you want code for stochastic momentum?

Yes and interpretation

YES PLEASE PROVIDE CODE WHEN to buy when %K rises above %D, or sell when

%K falls below %D.

I need the formula to calculate stocastic (14,3,3) the default which we get in Kite web.

Hello

Can you kindly share the code for the stochastics momentum index? Or the logic to code the formula

SMI helps the traders to know about where the current close has taken place related to the central value of the recent high-low range and it is grounded on the change of price related to the price range. You can take a lot of help from this indicator.