repainting fake signal inspector
by nowrich
Audit Pine Script strategies for repainting, lookahead bias, and unrealistic backtest results.
Secure checkout via Stripe
Works with the AI tools you already use
See it in action
You say
Audit this snippet for lookahead bias: strategy.entry("Long", strategy.long, when=clover > 0) strategy.exit("Exit", "Long", stop=low - 10 * syminfo.mintick)
Your agent does
Finding #1: Lookahead Exit Bias Severity: high Line: strategy.exit(...) Issue: Using 'low' of the current bar to set a stop loss on the same bar. Why it is unrealistic: The strategy assumes it knows the bar's low before it occurs. Suggested fix: stop=low[1] - 10 * syminfo.mintick
What you get
About this skill
The problem
TradingView backtests often show impossible returns due to hidden coding errors. Pine Script strategies frequently suffer from repainting and lookahead bias, where the script "sees" future prices to trigger perfect entries that can never happen in live trading.
What it does
- Identifies repainting risks in
request.securitycalls and indicator calculations. - Detects lookahead bias where stops or targets use current bar data before it exists.
- Audits
strategy()parameters for unrealistic slippage, commission, and fill assumptions. - Flags duplicate signal logic that artificially inflates trade counts or equity curves.
- Provides concrete Pine Script code fixes for every high-severity finding.
Frameworks & tools
TradingView Pine Script (v4 and v5).
Why this beats prompting it yourself
Generic LLMs often miss subtle execution nuances like process_orders_on_close interactions or barstate persistence. This skill uses a specialized audit workflow to trace the order lifecycle bar-by-bar, catching logic traps that pass standard syntax checks.
Use cases
- Verifying a purchased or open-source Pine Script strategy before risking capital.
- Debugging "too good to be true" backtest results that disappear in forward testing.
- Hardening entry and exit logic to ensure signals confirm only on closed bars.
- Adding realistic execution constraints like slippage and commissions to existing scripts.
Known limitations
Cannot execute the code to see visual repainting; relies entirely on static analysis of the provided script logic.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Frequently Asked Questions
Popular in Code Review

inline-comment
Best way to steer your agents, effortlessly.

Legacy Code Modernization Planner for AI Coding Agents
Creates safe modernization roadmaps for old, messy, undocumented, or fragile codebases, including risk audits, refactor phases, dependency reviews, testing plans, migration steps, and AI coding prompts.
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.
java-best-practice-checker
Expert Java code auditor for SE 8–24, flagging performance leaks, threading risks, and modernization gaps.