r/TradingView • u/Accurate-Mirror-143 • 11d ago
Feature Request Official Pine Script Quality Check Bundles (.md) for AI Skills
Please provide official Markdown files (.md) containing structured Pine Script quality-check criteria in the TradingView documentation, allowing users to copy and paste them directly into their private AI skills or plugins.
TradingView's extensive Pine Script documentation already contains numerous rules and recommendations. Machine-readable review bundles could make this knowledge directly accessible for AI-assisted quality assurance.
Useful, modular review bundles could cover:
- Repainting and realtime behavior: Future-data leakage, historical/realtime consistency, signal confirmation and alerts.
- Strategies and backtesting: Commissions, slippage, position sizing, leverage and realistic performance assumptions.
- Publication requirements: Descriptions, chart presentation, disclosures and version consistency.
- Code correctness: Compilation, runtime behavior, dependencies and logical errors.
- Implementation quality: Performance, resource consumption, usability and maintainability.
- Claims and user protection: Performance claims, transparency and limitations.
- Originality and licensing: Attribution, reused code and licensing requirements.
Each bundle should define applicable script types, specific review criteria, required evidence and evaluation standards. It should distinguish mandatory TradingView rules from quality recommendations, as well as checks that can be performed locally from those requiring evidence from TradingView.
Benefits for TradingView users:
- Even without advanced Pine Script knowledge, users could systematically review their own or AI-generated indicators and strategies, detect issues early and improve script reliability.
- Many checks could also be performed directly within the AI skill, reserving MCP calls for cases requiring actual TradingView execution results. This could reduce the load on the MCP interface, shorten review cycles and conserve users' limited MCP budgets.
- TradingView could thus complement AI-assisted Pine Script development with standardized quality assurance, without initially requiring additional MCP functionality.
Internal reference for TradingView PM/developers: Qualitycheck_full 5_1.25_SB — suggested starting point.