Install
openclaw skills install @surfagentapp/surfagent-tradingviewTradingView platform skill for SurfAgent, covering chart workflows, proof rules, blockers, and when to use the TradingView adapter over generic browser control.
openclaw skills install @surfagentapp/surfagent-tradingviewTradingView-specific operating skill. Use this with
browser-operations,surfagent-perception, andsurfagent-mcp-selection.
This skill teaches agents how to work TradingView without treating a live chart like a generic webpage, guessing at chart state, or claiming technical-analysis results without proof.
Use this order:
Verdict: if the task is about chart state, market data, indicators, Pine, alerts, or drawings, the TradingView adapter should usually win.
TradingView is not a normal DOM-first app.
It has:
Important: clicking around the UI is usually the dumbest path. If the adapter can read or set chart state directly, use it.
Default loop:
Known-good pattern:
tv_health_checktv_chart_statetv_chart_statetv_screenshot or use perceptiontv_quote, tv_ohlcv, tv_indicators, or tv_study_valuesDo not claim a chart change succeeded from navigation alone.
For TradingView, success requires evidence from the right layer.
state proof
tv_health_check says TradingView is open and chart-readytv_chart_state shows the expected symbol, interval, or chart typedata proof
visual proof when the task is visual
tv_screenshot, tv_export_image, or perception confirms the rendered chart or dialogGood proof examples:
tv_chart_statetv_drawings_list plus screenshottv_alert_listBad proof:
Prefer the TradingView adapter for:
Current adapter verbs include:
tv_health_checktv_opentv_chart_statetv_set_symboltv_set_timeframetv_set_chart_typetv_quotetv_ohlcvtv_indicatorstv_study_valuestv_screenshottv_export_imagetv_alert_listtv_alert_createtv_draw_horizontaltv_drawings_listtv_drawings_cleartv_pine_open_editortv_pine_set_sourcetv_pine_compiletv_pine_get_errorstv_watchlisttv_watchlist_addUse targeted browser control when:
Even then:
Use:
tv_chart_statetv_set_symbol or tv_set_timeframe or tv_set_chart_typetv_chart_state againUse:
tv_chart_statetv_quote or tv_ohlcvtv_indicators or tv_study_values if the task depends on studiesUse:
tv_screenshot for browser render prooftv_export_image when native export quality matters and the flow is supportedUse the adapter, not raw typing, for Pine work.
Default loop:
tv_pine_open_editortv_pine_set_sourcetv_pine_compiletv_pine_get_errorsProof standard:
For alerts:
tv_alert_list to inspect current statetv_alert_create to open the flowFor drawings:
tv_draw_horizontal for support/resistance style actionstv_drawings_listWatch for:
When blocked:
Prefer:
Avoid:
tv_ohlcv existsBefore claiming a TradingView task done, confirm:
Use alongside:
browser-operations for universal browser rulessurfagent-perception for screenshots and visual state diffingsurfagent-mcp-selection for layer choice disciplinesurfagent-tradingview adapter docs for concrete MCP setup and verb behavior