All indicators

Square Root Transformation (SQRT)

Plots the square root of the chosen source, which compresses large values and stretches small ones onto a flatter scale.

BTCUSD1h
Fixed data to Oct 6, 2026, UTC
Loading the chart

Square Root Transformation (SQRT) replaces each value of the source with its square root. The transformation is applied bar by bar, with no lookback and no smoothing.

The square root grows more slowly than the value it is taken of. Going from 100 to 400 doubles the root from 10 to 20, while going from 10,000 to 40,000 also only doubles it, from 100 to 200. Large values are compressed far more than small ones, so a strongly skewed series, such as a price that has risen many times over, reads on a gentler scale. A negative value has no real square root and is left as a gap.

How to read Square Root Transformation (SQRT)

Read the shape of the line rather than its level. Moves look smaller at high prices than they do on the raw chart, so a long rise that seems to accelerate in price units can look steadier once transformed, and early moves at low prices become easier to see.

The values are not prices, so do not set orders against them. The transformation is a lens on the series, often used before comparing spans of very different price levels or as a step before further statistics.

Settings

Source
The series to transform, such as the close or the bar midpoint.

Frequently asked questions

Why is part of the line missing?

The source was negative on those bars. A negative number has no real square root, so those bars are left blank.

How does it differ from a logarithmic scale?

Both compress large values. The square root compresses less strongly than a logarithm, so it sits between the raw series and a log view.

Does it change the direction of moves?

No. The square root rises whenever the source rises and falls whenever it falls, so turns appear on the same bars; only the size of each move changes.

Write your own in OpenScript

Every study here is plain OpenScript. Change a setting, combine two, or turn one into a strategy, then backtest it in /trading and run it in sandbox trading (analyzer mode in OpenAlgo) before going further.