# EMA+RSI Backtester| MT5 Signal Bot 01

> Backtest EMA crossover and RSI strategies on CSV price data with ATR-based risk management.

EMA+RSI Backtester| MT5 Signal Bot 01 is a subscription AI agent skill on Agensi by Fedile Ramasilo, in Data & Databases. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7/mo (subscription, cancel anytime)
- Creator: [Fedile Ramasilo](https://www.agensi.io/creators/fedile-ramasilo)
- Category: [Data & Databases](https://www.agensi.io/skills/data-databases)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ema-rsi-backtester-mt5-signal-bot-01
- Tags: database, web3, testing, trading-investing

## 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
1. Provide a CSV file containing `time`, `open`, `high`, `low`, and `close` columns from your broker or TradingView.
2. Define your parameters or use defaults like the 1:2 risk/reward ratio with 1.5x ATR stops.
3. Run the backtest script to process every bar and simulate trade execution without look-ahead bias.
4. 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.

## Requires

- 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.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the EMA+RSI Backtester| MT5 Signal Bot 01 skill from Agensi" and describe your task.
3. Subscribe on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does the MT5 backtester use

it only use plain python with nothing to install

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
