Dollar value (syminfo.pointvalue) is wrong in Tradingview for the below listed futures, where the price is in quarters of cents. So this is a dirty fix. For example ZC (Corn) says syminfo.pointvalue = 5000 (syminfo.mintick = 0.13), which gives you (ATR = 6) volatility 30,000 USD instead of the correct 300 USD. For all other futures is used the default syminfo.pointvalue.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.