Skip to main content
. 2016 May 19;11(5):e0155133. doi: 10.1371/journal.pone.0155133

Table 1. Selected technical indicators and their formulas (Type 1).

Name of feature Formulas
Type 1 input variables
Stochastic %K (CtLn)/(HnLn)×100,
Stochastic %D i=0n1%Kti/n,
Stochastic slow %D i=0n1%Dti/n,
Momentum CtCt−4,
ROC (rate of change) Ct/C(tn) × 100,
LW%R (Larry William’s %R) (HnCt)/(HnLn)×100,
A/O Oscillator (accumulation/distribution oscillator) (HtCt−1)/(HtLt),
Disparity in 5 days Ct/MA5 × 100,
Disparity in 10 days Ct/MA10 × 100,
OSCP (price oscillator) MA5MA10/MA5,
CCI (commodity channel index) (MtSMt)/(0.015 × Dt),
RSI (relative strength index) 100100/(1+i=0n1Uptin/i=0n1Dwtin),

Ct is the closing price and Lt is the lowest price of the Nikkei 225 index at time t. Ln is the lowest low price of the Nikkei 225 index in the last n days, Ht is the highest price of the Nikkei 225 index at time t, Hn is the highest high price of the Nikkei 225 index in the last n days. MAn is the moving average of the price value in the last n days: MAn=(i=1nCti+1)/n,Mt=Ht+Lt+Ct3. SMt=(i=1nMti+1)/n,Dt=(i=1n|Mti+1SMt|)/n. Upt is the upward price change of the Nikkei 225 index at time t and Dwt is the downward price change of the Nikkei 225 index at time t.