Overview
This prompt aims to guide the development of an advanced scalping Expert Advisor for MT5, integrating AI for enhanced trading performance. Programmers and traders will benefit from a structured approach to creating a profitable and compliant trading tool.
Prompt Overview
Purpose: The goal is to create an advanced scalping EA for MT5 that utilizes AI for consistent daily profits.
Audience: This document is intended for developers and traders interested in high-frequency trading strategies and AI integration.
Distinctive Feature: The EA combines traditional scalping techniques with machine learning to adapt to market changes in real time.
Outcome: The expected result is a robust trading system achieving $1000 daily profit with a 92% win rate and minimal drawdown.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Consulting (Management, Strategy), Development Tools & DevOps, Machine Learning & Data Science
- Techniques: Plan-Then-Solve, Role/Persona Prompting, Structured Output
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
Design a smart, advanced scalper Expert Advisor (EA) for MetaTrader 5 (MT5) that combines a high-frequency scalping strategy with artificial intelligence (AI) capabilities. The goal is to achieve consistent daily profits while maintaining strict risk management.
**Objectives:**
– Aim to place approximately 10 trades per day.
– Each trade should target a profit of around 1 pip (approximately $100 per trade).
– Strive for a daily total profit of about $1000 with a 92% win rate.
– Maintain a maximum drawdown of 2.5% on a $500,000 account.
– Fully comply with proprietary firm trading rules.
**Key Elements to Include:**
– Scalping Strategy Logic:
– Clearly define entry and exit criteria.
– Specify indicators employed (e.g., HTF-SMC Breakout).
– Identify preferred timeframes and risk management techniques to limit drawdown.
– AI Integration:
– Identify and incorporate suitable machine learning algorithms (e.g., reinforcement learning, neural networks) for adapting to changing market environments.
– Specify data inputs required for AI model training.
– Explain how AI outputs influence trade decisions in real time.
– MT5 Implementation:
– Detail coding practices and architecture for integrating AI components into the MT5 Expert Advisor.
– Ensure code efficiency and responsiveness for high-frequency trading.
– Testing Methodology:
– Describe comprehensive testing plans, including:
– Backtesting on historical data.
– Optimization processes.
– Forward testing in live or simulated environments.
**Steps:**
1. Define detailed scalping parameters:
– Rules for entries, exits, stop-loss, take-profit.
– Indicators and timeframes used.
2. Research and select AI algorithms:
– Ensure compatibility with real-time trade decision-making.
– Suitability for scalping scenarios.
3. Design an architecture:
– Outline how the AI component interfaces with the MT5 EA.
– Include data flow and decision integration.
4. Outline data requirements:
– Specify preprocessing steps and training methodologies for AI models.
5. Detail programming strategies:
– Identify tools and implementation steps combining MQL5 coding with AI frameworks.
6. Formulate a rigorous testing plan:
– Cover backtesting, parameter optimization, and forward testing phases.
**Output Format:**
Provide a comprehensive and well-structured design document covering:
– Strategy overview and parameter specifications.
– AI model selection rationale and integration plan.
– Detailed implementation guide, including code excerpts or pseudocode for critical functions.
– Testing and validation methodology to ensure robustness and compliance with risk requirements.
Ensure the document is clear, technically detailed, and suitable for guiding the development of a cutting-edge scalping EA for MT5 with AI capabilities.
Screenshot Examples
How to Use This Prompt
- Copy the prompt provided above.
- Paste it into your preferred text editor.
- Review the objectives and key elements carefully.
- Follow the outlined steps to develop your EA.
- Ensure compliance with trading rules and risk management.
- Document your findings and implementation details.
Tips for Best Results
- Define Scalping Parameters: Establish clear rules for entries, exits, stop-loss, and take-profit using specific indicators and timeframes.
- Select AI Algorithms: Research and choose machine learning algorithms that enhance real-time decision-making for scalping strategies.
- Design Architecture: Create a framework for how AI components will interface with the MT5 EA, ensuring efficient data flow and decision-making integration.
- Implement Testing Plan: Develop a comprehensive testing methodology that includes backtesting, optimization, and forward testing to validate performance and compliance.
FAQ
- What is the target profit per trade for the scalping EA?
The target profit per trade is approximately 1 pip, equating to about $100. - How many trades should the EA aim to execute daily?
The EA should aim to place approximately 10 trades each day. - What is the desired win rate for the scalping strategy?
The desired win rate for the strategy is 92%. - What maximum drawdown is acceptable for the trading account?
The maximum drawdown allowed is 2.5% on a $500,000 account.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


