Simple algorithm robot MQL5

Job finished

Execution time 23 hours
Feedback from customer
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.
Feedback from employee
Clear specifications for the project and swift communication. Looking forward to future collaborations.

Specification

 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.

Files:

PNG
expl.png
50.8 Kb

Responded

1
Developer 1
Rating
(12)
Projects
9
33%
Arbitration
11
0% / 100%
Overdue
2
22%
Free
2
Developer 2
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
3
Developer 3
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
Published: 27 articles
4
Developer 4
Rating
(11)
Projects
18
28%
Arbitration
4
50% / 50%
Overdue
1
6%
Free
5
Developer 5
Rating
(617)
Projects
1427
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
6
Developer 6
Rating
(151)
Projects
189
57%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
Similar orders
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
Menga faqat XAUUSD uchun maxsus MT5 ekspert maslahatchisi kerak . MUDDAT VA DAVOMI EA M5 vaqt oralig'ida ishlaydi Faqat bitta savdo kuni mantig'i KUNDALIK ZONA MANTIQI Har bir yangi savdo kunining boshida EA FAQAT birinchi yopilgan 5 daqiqalik shamni olishi kerak . Ushbu shamning eng yuqori va eng past nuqtalari o'zgarmas qo'llab-quvvatlash/qarshilik zonasini hosil qiladi . Bu zona kun davomida siljimasligi, qayta
Indicator 130+ USD
To trade Forex and pass FTMO challenges by combining: Smart Money Concepts (SMC), RSI divergence and Strict filtering to avoid overtrading and drawdown. If you’re experienced in this let me know. Thank you very much
EA gold sniper 30 - 150 USD
I need an EA specialized for scalping XAUUSD, with short TP and SL in the range of 20–50 pips (equivalent to 2–5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion
Profitable Gold bot Requirement Able to achieve at least 5% profit per week with any type of strategy Proper risk management with SL Able to back test for at least 6 month proven result No martingale/ No grid Avoid high impact news Reward Willing to pay more if able to achieve higher profits with acceptable drawdown. (Not small reward) very welcome long term cooperation with good rewards Testing is compulsory before
SNIPER GOLD EA 50+ USD
اسكاليبنج سريع و اهداف ربح عاليه بدقه عاليه ساعات التداول من افتتاح السوق الى الساعه ٨ صباحاً ثم يغلق ويفتح تلقائياً من العصر الساعه ٦ عصراً الى الساعه ٨ صباحاً مع الحفاظ على راس المال دون استخدام تراينجل او جارد ولا يعنل وقت الاخبار ويقوم بتأمين الصفقات الرابحه بسرعه عاليه جداً والذقه في اختيار الصفقات اعتماداً على price action واقل drawdown التركيز على اوقات السيوله العاليه ادارة راس
Hello, I am looking for a good algo code for XauUSd trade any one good algo suggest me. Note:- 1. High winning rate 2. Min. 1 Year Back tested data required I pay good amount for this if any one selling this type algo
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and

Project information

Budget
30+ USD