Spezifikation
1. *Trading Strategy*: - The EA must be capable of trading on breakout signals. - It should implement scalp trading techniques when a trend is identified. - The EA should automatically take profit on a new breakout signal.
2. *Trade Entry*: - Define the criteria for a "breakout signal" that will trigger an entry. This could include parameters such as a percentage move beyond a resistance or support level, a specific volume increase, etc. - Specify the conditions that confirm a trend for scalping purposes. This might include moving average crossovers, price staying above a certain moving average, etc.
3. *Trade Exit*: - Set clear take profit conditions for breakout trades. - Define the stop loss strategy to manage risk, including trailing stops if applicable. - Provide conditions for exiting a scalp trade, such as a reversal pattern or the end of a trend indication.
4. *Risk Management*: - Determine the maximum risk per trade as a percentage of the account balance or as a fixed dollar amount. - Establish rules for maximum exposure at any given time. - Include any drawdown limits where the EA should stop trading to prevent further losses.
5. *Money Management*: - Indicate how the EA should calculate the position size (lot size) for each trade. - Decide if the EA should use a martingale, anti-martingale, or any other position sizing strategy.
6. *Time Frame and Instruments*: - Specify the time frames on which the EA will operate (e.g., 1H, 4H, Daily). - List the currency pairs or other instruments the EA should trade.
7. *Indicators and Parameters*: - List all technical indicators the EA should use, with their respective parameter settings. - Provide a clear definition for the breakout and trend confirmation indicators.
8. *Backtesting and Optimization*: - The EA should be backtestable with historical data. - Include requirements for optimization procedures for the EA to fine-tune its parameters.
9. *Execution Speed*: - Define the acceptable delay between signal generation and order execution. - If applicable, specify the need for high-frequency trading capabilities.
10. *Notifications and Reporting*: - The EA should include real-time notifications (e.g., email, SMS) for trade entries and exits. - It should provide daily/weekly/monthly reports summarizing the trading performance.
11. *Platform Compatibility*: - Confirm the trading platform for which the EA is being developed (e.g., MetaTrader 4, MetaTrader 5, cTrader).
12. *Testing and Validation*: - Describe the testing procedures the EA must undergo before being considered ready for live trading. - Specify the validation criteria that the EA must meet.
13. *Support and Updates*: - Outline the expected support terms, including how bug fixes will be handled and the process for future updates.
14. *Documentation and Comments*: - Require comprehensive documentation that explains the EA’s logic, settings, and operational requirements. - The code should be well-commented to facilitate future modifications. Absolutely, adding to the list:
15. *Error Handling*: - The EA must include robust error handling to check and correctly process potential errors during trading operations. - Error handling should cover issues such as connectivity losses, order submission failures, and any platform-specific errors. - The EA should have a retry mechanism for order submissions if the first attempt fails due to a temporary issue. - Include clear logging of any errors encountered to assist with troubleshooting and ensuring transparency.
16. *Input Parameters for Lot Size*: - The number of lots to trade should be an adjustable input parameter, allowing the user to set their preferred trading volume. - The input parameter should accommodate different account sizes and risk preferences, with the ability to set fixed or dynamic lot sizes based on account equity or balance. - Ensure that the input for the lot size adheres to the broker's minimum and maximum trade size restrictions and increments.
17. *Profit Target*: - The EA should aim for a daily profit target of 1%-2% per day. - This goal should be considered when setting the default values for risk management and money management parameters. - The trading strategy should be optimized to achieve this target while trading the XAU/USD pair specifically, taking into account the unique characteristics and volatility of gold trading.
18. *Instrument Specifics*: - The EA must be tailored for the XAU/USD pair, considering its liquidity, spread, and typical daily range. - The strategy needs to account for times of increased volatility specific to the gold market, such as economic news releases that affect precious metal prices. - The EA should be optimized during various market conditions (trending, range-bound, high volatility) historically observed in the XAU/USD market.