Please create an EA

MQL5 Experts Forex

Specification

Summary: This is a trading strategy designed to generate profits through rebates. It starts by opening positions in both directions, and all positions are closed at a breakeven or slight profit level of around $0 or $1, including virtual profits (based on the set TP). After that, trades follow the trend according to the pending orders. However, if positions in both directions are open, they are closed again at around $0 or $1, as initially done. Even if the position closes at breakeven due to rebates, it results in a profit. The reason for closing positions at around $0, including rebates, when both directions are open is based on the principle that one cannot predict the market direction.

Settings:

  1. Magic Number
  2. Distance
  3. Virtual Profit per Position
  4. TP A (when positions in both directions are open) (Set in USD, up to two decimal places)
  5. TP B (when a position in one direction is open) (Set in USD, up to two decimal places)
  6. Position Total SL - True, False 6-1. If False, input the number of points at which the SL should activate, based on the second order opened after the initial Buy and Sell.
  7. Trading Time Specification (separated into Start and End times)

Process:

  1. Initially, both Sell and Buy orders are opened simultaneously. A Sell Stop is placed below the Sell order based on the set distance, and a Buy Stop is placed above the Buy order. Suppose the Sell order is opened, and all positions are closed according to TP A. (For example, there will be 1 Buy and 2 Sell positions, and the balance will close at a loss. However, due to the rebate, the loss will be near $0.) The orders are closed as soon as Buy and Sell positions are mixed, not only for three positions but also from the moment they are combined. This assumes Setting 6 is True.

After the Buy and Sell orders are opened simultaneously, if an additional order is opened and the market moves in the opposite direction, all three positions will be closed with a combined loss if Setting 6 is False (as further explained in point 4).

If closed, existing pending orders should be deleted.

  1. Once the Sell Stop is opened, a Buy Stop is placed above, and another Sell Stop is placed below, based on the Sell order. When the Sell Stop is opened, the existing orders are closed for profit (based on the set TP B). If a second Sell Stop is opened, the remaining Buy Stop is canceled, and new Buy Stop and Sell Stop orders are placed based on the set distance value.

  2. The virtual profit per order (Setting 3) is applied when Buy and Sell orders are mixed.

  3. If Setting 6 is False, both Sell and Buy orders are open simultaneously, and an additional order is opened due to the Stop. The total number of orders will be 3. For example, if the Buy order is opened, there will be 2 Buy and 1 Sell orders. If the order opened by the Stop reaches a negative of around 10 points, all three orders are closed.

  4. The initial orders (Buy & Sell) are opened based on the close of the candle on the current chart.

  5. If closed in profit, the existing Stop orders are not deleted and remain pending. They are utilized to capture further profits in line with the trend. Example: If the Buy Stop is opened, new Buy Stop and Sell Stop orders are set based on that order.

  6. The trading time is set based on the server time.

  7. Information text is needed on the chart: 8-1. Number of closed orders 8-2. Number of SL orders 8-3. Amount of SL


I will provide additional examples after making a selection.


Files:

PNG
Buy_Sell.png
187.8 Kb

Responded

1
Developer 1
Rating
(269)
Projects
338
29%
Arbitration
36
28% / 64%
Overdue
10
3%
Loaded
2
Developer 2
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
3
Developer 3
Rating
(75)
Projects
80
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
4
Developer 4
Rating
(2)
Projects
5
0%
Arbitration
3
0% / 100%
Overdue
1
20%
Working
Similar orders
I HAVE EA MT4 SOURCE TO THAT I WANT TO UPGRADE TO THE BELOW STRATEGIES EA UPGRADE ✅ Forex ✅ Gold (XAUUSD) ✅ Deriv Synthetic Indices 🧠 🏗️ SYSTEM ARCHITECTURE Your EA now has 5 CORE MODULES: 1. Market Engine Detects: Forex / Gold / Synthetic Volatility Spread 2. Strategy Engine Controls: Scalping mode Swing mode Re-entry logic Cross signal logic 3. Smart Filters Higher timeframe trend Lower timeframe conflict filter
I need a trading robot for MetaTrader 5 that works on mobile for XAUUSD. === TRADING RULES === Symbol: XAUUSD Timeframe: M15 Trading Hours: 10:00 to 18:00 server time only Buy: When 10 EMA crosses above 50 EMA Sell: When 10 EMA crosses below 50 EMA Close opposite position when new signal appears === RISK MANAGEMENT === Risk per trade: 1% of account balance Stop Loss: 300 points / $3.00 Take Profit: 600 points / $6.00
Jona copilot v12 30 - 40 USD
Hi, I'm interested in ordering an MT4 trading bot. Before we begin, could you please send me the technical specifications and requirements you'll need? Specifically, I'd like to know: - The trading strategy the bot will use. - The currency pairs or instruments it will trade. - The timeframes it supports. - Risk management features (lot sizing, stop loss, take profit, trailing stop, maximum drawdown). - Whether it
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
> "I am looking for a reliable and profitable Expert Advisor (EA) or trading robot for MetaTrader. The EA should have a proven track record, good risk management, and stable performance in live market conditions. Please share the name of the EA, a brief explanation of how its strategy works, and any relevant performance statistics or backtest reports to help me evaluate it."
We are seeking an experienced MQL4/MQL5 programmer to develop a high-performance, fully automated Expert Advisor (EA). The bot must execute a sophisticated multi-currency hedging strategy across correlated forex pairs. Key Responsibilities Develop Multi-Currency Logic : Build an EA capable of scanning and trading multiple currency pairs simultaneously from a single chart or setup. Implement Hedging Strategy : Code
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave

Project information

Budget
50+ USD