OPEN-SOURCE SCRIPT
Rolling Skewness & Kurtosis (Quant Lab)

🔹 Skewness (Asymmetric Risk)
• Skew > 0 (green) → Right tail heavier:
• More frequent positive extreme movements
• Higher probability of pump/sharp rally
• Skew < 0 (red) → Left tail heavier:
• Higher risk of crash, dump, liquidation
• Skew ≈ 0 → Distribution is symmetrical, neither right nor left side is dominant
🔹 Excess Kurtosis (Intensity of Extreme Movements)
• Kurt > 0 → Fat tails:
• More extreme movements compared to a normal distribution
• Increased risk of unexpected large spikes, flash moves
• Kurt < 0 → Thin tail:
• More “calm” distribution, fewer extreme movements
This pair tells you:
“Which direction could this instrument explode in right now?
and has the intensity of extreme movements increased?”
• Skew > 0 (green) → Right tail heavier:
• More frequent positive extreme movements
• Higher probability of pump/sharp rally
• Skew < 0 (red) → Left tail heavier:
• Higher risk of crash, dump, liquidation
• Skew ≈ 0 → Distribution is symmetrical, neither right nor left side is dominant
🔹 Excess Kurtosis (Intensity of Extreme Movements)
• Kurt > 0 → Fat tails:
• More extreme movements compared to a normal distribution
• Increased risk of unexpected large spikes, flash moves
• Kurt < 0 → Thin tail:
• More “calm” distribution, fewer extreme movements
This pair tells you:
“Which direction could this instrument explode in right now?
and has the intensity of extreme movements increased?”
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.