OPEN-SOURCE SCRIPT

USDT.D Oszillator v6

**Script Name:** USDT.D Oscillator v6

**Description:**
The **USDT.D Oscillator v6** is a technical indicator designed to measure Tether (USDT) dominance in the cryptocurrency market. It calculates a normalized value of **USDT.D** (Tether Dominance) using three different normalization methods:

- **Min-Max Normalization**: This method scales **USDT.D** between 0 and 100, based on the 5th and 95th percentiles of **USDT.D** over a specified lookback period
The formula used is:
\[
\text{Normalized Value} = \frac{\text{USDT.D} - \text{Percentile}(5)}{\text{Percentile}(95) - \text{Percentile}(5)} \times 100
\]

- **Z-Score Normalization**: Standardizes **USDT.D** by subtracting the moving average and dividing by the standard deviation.
The formula for Z-Score is:
\[
\text{Z-Score} = \frac{\text{USDT.D} - \text{SMA(USDT.D)}}{\text{STD(USDT.D)}}
\]
This gives the number of standard deviations that **USDT.D** is away from its mean.

- **Stochastic Normalization**: Measures **USDT.D** relative to its highest and lowest values over a given period, representing its position within that range (0 to 100 scale).
The formula is:
\[
\text{Stochastic} = \frac{\text{USDT.D} - \text{Lowest(USDT.D)}}{\text{Highest(USDT.D)} - \text{Lowest(USDT.D)}} \times 100
\]

The script also includes a **smoothing option** to reduce noise in the signal, using a Simple Moving Average (SMA) over the selected period. This helps to create a smoother oscillator, making it easier to identify overbought/oversold conditions, and potential market reversals.

This oscillator is useful for tracking market trends, assessing sentiment, and spotting potential turning points in the market, helping traders make informed decisions based on the dominance of USDT in the crypto space.

Aviso legal