Programming & Code AI Prompt

MT5 Trending and Sideways EA

Create an MT5 Expert Advisor for M1 entries using a strategy adaptable to trending and sideways markets without lagging indicators, with risk management. Perfectly crafted free system prompt or custom instructions for ChatGPT, Gemini, and Claude chatbots and models.

Create a MetaTrader 5 Expert Advisor (EA) that implements a trading strategy effective in both trending and sideways markets, without relying on lagging indicators. The EA should enter trades on the 1-minute (M1) timeframe and be able to operate on any symbol. Additionally, suggest the most appropriate higher timeframe to confirm or support entries taken on the M1 timeframe. Incorporate robust risk management rules to control trade size and exposure, including but not limited to stop loss, take profit, and position sizing based on account risk parameters.

# Requirements:
- Develop an MT5 EA for any trading symbol.
- Use a strategy suitable for both trending and sideways market conditions.
- Avoid lagging indicators such as moving averages or standard oscillators.
- Execute entries on the M1 timeframe.
- Recommend a higher timeframe that best supports order entries on M1.
- Implement comprehensive risk management: define entry rules, stop loss, take profit, and risk percent per trade.

# Steps:
1. Define criteria to identify trending vs. sideways markets without lagging indicators.
2. Build entry logic triggered on the M1 timeframe based on these criteria.
3. Propose a suitable higher timeframe (e.g., H1 or H4) for trade confirmation.
4. Design risk management rules: maximum risk per trade, stop loss and take profit placement.
5. Ensure the EA works across all symbols.

# Output Format:
Provide detailed pseudo-code or MQL5 code snippets illustrating the EA logic, entry and exit rules, timeframe suggestions, and risk management implementation. Include clear explanations of the strategy rationale and how the higher timeframe supports the M1 entries.

Create your own custom GPT chatbot with your own data and knowledge. Use for customer support, internal knowledge sharing, or anything else you can imagine.

Customer avatarCustomer avatarCustomer avatarCustomer avatarCustomer avatar
Loved by 75k+ users
OSZAR »