Datasets:
date stringdate 1995-01-01 00:00:00 2026-11-20 00:00:00 | usd_ils float64 2.81 4.99 | sma_200 float64 2.99 4.78 ⌀ | zigzag_5pct float64 2.81 4.99 | zigzag_10pct float64 2.81 4.99 |
|---|---|---|---|---|
1995-01-01 | 3.018 | null | 3.018 | 3.018 |
1995-01-03 | 3.024 | null | 3.024 | 3.024 |
1995-01-04 | 3.028 | null | 3.028 | 3.028 |
1995-01-05 | 3.024 | null | 3.024 | 3.024 |
1995-01-06 | 3.022 | null | 3.022 | 3.022 |
1995-01-08 | 3.022 | null | 3.022 | 3.022 |
1995-01-09 | 3.029 | null | 3.029 | 3.029 |
1995-01-10 | 3.015 | null | 3.015 | 3.015 |
1995-01-11 | 3.013 | null | 3.013 | 3.013 |
1995-01-12 | 3.016 | null | 3.016 | 3.016 |
1995-01-13 | 3.01 | null | 3.01 | 3.01 |
1995-01-15 | 3.01 | null | 3.01 | 3.01 |
1995-01-16 | 3.013 | null | 3.013 | 3.013 |
1995-01-17 | 3.012 | null | 3.012 | 3.012 |
1995-01-18 | 3.01 | null | 3.01 | 3.01 |
1995-01-19 | 3.017 | null | 3.017 | 3.017 |
1995-01-20 | 3.002 | null | 3.002 | 3.002 |
1995-01-22 | 3.002 | null | 3.002 | 3.002 |
1995-01-23 | 3.003 | null | 3.003 | 3.003 |
1995-01-24 | 2.999 | null | 2.999 | 2.999 |
1995-01-25 | 2.996 | null | 2.996 | 2.996 |
1995-01-26 | 3.005 | null | 3.005 | 3.005 |
1995-01-27 | 3.006 | null | 3.006 | 3.006 |
1995-01-29 | 3.006 | null | 3.006 | 3.006 |
1995-01-30 | 3.004 | null | 3.004 | 3.004 |
1995-01-31 | 2.998 | null | 2.998 | 2.998 |
1995-02-01 | 3.012 | null | 3.012 | 3.012 |
1995-02-02 | 3.009 | null | 3.009 | 3.009 |
1995-02-03 | 3.011 | null | 3.011 | 3.011 |
1995-02-05 | 3.011 | null | 3.011 | 3.011 |
1995-02-06 | 3.021 | null | 3.021 | 3.021 |
1995-02-07 | 3.022 | null | 3.022 | 3.022 |
1995-02-08 | 3.029 | null | 3.029 | 3.029 |
1995-02-09 | 3.022 | null | 3.022 | 3.022 |
1995-02-10 | 3.024 | null | 3.024 | 3.024 |
1995-02-12 | 3.024 | null | 3.024 | 3.024 |
1995-02-13 | 3.017 | null | 3.017 | 3.017 |
1995-02-14 | 3.022 | null | 3.022 | 3.022 |
1995-02-15 | 3.014 | null | 3.014 | 3.014 |
1995-02-16 | 3.007 | null | 3.007 | 3.007 |
1995-02-17 | 2.996 | null | 2.996 | 2.996 |
1995-02-19 | 2.996 | null | 2.996 | 2.996 |
1995-02-20 | 3.003 | null | 3.003 | 3.003 |
1995-02-21 | 3.006 | null | 3.006 | 3.006 |
1995-02-22 | 3.008 | null | 3.008 | 3.008 |
1995-02-23 | 3.003 | null | 3.003 | 3.003 |
1995-02-24 | 2.993 | null | 2.993 | 2.993 |
1995-02-26 | 2.993 | null | 2.993 | 2.993 |
1995-02-27 | 2.984 | null | 2.984 | 2.984 |
1995-02-28 | 2.988 | null | 2.988 | 2.988 |
1995-03-01 | 2.986 | null | 2.986 | 2.986 |
1995-03-02 | 2.988 | null | 2.988 | 2.988 |
1995-03-03 | 2.983 | null | 2.983 | 2.983 |
1995-03-05 | 2.983 | null | 2.983 | 2.983 |
1995-03-06 | 2.968 | null | 2.968 | 2.968 |
1995-03-07 | 2.97 | null | 2.97 | 2.97 |
1995-03-08 | 2.961 | null | 2.961 | 2.961 |
1995-03-09 | 2.98 | null | 2.98 | 2.98 |
1995-03-10 | 2.983 | null | 2.983 | 2.983 |
1995-03-12 | 2.983 | null | 2.983 | 2.983 |
1995-03-13 | 2.991 | null | 2.991 | 2.991 |
1995-03-14 | 2.983 | null | 2.983 | 2.983 |
1995-03-15 | 2.967 | null | 2.967 | 2.967 |
1995-03-19 | 2.967 | null | 2.967 | 2.967 |
1995-03-20 | 2.986 | null | 2.986 | 2.986 |
1995-03-21 | 2.953 | null | 2.953 | 2.953 |
1995-03-22 | 2.967 | null | 2.967 | 2.967 |
1995-03-23 | 2.975 | null | 2.975 | 2.975 |
1995-03-24 | 2.986 | null | 2.986 | 2.986 |
1995-03-26 | 2.986 | null | 2.986 | 2.986 |
1995-03-27 | 2.993 | null | 2.993 | 2.993 |
1995-03-28 | 2.983 | null | 2.983 | 2.983 |
1995-03-29 | 2.964 | null | 2.964 | 2.964 |
1995-03-30 | 2.964 | null | 2.964 | 2.964 |
1995-03-31 | 2.968 | null | 2.968 | 2.968 |
1995-04-02 | 2.968 | null | 2.968 | 2.968 |
1995-04-03 | 2.958 | null | 2.958 | 2.958 |
1995-04-04 | 2.963 | null | 2.963 | 2.963 |
1995-04-05 | 2.954 | null | 2.954 | 2.954 |
1995-04-06 | 2.955 | null | 2.955 | 2.955 |
1995-04-07 | 2.952 | null | 2.952 | 2.952 |
1995-04-09 | 2.952 | null | 2.952 | 2.952 |
1995-04-10 | 2.965 | null | 2.965 | 2.965 |
1995-04-11 | 2.975 | null | 2.975 | 2.975 |
1995-04-12 | 2.97 | null | 2.97 | 2.97 |
1995-04-13 | 2.964 | null | 2.964 | 2.964 |
1995-04-16 | 2.964 | null | 2.964 | 2.964 |
1995-04-18 | 2.948 | null | 2.948 | 2.948 |
1995-04-19 | 2.946 | null | 2.946 | 2.946 |
1995-04-20 | 2.96 | null | 2.96 | 2.96 |
1995-04-23 | 2.96 | null | 2.96 | 2.96 |
1995-04-24 | 2.956 | null | 2.956 | 2.956 |
1995-04-25 | 2.954 | null | 2.954 | 2.954 |
1995-04-26 | 2.963 | null | 2.963 | 2.963 |
1995-04-27 | 2.958 | null | 2.958 | 2.958 |
1995-04-28 | 2.961 | null | 2.961 | 2.961 |
1995-04-30 | 2.961 | null | 2.961 | 2.961 |
1995-05-01 | 2.974 | null | 2.974 | 2.974 |
1995-05-02 | 2.966 | null | 2.966 | 2.966 |
1995-05-03 | 2.961 | null | 2.961 | 2.961 |
USD/ILS — the trend without the noise (1995 → 2026)
Every meaningful turn in the US dollar / Israeli shekel rate over 31 years, with the daily noise filtered out.
The daily exchange rate is noisy, and most day-to-day moves tell you nothing. This dataset keeps only the moves that matter, using two complementary methods:
| Method | What it answers | File |
|---|---|---|
| ZigZag filter (3% / 5% / 10%) | When did the trend actually turn, and how big was each leg? | pivots_*pct.csv |
| Hodrick–Prescott filter (λ = 14400, monthly) | What is the slow-moving trend level, and how far is the rate from it (the cycle)? | usd_ils_monthly_hp.csv |
| Daily rate + 200-day moving average + ZigZag lines | Everything above on one daily timeline | usd_ils_daily.csv |
Key facts (as of 20 Nov 2026)
| Observations | 7,899 trading days (1 Jan 1995 – 20 Nov 2026) |
| All-time low | 2.811 — 29 May 2026 |
| All-time high | 4.994 — 11 Jun 2002 |
| 30-year average | 3.825 |
| Biggest down-leg (5% filter) | 3.813 → 2.811 (−26.3%, Apr 2025 → May 2026, with no 5% bounce along the way) |
| Current leg | 2.811 → 3.326 (+18.3% in 175 days), rising |
| Reversal trigger (5% filter) | The uptrend is only confirmed over if USD/ILS falls to 3.160 |
How the ZigZag works (in plain words)
- Follow the rate and remember the most extreme point of the current move (the highest high in a rally, the lowest low in a decline).
- A turn is confirmed only when the rate reverses by at least X% from that extreme. That extreme becomes a pivot: שיא (peak) or שפל (trough).
- Anything smaller than X% counts as noise and never appears.
So X controls how much you see: 3% shows swings (148 pivots), 5% shows the trend (66), and 10% shows only the major cycles (18).
The last row of each pivots file has confirmed = False. It is the move still in progress, so its extreme can still extend.
Validation. Each confirmed trough is the exact minimum, and each peak the exact maximum, of the daily series between its neighbouring pivots. The Python implementation (zigzag.py) and the formula-based Excel engine (USD-ILS_Trend_Engine.xlsx) produce identical pivot tables.
Columns
pivots_*pct.csv — date, type (peak/trough), type_he (שיא/שפל), usd_ils, pct_change (from the previous pivot), days (calendar days since the previous pivot), pct_per_day (pct_change / days), direction (up/down), confirmed
usd_ils_daily.csv — date, usd_ils, sma_200 (200-trading-day simple moving average), zigzag_5pct and zigzag_10pct (ZigZag line linearly interpolated between pivots, for plotting)
usd_ils_monthly_hp.csv — month, avg_usd_ils, hp_trend_lambda14400, cycle_pct (avg / trend − 1)
Quick start
from datasets import load_dataset
piv = load_dataset("RKugel/usd-ils-zigzag-trend", "pivots_5pct")["train"].to_pandas()
print(piv.tail())
Or recompute with any threshold: python zigzag.py data/usd_ils_daily.csv 0.08
USD-ILS_Trend_Engine.xlsx is the live, formula-driven version. Change one cell (the threshold) and the pivot table, trend line and charts all recalculate. You can also append new daily rates to update it.
Caveats
- The ZigZag repaints its last leg. The final pivot is provisional until it is confirmed. Never treat the live extreme as a known turning point.
- The HP trend has end-point bias. The last ~12 months of the trend bend toward the latest data and will revise as new data arrives.
- These are descriptive tools. They describe past turns and are not a forecast or investment advice.
Source & attribution
Daily data: Bank of Israel representative exchange rate (שער יציג), series RER_USD_ILS, retrieved 20 Nov 2026 via the BoI SDMX API (edge.boi.gov.il). The source data belongs to the Bank of Israel; credit it when you reuse this dataset. The derived tables (pivots, trend lines) and the code are free to use with attribution.
Built by RKugel (economics student, Reichman University).
- Downloads last month
- 64
