VOLATILITY, DISPERSION & CANDLES
Skewness
Whether recent prices lean up or down around their own average.
spec id: skewlength (default 20)
What does Skewness measure?
Whether recent prices lean up or down around their own average. Negative means the surprises have mostly been to the downside.
How is Skewness calculated?
Over the last 20 closes, measure how far each sits from the window's average, cube those distances (so direction survives), average them, and scale against the spread.
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 Skewness in a bot?
In the builder, add an indicator of type skew (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
- STARC bandsA price channel built on a short average with volatility-scaled edges — traditionally used to judge whether a breakout is worth chasing.
- Std deviationHow spread out prices have been — the raw, unscaled volatility number that Bollinger Bands are built from.
- True rangeHow far the stock actually travelled in one candle, counting any overnight gap.
- Ulcer indexA volatility measure that only counts the PAIN — how deep drawdowns went and how long they lasted.
Or browse all 158 indicators in the full library.