Does Pine Script resemble TOS at all?
As far as I can determine, it looks like Tradingview does not offer any options data feeds, so indicators or scripts that use options data (such as volumes or open interest at certain strikes) would not be possible to port to pinescript. Someone can correct me if I'm wrong.
I am noticing this morning that the options data feed for SPX does not appear to be working during today's premarket hours. (I.e., the script works for past days including their premarket hours, but then stops plotting volume at strikes since after the end of yesterday's RTH session. Hasn't happened before to my recollection and I also confirmed that the volume and OI is returning N/A on those bars with debug labels, so it seems the problem is not with the code but rather is on ThinkOrSwim's end.)
Between such occasional reliability issues and the lack of multi-threaded processing making some scripts run slowly, I am considering whether I should look into an alternative to TOS. I don't want to learn C# however (which I understand is the basis for Ninjatrader's language). Furthermore, Tradestation's EasyLanguage
manual states (p.11): "These values [optionable stock and index symbol options data values for IV, call/put volume, and call/put open interest] are only available on daily charts for symbols with options."
So unless I'm missing other possibilities not dependent on these functions in EasyLanguage, it appears that studies like the ones we have for TOS in
this thread would be impossible to make in either Pinescript or EasyLanguage.
Can anyone confirm whether that is correct, and that, therefore, if not using ThinkOrSwim then the only charting platform that can create intraday indicators with options data would be Ninjatrader (which would require coding in what is basically C#)?
EDIT: Also checked the
Sierra Chart documentation and it seems that open interest data won't be readable on intraday charts in that platform (at least not using the native function, maybe there is a workaround), and it uses C++ as the coding language.