These docs are still being written, so some of what Solyx does is not covered yet.
Skip to Content
Solyx

Indicators

The formulas behind every line and pane on the chart, and what the agent reads.

Every indicator is worked out on your computer by the same code for the chart and for the agent, on bars as traded. A line is empty for the first bars until its window is full.

Which chart shows what

IndicatorWhere it is drawn
Moving averages, Bollinger bandsEvery interval
VWAP, session levelsIntraday bars only
Relative strength, 52-week range, support zones, volume profileDaily bars only
MACD, RSI, KD, volume ratioPanes below the chart
Investor flowsTaiwan listings, daily bars

Short moving averages and KD are on until you turn them off. The panes stack in the order MACD, RSI, KD, volume ratio, relative strength.

Moving averages

Simple averages of the close over Taiwan's usual periods:

SMAn=1n∑k=0n−1Ct−k\text{SMA}_n = \frac{1}{n} \sum_{k=0}^{n-1} C_{t-k}
ShortLong
5, 10, 2060 (the quarter line), 120 (the half-year line), 240 (the year line)

The long lines are drawn thicker. The exponential average the MACD uses starts from the simple average of its first nn closes and weights each close after it by α\alpha:

EMAt=α Ct+(1−α) EMAt−1α=2n+1\text{EMA}_t = \alpha\, C_t + (1 - \alpha)\, \text{EMA}_{t-1} \qquad \alpha = \frac{2}{n + 1}

Bollinger bands

The 20-session simple average, with bands two standard deviations of the same 20 closes above and below it. The deviation is the population one, divided by nn.

middle=SMA20(C)upper=middle+2σ20lower=middle−2σ20\begin{aligned} \text{middle} &= \text{SMA}_{20}(C) \\ \text{upper} &= \text{middle} + 2\sigma_{20} \\ \text{lower} &= \text{middle} - 2\sigma_{20} \end{aligned}

VWAP

The session's average price weighted by volume, starting over each exchange day:

VWAP=∑H+L+C3×V∑V\text{VWAP} = \frac{\sum \frac{H + L + C}{3} \times V}{\sum V}

It stays empty until the session has traded.

RSI

Wilder's relative strength index over 14 sessions. The first 14 changes are averaged plainly, and each one after that is smoothed in:

G‾t=13 G‾t−1+gaint14L‾t=13 L‾t−1+losst14RSIt=100−1001+G‾t/L‾t\begin{aligned} \overline{G}_t &= \frac{13\,\overline{G}_{t-1} + \text{gain}_t}{14} \qquad \overline{L}_t = \frac{13\,\overline{L}_{t-1} + \text{loss}_t}{14} \\ \text{RSI}_t &= 100 - \frac{100}{1 + \overline{G}_t / \overline{L}_t} \end{aligned}

With no losses RSI is 100; with neither gains nor losses it is 50. The pane rules lines at 30 and 70.

MACD

12, 26 and 9, with Taiwan's names for the lines:

DIF=EMA12(C)−EMA26(C)MACD=EMA9(DIF)OSC=DIF−MACD\begin{aligned} \text{DIF} &= \text{EMA}_{12}(C) - \text{EMA}_{26}(C) \\ \text{MACD} &= \text{EMA}_{9}(\text{DIF}) \\ \text{OSC} &= \text{DIF} - \text{MACD} \end{aligned}

The histogram is the plain difference, not doubled.

KD

Taiwan's stochastic over 9 sessions, smoothed by thirds (9-3-3) rather than by the simple averages of the Western stochastic:

RSVt=Ct−L9H9−L9×100Kt=23Kt−1+13RSVtDt=23Dt−1+13Kt\begin{aligned} \text{RSV}_t &= \frac{C_t - L_9}{H_9 - L_9} \times 100 \\ K_t &= \tfrac{2}{3} K_{t-1} + \tfrac{1}{3} \text{RSV}_t \\ D_t &= \tfrac{2}{3} D_{t-1} + \tfrac{1}{3} K_t \end{aligned}

where H9H_9 and L9L_9 are the highest high and lowest low of the last 9 sessions.

K and D start at 50, and RSV is 50 when the window's high and low are equal. The pane rules lines at 20 and 80.

Volume ratio

The bar's volume against its 20-bar average, V÷SMA20(V)V \div \text{SMA}_{20}(V). The pane marks a surge at 1.5 or more and a lull under 0.5, with guide lines at 1 and 1.5.

Relative strength

How far a listing has outrun its market's index over 20, 60 and 120 sessions, in percentage points:

RSn=(PtPt−n−BtBt−n)×100\text{RS}_n = \left( \frac{P_t}{P_{t-n}} - \frac{B_t}{B_{t-n}} \right) \times 100

where PP is the listing's close and BB the benchmark's.

The benchmark is the TAIEX (IX0001) for a Taiwan listing and SPY for a US one, matched bar by bar by time.

What the agent reads

The agent's indicator tool reports the same figures the chart draws: moving averages of 5, 10, 20, 60, 120 and 240 sessions, EMA 12 and 26, RSI 14, MACD 12/26/9, KD 9, Bollinger 20/2 and the volume ratio, together with the levels. The model cites them rather than working them out.