TradingView
lagobrian23
Sep 12, 2020 9:48 AM

Daily Risk Ranges 

S&P 500SP

描述

This indictor creates daily Risk Ranges using historical volatility, volatility skew and vol-of-vol.

版本注释

Bug fixes

版本注释

I changed the code to use Cornish-Fisher approximation to define the skew of the range using the volatility skew and kurtosis. I also changed the volatility parametre to respond quicker to increases in volatility than decreases in volatility to avoid paying the price for hidden volatility.

版本注释

Implementing DCA with MA

版本注释

What happens she you don't check ma box
评论
jonnatakusuma
@lagobrian23, I see that there are some hard coding numbers in the cumulants i.e. 24 in third term and 36 in fourth term. Why is that the case? I can guess that 6 is 3! and 24 is 4! But I can't seem to figure out 36. Thanks man and great code!
bruitdefond
thanks. how is this one different from the other script?
lagobrian23
@bruitdefond , this one is mine and I'll be adding some features soon. The other one was for someone else
更多