It looks like TradingView makes available almost all data from the chart's "Symbol Info..." window for Pine Script users through the built-in syminfo. namespace. Well done!
This publication will be featured in our "Best Scripts of The Month" selection. Thank you for your valuable contribution to the TradingView community, and congrats!