TDI¶
v.2.0.0.0

Overview¶
Trader's Dynamic Index - RSI, its fast and slow averages and Bollinger bands around it in one panel - with sharkfin signals: the fast line spikes outside a band and turns back.
How it works¶
- Fins - the fast line outside a band - are filled.
- A cross back inside after a fin of the right shape is a signal (arrow); crosses of the middle line are marked with triangles.
Parameters¶
Parameters¶
| Parameter | Default | What it does |
|---|---|---|
| RSI period | 13 | The RSI period the lines are built on. |
| Bollinger period | 34 | The period of the Bollinger bands around the RSI. |
| Bollinger deviation | 1.618 | The band width in standard deviations. |
| Fast SMA period | 2 | The fast line: an SMA of the RSI. |
| Slow SMA period | 7 | The slow line: an SMA of the RSI. |
Sharkfin Parameters¶
| Parameter | Default | What it does |
|---|---|---|
| Sharkfin min threshold(%) | 1 | How far beyond the band the fin must reach, in % of the band width. |
| Sharkfin ratio | 1.618 | The fin length over the bars from its extreme to now - the shape a fin must have. |
| Sharkfin up color | blue | The fill of a fin below the lower band. |
| Sharkfin down color | red | The fill of a fin above the upper band. |
| Sharkfin opacity | 50 | The opacity of the fin fill, %. |
For strategies¶
| Value | Meaning |
|---|---|
| Trend | 1 / -1 on a sharkfin signal. |
| MiddleCross | 1 / -1 when the fast line crosses the middle. |
Version history¶
v.2.0.0.0 - October 2026
- Fixed: the sharkfin ratio and two crashes on long charts.
- Changed: drawn directly on the chart - no drawing objects left on it.