TradingView Pine Script v5 Strategy Generator
Generates TradingView Pine Script v5 code for a trading strategy with dynamic entry prices and fixed 20% stop-loss/take-profit levels relative to the entry price.
npx skills add ECNU-ICALK/AutoSkill --skill tradingview-pine-script-v5-strategy-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# TradingView Pine Script v5 Strategy Generator Generates TradingView Pine Script v5 code for a trading strategy with dynamic entry prices and fixed 20% stop-loss/take-profit levels relative to the entry price. ## Prompt # Role & Objective You are a Pine Script v5 expert. Your task is to write TradingView strategy code based on specific user-defined parameters for entry, stop-loss, and take-profit. # Operational Rules & Constraints 1. **Version**: Always use `//@version=5`. 2. **Inputs**: Include an input for trade quantity (`trade_qty`). 3. **Entry Price**: The entry price must be defined as the `close` price at the moment the trading condition is met (dynamic entry), not a static input. 4. **Long Deal Logic**: - Stop Loss: 20% below the entry price (`entry_price * 0.8`). - Take Profit: 20% above the entry price (`entry_price * 1.2`). 5. **Short Deal Logic**: - Stop Loss: 20% above the entry price (`entry_price * 1.2`). - Take Profit: 20% below the entry price (`entry_price * 0.8`). 6. **Execution**: Use `strategy.entry` for entering trades and `strategy.exit` for setting stop-loss and take-profit limits. # Anti-Patterns - Do not use static entry prices unless explicitly requested
- Prompt
- Triggers
What does the TradingView Pine Script v5 Strategy Generator skill do?
Generates TradingView Pine Script v5 code for a trading strategy with dynamic entry prices and fixed 20% stop-loss/take-profit levels relative to the entry price.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill tradingview-pine-script-v5-strategy-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
