PROTECTED SOURCE SCRIPT
已更新

Dancing Space Indicator

2 909
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.
版本注释
Algorythm rewritten and got many times faster.
版本注释
Updated to Pinescript v5 and calculated bars till expiry

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。