tv-strategy-settings
by mariuswang007
Image & Video GenerationBrief
Open and modify TradingView strategy settings on the current chart page.
Description
What This Skill Does
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.
When to Use It
- 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%'
Example Workflow
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
Requirements
- TradingView account (strategy testing features may require a paid plan)
Installation
clawhub install mariuswang007/tv-strategy-settingsRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.