The True Strength Index (TSI) compares double-smoothed price changes with double-smoothed absolute changes. This guide follows the calculation on retained USD/JPY H1 quotes. A zero-line cross, a signal-line cross and the direction of the latest candle can tell different stories; the examples below show exactly why.
1. Read the change, not the latest candle alone
Let C be the completed hourly close and ΔC the change from the previous recorded close. The numerator smooths signed ΔC; the denominator smooths |ΔC| in the same order. Multiplying their ratio by 100 gives an oscillator with no price unit. It is not a percentage return.
With the same positive smoothing weights, TSI stays between −100 and +100 when its denominator is positive. If that denominator is zero, the ratio is unavailable. A long sequence of unchanged starting prices therefore does not justify plotting a manufactured zero.
A rising TSI does not require the latest close to rise. Its current value depends on earlier changes and both smoothing stages. The first real-data example below ends with a lower close and an upward zero-line cross.
2. Follow the two smoothing paths
For each available observation, an EMA of period N updates as previous EMA + 2/(N+1) × (current input − previous EMA). The second stage uses the current first-stage output. No horizontal shift is applied. The separate signal line is EMA7 of available TSI values.
The reference starts both signed stages at the first observed ΔC and both absolute stages at its magnitude. The signal starts at the first available TSI. The first stored close has no earlier change. Missing TSI is skipped by the signal calculation rather than replaced with zero.
N[t] = EMA13(EMA25(ΔC))[t]
D[t] = EMA13(EMA25(|ΔC|))[t]
TSI[t] = 100 × N[t] / D[t] (D[t] > 0)
Signal[t] = EMA7(TSI)[t]
| Calculation component | Value |
|---|---|
| EMA25(ΔC) | 0.01678521 |
| EMA13(EMA25(ΔC)) | 0.00148425 |
| EMA25(|ΔC|) | 0.12890830 |
| EMA13(EMA25(|ΔC|)) | 0.10471984 |
| TSI 25/13 | 1.417356 |
| Signal EMA7 | -8.518462 |
3. Distinguish crossing zero from staying positive
At 2024-01-30 19:00 UTC, the previous close is 147.800 and the current close is 147.750: ΔC is −0.050 JPY per USD. Yet reference TSI rises from −1.058619 to +1.417356, crossing zero upward. The signal remains −8.518462. Earlier weighted changes explain the combination; it does not mean the last candle rose.
An upward zero cross requires previous TSI ≤ 0 and current TSI > 0; downward is the mirror condition. Merely remaining above zero is not a fresh cross. Here, TSI is already above the signal on the previous bar, so this hour is not also a fresh upward signal-line cross.
In this guide, crosses are classified only between two complete adjacent recorded hours with available values. Adjacent hours across UTC midnight are allowed. Values can still be shown after a gap or in a partial hour, but that pair is not assigned a closed-bar cross.
4. Read a signal cross below zero
At 2024-01-31 23:00 UTC, TSI is −18.017781 and its EMA7 signal is −18.775297. TSI has crossed above its signal, while both lines remain negative. The previous TSI is −19.593492. This is an upward signal-line cross within a still-negative zero-line reading.
The current close is 146.860 versus the previous 146.960, so the latest change is again negative. A signal cross describes the relationship between two smoothed series, not the sign of that one price change. It also does not guarantee a following rally.
Before treating such an observation as a trading rule, entry timing, invalidation, exits and transaction costs would have to be defined and tested separately. The observations in this guide have no trade outcome or profit attached.
5. Separate the display window from calculation history
The full-history comparator starts EMA25 with an SMA of 25 changes, then EMA13 with an SMA of 13 available first-stage values. TSI first exists on the 38th retained close; its SMA-seeded EMA7 signal first exists on the 44th. These are this implementation’s initialization conventions.
The reference has a numerical TSI from the second close in this dataset because the first change is nonzero. Early availability is not evidence of stability. Main examples require at least 500 prior recorded H1 bars; that count does not certify agreement with a trading terminal.
After that history, the largest reference-versus-SMA difference over the retained sample is below 0.000000000000002 for both TSI and signal. The six-decimal display therefore agrees in the selected cases. Switching to SMA initialization may leave the visible numbers unchanged.
The third mode starts afresh at a fixed close exactly 40 recorded changes before each selected hour. At the shared zero-cross/initialization hour, this yields TSI +1.195837 and signal −10.175614, versus +1.417356 and −8.518462 with full history. Here the reading changes without changing the upward-zero-cross classification.
At the signal-cross example, the restart instead gives TSI −23.507061 and signal −26.936922. It is already above its signal on the preceding bar, so this mode has no fresh upward signal cross at that selected hour. Changing retained history can change a cross classification, even with the same price candles and periods.
That restart anchor stays fixed as you move the cursor. Values before the anchor and before the first change are unavailable; the program does not restart at every selected bar. Choosing 40 or 80 visible bars changes the chart window, not the 25/13/7 calculation periods.
| History / initialization | TSI 25/13 | Signal EMA7 |
|---|---|---|
| Reference · first change | +1.417356 | -8.518462 |
| Full history · SMA seed | +1.417356 | -8.518462 |
| Fixed restart · 40 changes | +1.195837 | -10.175614 |
6. Check what the observation can support
A zero reading is not a universal market boundary, and fixed overbought or oversold thresholds are not added here. Repeated zero or signal crosses can occur without a lasting trend. The retained sample is one pair in one reused historical year, not unseen evidence of a profitable strategy.
Each retained hourly close updates the smoothing once, including partial hours. Across a recorded gap, the next price change uses the last retained close; no missing prices or artificial hourly bars are inserted. Compare timezone, price input, gaps, seeding and signal settings before comparing another platform.
The plotted window ends at the selected observation. Cross flags use the unrounded decimal calculations; the displayed six decimals are for reading. A marks the selected observation, not an entry or exit. The two views using 2024-01-30 19:00 UTC must not be counted as separate evidence.
7. Explore the closed bars and components
Choose a zero-cross, signal-cross or initialization view. Compare the reference, full-history SMA seed and fixed 40-change restart. Move through earlier bars to inspect the close, change, TSI, signal, availability and exact closed-bar observation. The initial selected hour is the last candle of each view.
Loading retained historical readings…
Reference · first change
TSI · gold / signal · blue / A · selected observation
The chart ends at A; no later candles are shown. A cross can use the preceding recorded bar outside the visible window.
- H1 end · UTC
- —
- Close · JPY per USD
- —
- Latest ΔC · JPY per USD
- —
- TSI 25/13
- —
- Signal EMA7
- —
- TSI versus zero
- —
- TSI versus signal
- —
- Fresh closed-bar cross
- —
- Recorded hour
- —
Inspect the smoothing components
- EMA25(ΔC)
- —
- EMA13(EMA25(ΔC))
- —
- EMA25(|ΔC|)
- —
- EMA13(EMA25(|ΔC|))
- —
- Recorded bars before this observation
- —
- Fixed restart anchor · UTC
- —
The zero-cross and initialization views share one hour. Full-history SMA readings can match the reference at six displayed decimals.
Frequently asked questions
Is TSI a return percentage?
No. It is 100 times the ratio of two smoothed price-change series. Its scale does not measure an account return or the percentage change of the pair.
Can TSI cross zero upward after a lower close?
Yes. At the selected 2024-01-30 19:00 UTC hour, ΔC is −0.050 while TSI crosses from −1.058619 to +1.417356. Both smoothing stages retain earlier changes.
Does a signal cross above EMA7 also mean TSI is positive?
No. The 2024-01-31 23:00 UTC example has TSI −18.017781 above signal −18.775297. Both are still below zero.
Why does the SMA option sometimes show the same number?
After long history, the difference can be smaller than the six-decimal display. In the selected cases, the full-history reference and SMA-seeded readings agree at that precision.
What happens when the denominator is zero?
TSI is unavailable. The implementation does not substitute zero, and the signal calculation does not inject a zero for a missing TSI observation.
Are these real candles and a tested trading strategy?
The candles are reconstructed from retained historical Forexite quotes. This is an indicator guide with calculation checks; it defines no executed trades or strategy returns.
Data, calculation choices and scope
The guide reuses 375,702 retained USD/JPY M1 records from Forexite’s 2024 Trade/MetaStock archives. Fixed GMT+1 labels are shifted back one hour to UTC; minute labels are interval ends and H1 buckets are (start,end]. These are explicit reconstruction assumptions.
The 6,265 retained H1 bars include 6,178 complete and 87 partial hours, with 52 gaps before recorded hours. The original daily ZIP archives were not downloaded again. Their source URLs and checksums remain in the downloadable method package alongside the retained minute input.
Two separate calculations rebuild the hourly candles and readings: a 55-digit sequential calculation and an 80-digit weighted-prefix calculation, including a separate identity for the double-smoothed path. Both were authored by the same assistant. This checks reproducibility; it is not certification by a broker terminal or an outside reviewer.
The reading CSV contains the full hourly series and both full-history initialization methods. The events CSV records availability, hour quality and exact zero/signal crosses. The ZIP adds the fixed specification, raw retained input, both programs and verification results. Instructions for reproducing the calculation are kept in that download.



