Simple algorithm robot MQL5

Trabajo finalizado

Plazo de ejecución 23 horas
Comentario del Cliente
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.
Comentario del Ejecutor
Clear specifications for the project and swift communication. Looking forward to future collaborations.

Tarea técnica

 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.

Archivos adjuntos:

PNG
expl.png
50.8 Kb

Han respondido

1
Desarrollador 1
Evaluación
(12)
Proyectos
9
33%
Arbitraje
11
0% / 100%
Caducado
2
22%
Libre
2
Desarrollador 2
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
Ha publicado: 27 artículos
4
Desarrollador 4
Evaluación
(11)
Proyectos
18
28%
Arbitraje
4
50% / 50%
Caducado
1
6%
Libre
5
Desarrollador 5
Evaluación
(618)
Proyectos
1429
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
6
Desarrollador 6
Evaluación
(158)
Proyectos
201
60%
Arbitraje
10
80% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
Solicitudes similares
I own the premium Forex/trading domain SignalsForex.com and I am looking for a person who can help find a serious buyer. The domain is suitable for: Forex signals services Trading education projects Broker affiliate websites Forex lead generation Trading communities Telegram/Discord signal brands Financial marketing projects Target sale price: $7,500+ Commission: 10% of the final sale price after the deal is
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1 30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Platform: MT5 (MQL5) OVERVIEW: I need a custom MT5 indicator that generates only high-probability A+ buy and sell signals. The indicator should combine market structure, support/resistance, liquidity sweeps, candlestick confirmations, session filtering, and Fibonacci retracement logic. FEATURES REQUIRED: SUPPORT & RESISTANCE Automatically detect and draw support and resistance levels. Levels should update
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
i want a developer to build me a robot according to mt style i want an engine which is going to trade gold with small accounts, i want it to be perfect or any developer who has that existing robot we can negoiate the price
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Description: I am looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for MT5 tailored for Prop Firm challenges and funded accounts. I need a robust, plug-and-play solution with rigorous risk controls. Key Requirements: Platform: MT5 Trading Logic: I am looking for a reliable strategy based either on a Breakout Strategy (e.g., London session breakout) or a Mean Reversion Strategy
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA

Información sobre el proyecto

Presupuesto
30+ USD