Stochastic Momentum Index

書式:Stochmomentum(PERIODS, SMOOTHING, DOUBLE SMOOTHING)は下記の式よりStochastic Momentum Indexを計算します。

_StochMomentum:= 100 * (Mov(Mov(Close - (0.5 * (hhv(High,PERIODS) + llv(Low,PERIODS))), SMOOTHING,E),DOUBLE SMOOTHING,E) / (0.5 * Mov(Mov(hhv(High,PERIODS) - llv(Low,PERIODS), SMOOTHING,E),DOUBLE SMOOTHING,E)));

下記は Stochmomentum(13,25,2) Stochastic Momentum Index を計算します:

_StochMomentum:= 100 * (Mov(Mov(Close - (0.5 * (hhv(High,13) + llv(Low,13))),25,E),2,E) / (0.5 * Mov(Mov(hhv(High,13) - llv(Low,13),25,E),2,E)));

公式: _StochasticMomentumIndex:=Stochmomentum(13,25,2);

StochasticMomentumIndex

DL:StochasticMomentumIndex

VTトレーダー関数一覧に戻る