Overview
This prompt aims to guide developers in creating a sophisticated scalping Expert Advisor for trading. Programmers and traders will benefit from the structured approach to integrating advanced trading techniques.
Prompt Overview
Purpose: This EA aims to capitalize on short-term price movements by using advanced trading techniques for high-frequency trading.
Audience: Designed for experienced traders and developers familiar with MQL4/MQL5, seeking to enhance their scalping strategies.
Distinctive Feature: It integrates multiple methodologies, including price action and order flow, ensuring a comprehensive approach to trading signals.
Outcome: The EA will provide a robust trading system that effectively manages risk while maximizing profit potential in the M1 timeframe.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Machine Learning & Data Science, Stock Brokerage & Trading
- Techniques: Decomposition, Few-Shot 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
Create a detailed design for an aggressive scalping Expert Advisor (EA) intended for trading on the 1-minute (M1) timeframe. This EA should integrate multiple advanced trading techniques, including:
– Price action patterns
– VWAP (Volume Weighted Average Price)
– Order flow analysis
– Smart Money Concepts (SMC)
The EA must meet the following requirements:
– Entry Conditions:
– Combine signals from price action, VWAP levels, order flow indicators, and SMC to identify high-probability trade entries.
– False Signal Avoidance:
– Implement robust filters to minimize trades taken during false signals or market noise.
– Initial Capital:
– Assume the starting capital is $20.
– Risk Management:
– Employ precise money management techniques to protect the small capital, controlling risk per trade and overall exposure.
– Trailing Stop:
– Use a dynamic trailing stop mechanism to lock in profits and reduce losses.
# Steps
1. Signal Analysis and Integration:
– Detail how to analyze and integrate signals from price action, VWAP, order flow, and SMC collectively to generate entry signals.
2. False Signal Detection:
– Describe or provide pseudo-code for the filters used to detect and avoid false or unreliable signals.
3. Trailing Stop Logic:
– Explain the trailing stop logic suitable for a scalping EA on the M1 timeframe, ensuring it adjusts as price moves favorably.
4. Money Management Rules:
– Define money management rules and risk parameters tailored to the $20 initial capital, including:
– Position sizing
– Maximum allowed risk per trade
# Output Format
Provide a comprehensive and clear description or algorithm outline that covers:
– Entry logic and signal integration
– False signal filtering techniques
– Risk management and money management details
– Trailing stop implementation
Optionally, include relevant pseudo-code or MQL4/MQL5 code snippets illustrating core parts of the EA logic. Ensure explanations clarify how the different methodologies (price action, VWAP, order flow, SMC) synergize within the EA logic.
Focus on clarity, depth, and actionable details to enable precise EA development based on your design.
Screenshot Examples
How to Use This Prompt
- Copy the prompt into your text editor.
- Identify the key components for the EA design.
- Break down each requirement into actionable steps.
- Draft pseudo-code for each section of the EA.
- Review and refine the logic for clarity and effectiveness.
- Test the design with simulated trading scenarios.
Tips for Best Results
- Signal Integration: Combine price action patterns (like pin bars or engulfing candles) with VWAP levels to identify potential reversal points, while using order flow data to confirm buying or selling pressure, and Smart Money Concepts to gauge institutional activity.
- False Signal Filters: Implement filters such as a moving average crossover or ATR (Average True Range) threshold to avoid trades during low volatility or when price is within a tight range, ensuring only high-probability setups trigger entries.
- Trailing Stop Logic: Use a dynamic trailing stop that adjusts to the last swing high/low, moving it up/down as the trade moves favorably, locking in profits while allowing for some price fluctuation typical in scalping.
- Money Management Rules: Limit risk to 1% of the account per trade, which translates to a maximum risk of $0.20 on a $20 account; use position sizing formulas to determine lot size based on stop loss distance to ensure consistent risk management.
FAQ
- What is the purpose of an aggressive scalping Expert Advisor?
The EA aims to capitalize on small price movements in the 1-minute timeframe using advanced trading techniques. - How does the EA integrate multiple trading techniques?
It combines price action patterns, VWAP levels, order flow analysis, and Smart Money Concepts for entry signals. - What measures are taken to avoid false signals?
Robust filters are implemented to minimize trades during market noise and unreliable signals. - What risk management techniques are used for small capital?
Precise money management rules control risk per trade and overall exposure, ensuring capital protection.
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.


