PROTECTED SOURCE SCRIPT
Aggiornato

Dancing Space Indicator

2 800
Naive Algo for Volatility Forecast: indicates the percentage of chances for the underlying to make a break through the current straddle price during time remaining from current bar close till the option expiry. Put it on the chart of an underlying, fill the inputs for current straddle price, how many bars of of chart time frame remains till expiry and what window size to use to make a forecast.

ATTENTION! Big numbers in "Bars till expiry" and "Window Size" inputs are a. Useless b. Makes TVW processing indicator very slow because of large number of iterations to perform.

ATTENTION 2! Algo is really naive and simple and based on historical data, but can be of use together with other volatility predicting signals.
Note di rilascio
Algorythm rewritten and got many times faster.
Note di rilascio
Updated to Pinescript v5 and calculated bars till expiry

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.