VOLATILITY, DISPERSION & CANDLES
Drawdown
How far below its recent peak the stock is trading, in percent.
spec id: drawdownlength (default 20)
What does Drawdown measure?
How far below its recent peak the stock is trading, in percent. Zero means it is making new highs right now.
How is Drawdown calculated?
Find the highest close of the last 20 candles and express today's close as a percentage below it.
Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.
How do I use Drawdown in a bot?
In the builder, add an indicator of type drawdown (parameters: length, default 20). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.
Related indicators
- Historical volHow volatile the stock has been, stated the way options traders state it: an annual percentage.
- KurtosisHow prone the stock has been to sudden jumps.
- Lower shadowThe wick hanging below the candle's body — how far sellers pushed before buyers took it back.
- Mean abs deviationThe typical distance between price and its own average — a plain-spoken volatility measure that one outlier cannot blow up.
Or browse all 158 indicators in the full library.