As the title says the results of my EA are significantly different in the strategy tester when the visual mode is disabled. I know this doesn't make any sense, but look at the results check the attached images to see the results. Anyone knows why this happens?? Much appreciated
Hi guys, One of my EA's implement various trading strategies and therefore I have a library of set files that constitutes a trading portfolio, i.o.w like for example 20 x different set files will be running on the same EA on one particular account. I am aware of ExpertAdd() and ExpertRemove()
Hi! I wanted to ask if someone could spot my 'logic' with regards to perfecting reversals wether bullish or bearish. Bearish reversal: High[ 1 ] > High[ 2 ] && Open[ 0 ] < Close[ 1 ] && Volume[ 0 ] > Volume[ 1 ] Bullish reversal: Low[ 1 ] < Low[ 2 ] && Open[ 0 ] > Close[ 1 ] && Volume{ 0 ] > Volume[
i want to do it via console like this, fully auto through batch console [Common] Login = xxx Password= xxxxx Server = Fxxxx DataFolder = "C:\metatrader5\mt5tester" [Tester] Expert = "4.31.45_s_gbpcad_h4_fus_wf10_8_v141.ex5" Symbol = GBPCAD Period = H4 FromDate= 2024.01 .01 ToDate = 2029.01 .01
Hello everybody As we know Windows officially support arm64 devices and also great MT5 work well But MQL5 Cloud Network Strategy Tester work only on x64 devices, can anyone help to make it work on arm64 windows11
Hi everyone, posting on another topic i want to FULLY UNDERSTAND so i can carry on in my journey 😅 I use a leveraged account with a 1:30 leverage , quite a standard one. I want to fully handle risk management aspect so I avoid or limit problems in my trading. Let me attach a screenshot of a random
Hello MQL5 Community, I am currently working on automating and troubleshooting MT5 forward testing and require the default tester.mqh file that comes with MetaTrader 5. Unfortunately, I seem to have misplaced or overwritten the original file, and I am unable to locate it in my installation. I have
Hello, please can somebody help me with this code? #include <Trade\Trade.mqh> CTrade trade; // Parametri di input input int FastEMAPeriod = 2 ; // Periodo EMA veloce input int SlowEMAPeriod = 4 ; // Periodo EMA lenta input int ATRShortPeriod = 14 ; //
Hello everyone, I hope this message finds you well. I am currently using the "MetaTrader5" Python library to obtain historical price data in a 1-minute timeframe. However, I'm facing an issue where I can only access data from the past three months. When I use the "copy_rates_range" function and
'SymbolInfoDouble' - no one of the overloads can be applied to the function call XYZ.mq5 501 9 could be one of 2 function(s) XYZ.mq5 501 9 built-in: double SymbolInfoDouble(const string,ENUM_SYMBOL_INFO_DOUBLE) XYZ.mq5 501 9 built-in: bool SymbolInfoDouble(const
I'm having a problem with my EA when it's used on higher-resolution screens (3K to 4K). The buttons appear extremely small, and the text is either overlapping or getting cut off. Here’s an example: On the other hand, there’s no issue at all on lower resolutions like 1920x1080 — everything fits
Folks, anyone know if it's possible to tile charts horizontally by an MQL5 api call or something ? alternatively, is there a way to set a hotkey for that ? thx
Struggling to have a variable value assigned and remain assigned. If(delta>=x){ Sigma=y;} But when the IF statement becomes false my sigma value loses its previously assigned valve. Anyone know the coding required
Hi. I have my robot, which I compiled without any problems. As well as the custom TDI (Trader Dynamic Index) indicator, which works fine. When the person who wrote the code sent me the .ex5 file, it worked fine. But once he provided me the .mq5 file, which I converted to .ex5 (because I needed to
I've set up a computer with 2 x e5 2683 v4 processors. Each CPU has 18 cores and 36 threads. When I installed Metatrader Tester 5, it detected that it had 32 agents. Can I add up to a total of 36 agents on the computer? Are there any limitations? In the agent list, it appears as "Intel Xeon." It
I created an EA based on the Ichimoku cloud strategy without Optimizing it, it works good on the EURUSD pair however if I used the USDCAD pair the performance is directly opposite to that of the EURUSD. is it fine to reverse my logic for the USDCAD pair , such that I enter long when I get a short
Came across this earlier and think it's pretty useful for Multi Symbol Portfolio Analysis. I've converted the code provided in this video: https://www.youtube.com/watch?v=3FV8PTikKc0 So that it dynamically measures the Value at Risk of the open trades on the Account. Note: the issue that I'm having
Hello, I have a question regarding backtesting with imported tick data in MT5. I read that with MT4, the last 2048 bars are always overwritten. If I create a custom symbol in MT5 and import my exported tick data (tick and M1) for it, and then want to view the chart, will the data be replaced with
I am getting a Unknown Critical error on line 14 while single stepping through XmlParserScript.mq5 in MetaEditor. why? How to fix? string res=xmldoc.SetXml(xml);
I'm just starting to program with MQL5 and I'm looking for a simple program to learn about trendline breakouts with price lines
Hi! I wanted to ask if someone can 'spot' me and double check if my logic is correct with regards to using a RSI to spot a market reversal by means of a using a 1minute RSI with a 14 period value. Is there any room for improvement for better accuracy? int OnInit () { RSIOneMinute = iRSI (
Hi, WHat is the replaced function of WindowExpertName() in MQL5 ? How can i get expert name in MQL5? Thanks
Hi guys anyone know why if i try to read a file ib folder file return me always zero ? #property strict input string TemplateName = "LINE" ; // Nome template (senza .tpl) input int ReadIntervalSeconds = 10 ; // Intervallo di lettura file (in secondi) string current_symbol = "" ; // Simbolo
hello everybody. I tried to create my first, simple, expert advisor to be use for XAUUSD. but when i put it into MT5 grafic, nothing happen.. it is not working. is there here someone more expert than me that can check the code and let me understand what is wrong ? thanks a lot in advance regards
Problem with Expert Advisor - Message "Auto Trading Disabled by Client" Platform: Metatrader 5 (MT5)
(1)
Dear, I am facing the following problem when using Expert Advisors (EAS) in Metatrader 5: Although automatic negotiation is globally activated ("Autotrading" button in green) and the EA is correctly configured to allow live negotiation, I get messages like this in the terminal log: CTRADE
Hi I have this code double result = NormalizeDouble (Current_Balance/ 20000 , _Digits ); When the balance is 200 $, the result is really 0.016 but the output is 0.02 !! I know that MT5 doesn't accept 0.016 as a certain volume so I'd like to set the "result" to 0.01 not 0.02. Please help me with
Is there another way to receive indicator alerts using a VPS? Is there a difference between EA alerts and indicator alerts
Folks, anyone know if it's possible to tile charts horizontally by an MQL5 api call or something ? alternatively, is there a way to set a hotkey for that ? thx
I'm getting this in weekdays and have put my codes inside if(IsTradeAllowed()) but my EA is still trying to open/close a trade I've seen some post mentioning that the broker will close their service to do something for 5 mins or so.
Folks, anyone know if it's possible to tile charts horizontally by an MQL5 api call or something ? alternatively, is there a way to set a hotkey for that ? thx
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.