Simple algorithm robot MQL5

Tâche terminée

Temps d'exécution 23 heures
Commentaires du client
Agreed completion time of three days was done in less than a day. Not a single detail was missed. Saad left an impression of decent person and high class professional. First one to ask in future.
Commentaires de l'employé
Clear specifications for the project and swift communication. Looking forward to future collaborations.

Spécifications

 Hello Mates! I need an open source file of a very simple algorithm written in MQL5 for use on Metatrader5.
 I have quite unusual requirements for it, which I unfortunately was not able to satisfy by independently studying the topic and searching for analogues.
 The algorithm consists of the following actions: opens a market position in a preset direction with a preset position size, as well as preset Take Profit and preset Stop Loss.
No any indicators are used as a trigger - only the bot start (or maybe time preset). When closing a position by Take Profit, it repeats the first action.
When closing by Stop loss - executes the second command with same list of customizable parameters. Thus, six consecutive commands with customizable parameters each: Take Profit, Stop Loss, position size and direction.
This trading commands should follow one-by-one and only one trade can occur at a time. When Take Profit is executed on any of the trades in the queue, the bot starts from the beginning.
When a trade is closed using Stop Loss, it moves on to the next task except the sixth. The latter task number six resets the cycle to the first, regardless of the outcome of the transaction.

Robot should stop working on reaching preset of total Profit or total Loss.

  I understand that probably the biggest complexity and part of the work is that each trade out of six has its own settings and I'm going to change them often, so I need open source code (minimal comments included to see where this parameters <3) so that I can change these parameters myself.

 Also please take a look on attached picture, it might help in explanation.

Dossiers :

PNG
expl.png
50.8 Kb

Répondu

1
Développeur 1
Évaluation
(12)
Projets
9
33%
Arbitrage
11
0% / 100%
En retard
2
22%
Gratuit
2
Développeur 2
Évaluation
(64)
Projets
83
28%
Arbitrage
9
33% / 56%
En retard
9
11%
Gratuit
Publié : 1 code
3
Développeur 3
Évaluation
Projets
0
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
Publié : 27 articles
4
Développeur 4
Évaluation
(11)
Projets
18
28%
Arbitrage
4
50% / 50%
En retard
1
6%
Gratuit
5
Développeur 5
Évaluation
(618)
Projets
1429
59%
Arbitrage
31
81% / 0%
En retard
10
1%
Gratuit
6
Développeur 6
Évaluation
(160)
Projets
206
61%
Arbitrage
10
80% / 0%
En retard
0
Gratuit
Publié : 1 code
Commandes similaires
{ "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
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
1. The general process is: Automated online forex marketing to find potential clients -> Answering potential clients' questions -> Converting them into actual clients -> Opening accounts, depositing funds, and copying trades. 2. Developers could implement an AI Digital Twin/Shadow Agent to answer customer questions, eliminating the need for me to answer customer inquiries. 3. I have a CTA website and I'm manually

Informations sur le projet

Budget
30+ USD