ai strategy code reviewer
by nowrich
Audit AI-generated trading strategies for lookahead bias, repainting, and unrealistic execution logic.
Secure checkout via Stripe
Works with the AI tools you already use
See it in action
You say
Review this Pine Script strategy. It uses request.security to get daily data for a 15-minute timeframe crossover. I'm getting 90% win rate and want to check for lookahead bias.
Your agent does
Summary
Verdict: FAIL Severity count: Critical: 1, Major: 0, Minor: 1
Issues Found
Issue 1
- Severity: Critical
- Category: Lookahead
- Description:
request.securityis called withoutbarmerge.lookahead_off. - Impact: Accesses future daily closes.
What you get
About this skill
The problem
AI-generated trading strategies often produce impossible backtest results due to lookahead bias and repainting. These scripts frequently lack the safeguards and execution realism required to survive live market conditions without blowing up an account.
What it does
- Audits code for lookahead bias and repainting that invalidates backtest results.
- Identifies state management bugs where position flags fail to reset or update correctly.
- Verifies position-sizing math to ensure risk calculations and lot sizes are accurate.
- Checks for unrealistic order execution like zero-slippage fills or same-bar entries/exits.
- Flags missing safeguards such as drawdown limits, cooldown periods, and input validation.
Frameworks & tools
Pine Script (TradingView), Python (backtesting.py, Backtrader, vectorbt, zipline), C# (NinjaScript), and MQL4/MQL5.
Why this beats prompting it yourself
Standard LLMs often overlook subtle indexing errors or framework-specific quirks like Pine Script's barmerge behavior. This skill applies a rigid, multi-point audit process specifically designed to catch the "too good to be true" bugs that generic prompts miss.
Use cases
- Reviewing a Pine Script strategy before deploying it to a TradingView alert.
- Auditing a Python backtest for hidden future-data leakage in dataframes.
- Validating the risk management logic of an MQL5 Expert Advisor.
- Converting a backtest-only script into a live-ready execution bot.
Known limitations
Cannot verify external data quality or broker-side execution latency. Assumes standard framework behavior unless custom libraries are fully provided.
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

🧹 Code Comment Cleaner
Preview code-like comment blocks across JavaScript, TypeScript, Python, Java, Go, Rust, HTML, and CSS. Preservation rules run before candidate detection; confirmed cleanups create .bak backups and remove only reviewed ranges.

Ironclad — Senior Software Developer
Makes your coding agent work like a senior developer: exact money, configurable rules, real audit trails, honest testing. Any stack, any country.

Security Hygiene Checklist
Automated scanner for security misconfigurations, credential exposure risks, and unsafe environment settings.

🧪 AI Build Sanity Check
Scan local Python, JavaScript, TypeScript, JSX/TSX, HTML, JSON, and .env files for build markers, returned fake-data terms, swallowed errors, placeholders, route-adjacent canned success, and advisory empty handlers. Read-only findings include rule, severity, file, line, and a plain fix.