OPEN-SOURCE SCRIPT

Volatility

139
This is a filtering indicator Volatility in the CTA contract of BG Exchange. According to their introduction, it should be calculated using this simple method.
However, you may have seen the problem. According to the exchange's introduction, the threshold should still be divided by 100, which is in percentage form. The result I calculated, even if not divided by 100, still shows a significant difference, which may be due to the exchange's mistake. Smart netizens, do you know how the volatility of BG Exchange is calculated.

The official introduction of BG Exchange is as follows: Volatility (K, Fluctuation) is an additional indicator used to filter out positions triggered by CTA strategy signals in low volatility markets. Usage: Select the fluctuation range composed of the nearest K candlesticks, and choose the highest and lowest closing prices. Calculation: 100 * (highest closing price - lowest closing price) divided by the lowest closing price to obtain the recent amplitude. When the recent amplitude is greater than Fluctuation, it is considered that the current market volatility meets the requirements. When the CTA strategy's position building signal is triggered, position building can be executed. Otherwise, warehouse building cannot be executed.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。