- Home
- Skills
- Data & Databases
- EMA+RSI Backtester| MT5 Signal Bot 01
More screenshots
Works with the AI Agents you already use
EMA+RSI Backtester| MT5 Signal Bot 01
Backtest EMA crossover and RSI strategies on CSV price data with ATR-based risk management.
$7
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
EMA+RSI Backtester| MT5 Signal Bot 01
Example session with this skill installed
Backtest the default EMA 9/21 strategy on eur_usd_h1.csv with a 0.0002 spread. I want to see if the 1:2 reward ratio actually holds up over the last 1000 bars.
- Read your context and instructions
- Compiled the ema+rsi backtester
- Generated the data export
I have completed the backtest for the EMA crossover strategy on eur_usd_h1.csv. The results show a strategy that captures trends well but struggles during the consolidation period observed in the middle of the dataset.
Backtest Results: EMA 9/21 + RSI Confirmation
| Metric | Value |
|---|---|
| Net Profit (R) | +4.50 R |
| Total Trades | 42 |
| Win Rate | 38.1% |
| Profit Factor | 1.32 |
| Max Drawdown | -3.00 R |
| Avg. Trade | +0.11 R |
| Longest Losing Streak | 5 trades |
| Spread Applied | 0.0002 |
The strategy finished in profit despite a win rate under 40% because the 1:2 reward-to-risk ratio (3x ATR TP / 1.5x ATR SL) ensured that winning trades significantly outweighed losers. With 42 trades, this sample is large enough to show basic viability, though it only covers one market regime. The long-only trades performed significantly better (+5.2 R) than short trades (-0.7 R), suggesting a bullish bias in the underlying data.
Next steps
- Run a comparison using
--long-onlyto see if removing short signals improves the profit factor. - Test a wider stop-loss by setting
--sl-atr 2.0to see if it prevents getting stopped out during minor retracements. - Upload a different timeframe (e.g., M15) to verify if the strategy maintains its edge on lower intervals.
eur_usd_h1.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
Stop guessing if your strategy works and start testing it against historical reality. This skill evaluates EMA crossover systems with RSI filters and ATR-based risk management directly from your price data exports. It identifies whether a specific rule set would have survived different market regimes without the need for manual charting or complex backtesting software.
What it does
- Multi-instrument testing processes CSV price data from Forex, Gold, Crypto, or Stocks.
- Strategy execution simulates entries on EMA 9/21 crossovers confirmed by RSI thresholds.
- Risk modeling applies dynamic stop-losses and take-profits based on Average True Range (ATR) volatility.
- Performance reporting calculates win rates, profit factors, R-multiples, and maximum drawdown.
- Statistical analysis identifies losing streaks and compares long versus short performance lopsidedness.
How it works
- Provide a CSV file containing
time,open,high,low, andclosecolumns from your broker or TradingView. - Define your parameters or use defaults like the 1:2 risk/reward ratio with 1.5x ATR stops.
- Run the backtest script to process every bar and simulate trade execution without look-ahead bias.
- Review the plain-language explanation of the results and the statistical reliability of the sample size.
Frameworks & tools
Built with standard-library Python for zero-dependency execution. Optimized for data exports from MetaTrader 5, TradingView, and standard broker CSV downloads.
Why this beats prompting it yourself
Standard LLMs cannot accurately calculate rolling EMAs or ATR volatility over thousands of data points without making calculation errors. This skill uses a logic-gated Python engine to ensure every pip and R-multiple is calculated with mathematical precision.
Use cases
- Validate if an EMA crossover strategy is viable before trading a demo account.
- Optimize RSI filters to reduce false signals in trending markets.
- Compare how widening an ATR stop-loss impacts total drawdown.
- Audit the historical performance of "expert" strategies found online.
Known limitations
Assumes fills at exact SL/TP prices without modeling slippage or price gaps. Does not account for overnight swap fees, commissions, or variable spreads unless manually approximated via the spread flag.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Software
python 3.10+
This is an offline historical strategy backtester, not an automated trading system. It analyses user-provided OHLC CSV files using EMA crossover, RSI confirmation and ATR-based risk management. The included example dataset is synthetic and intended only for demonstrating functionality.
Permissions
What's inside
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.