This indicator exist in matastock as follows:-
How can I add a new indicator to advanced charting.
I want to add the following indicator which is available in metastock :-
The following formula calculates a 13,25,2 Stochastic Momentum Index.
SMI() = 100 * ( Mov( Mov(C - (0.5 * ( HHV(H,13) + LLV(L,13))),25,E),2,E) / (0.5*Mov( Mov( HHV(H,13) - LLV(L,13),25,E),2,E)))
SMI = Stochastic Momentum Index( PERIODS, SMOOTHING, DOUBLE SMOOTHING)
Mov = moving average(DATA ARRAY, PERIODS, METHOD)
HHV = Highest High Value( DATA ARRAY, PERIODS)
LLV = Lowest low value( DATA ARRAY, PERIODS)
H, L and C = high, low and close value respectively of price.
E is a METHOD used in moving average, that is EXPONENTIAL, SIMPLE, VARIABLE and etc.
Have a great day
regards
Dr Harish maru
How can I add a new indicator to advanced charting.
I want to add the following indicator which is available in metastock :-
The following formula calculates a 13,25,2 Stochastic Momentum Index.
SMI() = 100 * ( Mov( Mov(C - (0.5 * ( HHV(H,13) + LLV(L,13))),25,E),2,E) / (0.5*Mov( Mov( HHV(H,13) - LLV(L,13),25,E),2,E)))
SMI = Stochastic Momentum Index( PERIODS, SMOOTHING, DOUBLE SMOOTHING)
Mov = moving average(DATA ARRAY, PERIODS, METHOD)
HHV = Highest High Value( DATA ARRAY, PERIODS)
LLV = Lowest low value( DATA ARRAY, PERIODS)
H, L and C = high, low and close value respectively of price.
E is a METHOD used in moving average, that is EXPONENTIAL, SIMPLE, VARIABLE and etc.
Have a great day
regards
Dr Harish maru
Comment