With the exception of VWAP, chart studies and indicators are not available via API. While they are available in TWS Charts, they cannot be extracted into the API.
How can I see studies via the TWS API?
Powered by IBot
How do I obtain historical data via API?
Do you offer tick-by-tick data via the API?
How can I view chart studies and technical indicators in TWS?
How do I obtain historical open interest data for futures?