OPEN-SOURCE SCRIPT
已更新

Highest Volume Futures

1 389
Script tracks the volume of futures contracts which are not expired for the current and next year. Provides a label at the real-time bar and when a different contract has higher volume in the last bar of the timeframe input as long as it is different from the current ticker. It should display on continuous and lower volume contract charts.
Intended to be used with a higher timeframe input.

Currently supports ES, MES, NQ, MNQ, RTY, M2K, YM, MYM, BTC, MBT, CL, MCL, GC, MGC, E7 and J7. If you'd like to add your own, then include the syminfo.root of your ticker and the appropriate month codes for that contract in the validMonthCodes switch list.
版本注释
Adjusted label offset to be a multiplier of the highest value instead of an added integer.
版本注释
Corrected comment on input.
版本注释
Removed request.security calls to check expiration dates on next years contract which was causing excessive request.security calls on futures with monthly contracts.
版本注释
Updating chart; no functional changes to script.

免责声明

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