tv-strategy-settings
由 mariuswang007 提供
Image & Video Generation简介
Open and modify TradingView strategy settings on the current chart page.
描述
该技能的功能
Automates modifying TradingView strategy parameters on an open chart page using browser automation. Supports natural language input in English and Chinese for parameter names. Works across Inputs (stop-loss, take-profit, period lengths) and Properties (initial capital, commission, slippage, pyramiding).
Navigates TradingView's multi-tab settings dialog automatically, eliminating repetitive clicking when tuning multiple parameters across Inputs and Properties tabs.
何时使用
- Changing stop-loss percentage on an active TradingView strategy
- Adjusting initial capital and commission for more realistic backtests
- Tuning take-profit thresholds without manually navigating the settings dialog
- Batch-updating multiple strategy parameters in a single operation
- Setting strategy inputs using Chinese-language commands like '把止损改成2%'
示例工作流
User asks: Set stop loss to 1.5% and commission to 0.05%
- 1
Find the TradingView tab using BrowserTool and focus it
- 2
Take a page snapshot to locate the Strategy Tester panel and gear icon
- 3
Click the gear icon to open the strategy settings dialog
- 4
In the Inputs tab, triple-click the Stop Loss field and type 1.5
- 5
Switch to the Properties tab, triple-click the Commission field and type 0.05
- 6
Click OK to apply changes and take a screenshot to confirm recalculation
Strategy recalculates with stop loss at 1.5% and commission at 0.05%, reflected in the Strategy Tester results
前置要求
- TradingView account (strategy testing features may require a paid plan)
安装
clawhub install mariuswang007/tv-strategy-settings运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。