Overview
This prompt aims to guide developers in creating an Expert Advisor for aggressive account growth in MetaTrader 5 using price action analysis. Programmers and traders seeking to automate their trading strategies will benefit from the structured plan and code snippets provided.
Prompt Overview
Purpose: The goal is to create an Expert Advisor that grows a cent account from 100 CNT to 10,000 CNT through aggressive trading.
Audience: This EA is designed for traders using MetaTrader 5 who want to leverage price action for rapid account growth.
Distinctive Feature: It employs small take profit targets and dynamic risk management tailored for the Market4You and GOLDi brokers.
Outcome: The EA will provide real-time account reporting and adapt trading strategies based on cumulative profits towards the target.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Business Communications, Consulting (Management, Strategy), Development Tools & DevOps
- Techniques: Decomposition, Plan-Then-Solve, 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
Develop an Expert Advisor (EA) logic for MetaTrader 5 (MT5) that aggressively grows a cent account from an initial balance of **100 CNT** to **10,000 CNT** by trading on the **1-minute (M1)** chart using **price action analysis**.
The EA should utilize small take profit targets per trade to minimize risk while ensuring cumulative profits meet the growth objective. It must accommodate broker and symbol specifics for **Market4You** and **GOLDi** in a cent account format. Include risk management and position sizing that effectively contributes to reaching the profit target.
Detail the following aspects:
– Price Action Signals:
– Identify signals on the M1 timeframe for trade entries and exits.
– Risk Management Techniques:
– Tailored for tight take profits with aggressive growth.
– Trade Entry and Exit Criteria:
– Include order types, stop loss, and take profit configuration.
– Account Reporting:
– Automatically display or report the current account balance/equity and the percentage of the profit target achieved during runtime.
Provide a structured plan or a sample MT5 EA code snippet illustrating the core trading logic, money management, and live reporting, with clear comments explaining each section and choice.
# Steps
1. Define Price Action Signals:
– Suitable for the M1 timeframe (e.g., pin bars, engulfing candles, inside bars).
– Outline how the EA will detect them programmatically.
2. Design Take Profit:
– Implement a small fixed or dynamic take profit based on recent price range or volatility.
3. Position Sizing Calculation:
– Based on current balance, desired risk per trade, and small profit targets.
4. Entry Rules Development:
– Triggered by confirmed price action signals.
5. Stop Loss and Take Profit Settings:
– Set stop loss close to entry to minimize loss; set take profit to a small, achievable target.
6. Cumulative Profits Tracking:
– Compare to the 10,000 CNT goal.
7. Real-Time Display or Logging:
– Current balance/equity and progress towards profit target.
# Output Format
Present:
– A concise, commented MT5 EA code snippet (in MQL5) demonstrating the above logic, OR
– A structured outline or pseudocode clarifying how each component functions and interacts.
Use clear, professional language and maintain focus on the aggressive growth objective, price action analysis, risk control, and reporting features.
# Notes
– Emphasize that the strategy focuses on frequent trades with small profits.
– Adapt risk and lot size dynamically as the account balance grows.
– Ensure broker-specific requirements and cent account considerations are addressed.
Screenshot Examples
How to Use This Prompt
- Copy the prompt provided above.
- Paste it into your coding environment or text editor.
- Modify parameters specific to your trading strategy.
- Implement the code snippet into your MetaTrader 5 platform.
- Test the EA on a demo account before live trading.
- Monitor performance and adjust settings as needed.
Tips for Best Results
- Price Action Signals: Implement detection for pin bars, engulfing candles, and inside bars on the M1 chart to trigger trades.
- Risk Management Techniques: Use a fixed risk percentage per trade (e.g., 1-2%) with tight stop losses to protect capital while aiming for small, consistent profits.
- Trade Entry and Exit Criteria: Enter trades based on confirmed price action signals, setting stop losses just below/above the last swing point and take profits at a small, predefined target.
- Account Reporting: Continuously display the current balance and percentage of the profit target achieved, updating in real-time to track progress towards the 10,000 CNT goal.
FAQ
- What is an Expert Advisor (EA) in MetaTrader 5?
An EA is an automated trading system that executes trades based on predefined criteria. - How does price action analysis work in trading?
Price action analysis involves making trading decisions based on historical price movements and patterns. - What are the key components of risk management in trading?
Key components include setting stop losses, position sizing, and defining risk per trade. - Why is cumulative profit tracking important for trading?
It helps traders monitor progress towards financial goals and adjust strategies accordingly.
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.


