Search symbol...
HomeFeaturesMarketsPricingTrack RecordChangelogFAQBlogContactLoginGet Started
AI Powered

AI Strategy Backtester

Describe any trading strategy in plain English and the AI builds it, runs it against historical data, and plots every buy and sell signal on your chart — complete with performance stats like total return, win rate, Sharpe ratio, and max drawdown.


How It Works

Traditional backtesting requires coding skills — writing Pine Script, Python, or similar. ChartingLens eliminates that entirely. You describe what you want in natural language, and the AI does the rest.

1

Describe Your Strategy

Type your idea in plain English. For example: "Buy when RSI crosses above 30 and MACD is positive. Sell when RSI crosses above 70."

2

AI Builds the Code

The AI translates your description into executable strategy code, handling indicator calculations, entry/exit logic, and position management.

3

Backtest Runs

The strategy executes against the historical OHLCV data on your current chart. Every trade is recorded with entry price, exit price, and result.

4

Results on Chart

Buy and sell markers appear on the chart at exact trade locations. A summary panel shows total return, win rate, Sharpe ratio, profit factor, and max drawdown.


Performance Metrics

Every backtest produces a complete performance report so you can evaluate your strategy objectively.

Visual Equity Curve

In addition to the stats summary, the backtester shows a visual equity curve — a line chart of your account value over time. This lets you see not just the final result but the journey, including drawdown periods and recovery patterns.


Find Best Timeframe

Not sure which timeframe works best for your strategy? The "Find Best Timeframe" feature automatically re-runs your strategy across four timeframes — 15 minute, 1 hour, 4 hour, and 1 day — and compares results side by side.


Built-In Preset Strategies

10+ proven strategies are available as presets that you can run with a single click via the Quick Actions menu. All presets run instantly without using AI credits.

Golden Cross / Death Cross

Buys when the 50 SMA crosses above the 200 SMA and sells on the reverse. A classic trend-following strategy used by institutional traders.

RSI Mean Reversion (30/70)

Buys when RSI drops below 30 (oversold) and sells when RSI rises above 70 (overbought) with a 5% stop loss and 10% take profit.

MACD Crossover

Goes long when the MACD line crosses above the signal line. Exits on the reverse crossover or a 5% stop loss.

SMC Fair Value Gap Retest

Detects bullish and bearish Fair Value Gaps, enters on confirmed zone retests with 2:1 reward-to-risk. Draws all FVG zones on the chart.

20-Day High Breakout

Enters when price closes above the 20-period highest high. Exits when price closes below the 10-period lowest low.

Buy the Dip (5% Pullback)

Enters when price drops 5% from its recent high. Exits on a 5% recovery (take profit) or 5% further decline (stop loss).

Plus seasonal strategies: Quarterly Rotation, Sell in May, January Effect, and Monday Effect. All presets are available on the free tier.


Strategy Alerts — Backtest to Live

Found a strategy that works? Activate it as a live alert and get email notifications when the next buy or sell signal fires — without keeping your browser open.

Example: Golden Cross Alert on AAPL (Daily)

You backtest the Golden Cross strategy on AAPL and like the results. Click "Activate Alert", select "Daily" as the timeframe. From now on, every time the 50 SMA crosses above or below the 200 SMA on AAPL's daily chart, you get an email with the signal and price. No need to check the chart manually.


Example Strategy Ideas

Here are some strategies you can describe in plain English for the AI to build and test:


Free vs Premium

FeatureFreePremium
10+ preset strategies (Golden Cross, RSI, MACD, SMC FVG, etc.)FreeFree
Custom AI strategies-Unlimited
Find Best Timeframe1 analysisUnlimited
Strategy Alerts (backtest → live email alerts)-Unlimited
Persistent backtests across symbol changes-Premium
Buy/sell markers on chartFreeFree
Full performance statsFreeFree

Test your strategy today

Try 10+ built-in presets for free, describe your own strategy in plain English, or activate a strategy as a live alert with email notifications.

Create Free Account All Features