Help / AI
The AI assistant
The assistant reads the chart you’re looking at (the symbol, timeframe, bars and your indicators) and answers questions about it in plain English.
Asking about a chart#
- Press Ask AI in the top bar.
- Type a question, or pick a suggestion: “What’s the trend?”, where support and resistance are, a summary of the indicators, what changed over the last 10 bars.
The AI elsewhere in the app#
- Scripts: Write with AI… in the script editor (see scripts).
- Alerts: describe one at the top of the Alerts tab (see alerts).
- Screens: describe one at the top of the Screener (see screeners).
Using your own AI model#
If you have an account with an AI provider, the assistant can use your model instead of ours. Questions to your own model don’t count against your plan’s daily tokens; they have a limit of their own, 500 a day, as they still go through our server.
- On the Account page, find Assistant: your own AI.
- Choose the service (Claude, OpenAI, OpenRouter, Groq, Gemini and others, or any OpenAI-compatible server), the model, and paste your API key from that service.
- Press Check and save. Use the server’s model switches back.
Your key is stored encrypted and only used for your questions. The provider’s own terms and charges apply.
Connecting other services to the assistant#
The assistant can also look things up in other services that offer an MCP server, such as a news or research tool. Under Assistant: connected services on the Account page, enter a name and the server’s address (https), plus a header if it needs a key, and press Connect. The assistant only uses tools that read; anything that would change something in that service is left out.
Limits
The assistant’s daily limit is in AI tokens, the pieces of text a model reads and writes, as that is what each answer costs. A question is about 5,000 tokens, more for a long chat or one that looks a lot up; the script writer’s fixes of its own drafts spend them too. Free includes about 50,000 AI tokens a day (roughly 10 questions) and 1 connected services, Plus about 500,000 AI tokens a day (roughly 100 questions) and 5, Pro about 2,000,000 AI tokens a day (roughly 400 questions) and 20. During the beta everyone has Max’s, about 7,500,000 AI tokens a day (roughly 1,500 questions). A question asked while some are left is answered in full. The day starts at midnight UTC.
TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.