I just discovered an error when decoding base64 code after updating the terminal (in previous versions this error was not encountered) string Base64Encode( string text) { uchar src[], dst[], key[] = {}; StringToCharArray (text, src, 0 , - 1 , CP_UTF8 ); ArrayResize (src, ArraySize (src) - 1 );
Subject: Gold BOT on MT5 Hi everyone in the MQL5 community, I’m currently developing an Expert Advisor (EA) called ConvexCap GoldBot for MetaTrader 5 (MT5), specifically tailored for trading XAUUSD (gold). The goal is to create an automated scalping strategy that capitalizes on gold’s high
Hi I am new to MT4/MT5 and I'm trying to backtest some EAs. There are a couple EAs I've tested that will place trades like the <Deleted> bot but I tried 4-5 others and they all fail to place any trades. I noticed in the journal that the bots do not initiate any buy trades but has many sell trades
I've looked for any documentation on what's under the hood of this function with no luck so far. I'm trying to calculate required margin for upcoming positions, and OrderCalcMargin() gives me a different value than the standard calcuation that I'm digging up everwhere else on the web. I'm currently
[Deleted]
Assuming there is a stable and verified live trading record, what is the typical price range for high-end Expert Advisors? Would it be advisable to start with a lower price to gain user reviews and credibility, and then gradually increase the price over time
I want to get the position ID of a trade right after opening it, but it always returns 0 . Here is the code I’m using: if (trade.Sell(volume, symbol, 0 , sl, tp)) { ulong order_ticket = trade.ResultOrder(); // Trying to get the position ID ulong pos_id = HistoryDealGetInteger (order_ticket
MT5 Backtest is not working it stuck after backtest and don't print the report.( after backtest i waited for 1 hrs but it is not printing report) mt5 backtest is not working it is not printing the report, it stuck at last and not print report, pls resolve this issue as you can asee backtest is
Hello, can you help me write this EA for MT5? If the previous candle is a BUY candle, then open a BUY. If the previous candle is a SELL candle, then open a SELL. If there is an existing position that matches the logic => keep it, do not open a new one. If there is no position that matches the logic
I want to create a robot (expert in MetaEditor) but I have a question: Does my laptop need to be on when the expert is working? For example if a robot wants to work for 5 hours, should the computer be turn on for 5 hours
Hello. I have simulate in my EA situation when program place pending order and when price going to hit it, in account no money for execution order, so I get information from server : 2026.02.28 17:12:44.096 2024.10.23 19:31:28 current account state: Balance: 1000.00, Credit: 0.00, Commission: 0.00
Hi. I want to do optimization of many of my strategies of MT5. But For my Windows PC, it is taking a lot of time plus I must keep PC ON for 24*7 (+Electricity Cost). Instead of that I am planning to buy Ubuntu VPS and install MT5 in that and start optimization, So I don’t have to keep my pc ON all
can i re-assign a product purchased to anothert MT5 account since it met the 5 activations limit?
(2)
I purchased an indicator and has 5 activations. In my tests I used the 5 activations in demo accounts. Now I need to remove one or 2 of these activations since the demo accounts have been closed and put it in a real account. How can I do this
Hi everyone 👋 I am looking for a profitable EA 📈 regardless of the strategy.Please make me some suggestions.Thanks in advance
I setted with AI a small routine Open 3 position at 0.01 same time Open a pop up to insert SL Same for all positions Tp1 Tp2 Tp3 Apply button At tp1 first position automatically close and bring tp2 and tp3 at BE + or - offset 0.20 price of entrance The problem is that this last part doesnt work SL
I set myself a task: to demonstrate the capabilities of custom graphics via CCanvas class in a short code. Here's what came out of it. This script works in both MQL5 and MQL4. But it is much faster on MT5. Each frame is unique and does not repeat, i.e. the script is not cyclic. #include
Hi, I noticed that calling ChartApplyTemplate() on a different chart seems to close the EA properties dialog on the current chart. Steps to reproduce: 1. Attach the test EA (code below) to Chart A 2. Open the EA properties dialog on Chart A within 20 seconds 3. The EA opens a new EURUSD chart
Hey guys, I am struggling with coding a trailing stop loss in my EA in MQL5. Could anyone please help me? I would be extremely grateful. Thanks in advance, Martin //+------------------------------------------------------------------+//| MACD crossing the Signal line//| WORKING ON Trailing Stop Loss...
Hey All. I have been coding for 4 days straight. Working on a new Tool that I am planning to release soon. I got stuck with one major problem - How the h** we can get the EA loaded as a seperate Window. What I already know : - Yes we need to 2 seperate files Indicator file : emptydashboard.mq5 and
Hello everyone. I am new with programming Expert Advisors (EA), in my research I found that in Meta Editor there is a wizard function, which allow the user to create an EA with some predefined parameters, with this some questions came up to my mind. -Wizard's EA compile perfectly once the parameters
Hi, this is an example code that is working correctly in terminal, but it is not working in stratey tester. It give me error 4004 on CopyTicks call, but if i code it whitout "while" it is working correctly. Can someone explain me the reason, please? ulong last_tick_time = 1 ; int to_copy = 2000 ;
THE CASE DESCRIPTION I am running a lot of MT5 instances on one PC in order to test all the EAs on demo accounts before they go live. Because I need more than one instance of MT5 terminal on one PC, I am running them in portable mode. I have noticed also, that the newer versions of MT5 are
Anyone who can assist me with a free python bridge that links mt4 and python so that l can establish comms btwn the two and test my EA
Hello, I have q. Can i run 2 ea at the same time ? and 1 one will effect on the other.... I mean i have ea that use hedging strategy but the i have SL 130 error so it does not take SL right. Is there a way i could run 2 ea that will make SL to my robot ? Maybe U see another way to do it ? I have
Hello everyone and MetaQuotes Support, I am writing to express my severe frustration and disappointment as an EA developer. I have been developing a professional trading panel for a long time, and the recent rapid-fire updates are making development unsustainable. Before the January 30th update
Hey everyone, I’ve spent the last 8 months trying to build a profitable Expert Advisor (EA), and honestly, I’m starting to lose hope. I’ve developed multiple EAs during this time - some showed great results on a single pair, but as soon as I tested them on other pairs (even after optimization), they
I am trying to login to Metatrader account and I have been receiving this error code. Please see code below; I first import necessary libraries and initialize which works fine from datetime import datetime import MetaTrader5 as mt5 mt5.initialize() But when I try to log in using the below code, I
Hello, i have error invalid stops. How can i fix by myself, i dont know coding.... Is there a way ? best regards
[Deleted]
Hello, How to do, let say EA usually take 10 ms and i want to set if EA taking more than 20ms during onTick operation exit/break whole operation in middle and start again in next tick
[Deleted]
Hello, I have built an multiTimeframe and MultiSymbol EA. For example, i am using Moving Average, it create handle for all the selected symbols and timeframe. 1. Sometime Due to Moving Average full EA get stuck 2. Sometime CopyBuffer get failed and return 0 (for all indicators) 3. When i deinit and
Hello, I've had issues using multicurrency EAs on MQL5 VPS. It looks like the EA cannot place orders on other symbols - even if the corresponding charts are open when I sync. Do you know how to solve this
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.