OPEN-SOURCE SCRIPT

Futures - Measure and compare volatility in USD

This is a dirty fix.
Dollar value (syminfo.pointvalue) is wrong in Tradingview for the below listed futures, where the price is in quarters of cents.
For example ZC (Corn) says syminfo.pointvalue = 5000 (syminfo.mintick = 0.13), which gives you (with ATR = 6) volatility of $30,000 (6 * 5000) instead of the correct $300.
For all other futures I used the default syminfo.pointvalue.

Feel free to correct me, if I am wrong regarding the syminfo.pointvalue error.
futuresVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明