In this article, https://www.mql5.com/en/articles/1492, the author present the following method of computing Z-Score. Z=(N*(R-0.5)-P)/((P*(P-N))/(N-1))^(1/2) where: N - total amount of trades in a series; R - total amount of series of profitable and losing trades; P = 2*W*L; W - total amount of...
Hey everone, can someone please help me. I downloaded the mt4 platform yesterday and it was working fine and I got a litle bit profit too. but today when I opened mt4 platform again everything freezed like the charts and popup prices too and I have spent so many hours to solve it but nothing is
Hi, Apologies if this has been asked. Looking at MT4, Market Watch window, I see the US500 has a Swap Long of -7. How is this used to calculate the swap rate in dollars with an account in AUD? What are the calculation Steps? Thanks
This is a very simple practice indicator, with minimal code. I drag it to BTCUSD 15m chart and I get "array out of range" error. Why is it so and what is the workaround? //+------------------------------------------------------------------+ //|
Hello experts, I need your advise to understand why OnCalculate doesnt work in my EA. I have the following compilation warning " OnCalculate function declared with wrong type or/and parameters" and the print statements always return 0 when EA is running. 2023.02.08 15:10:22.523 TestOnCalculate
Hello! I’ve been working on my EA for the past several months. Today, I finally reached the stage where I can start using the Strategy Tester. Unfortunately, I encountered an error. Since I am fairly new to trading commands, I searched the forum for general advice. Thanks to the courtesy of several
Hello! I’ve been working on my EA for the past couple of months. Since I coded an option to test historical data as far back as I wanted, I never really needed to use the Strategy Tester. However, now that I’m preparing to run my EA on a demo account, I wanted to test it in the Strategy Tester as
Hello,
Currently I plot some long-term trendlines which I require to move, though I need to keep the same angles - this is important. And I need to move and see them across differing timeframes.
The problem I have at the moment is to move a trendline, you need to double click it and move it by the...
I am getting an EX4 Write Error on every piece of code I try to compile in the MetaEditor. Based on research via g*** here is what I have done so far, that did not fix my situation: 1. I made sure that I am not affected by the folder location change that came up with 4.00/600 - https://www.mql5...
The Code File attached which i learned from MQL4 Tutorial. The Code run on Back test but unable to run in live trading. Why
Hi, I am kind of new to JSON in mql4. But i had an idea i wanted to try send some indicator data to a google docs spreadsheet. I have made the Google Apps Script, and when i send the data from postman it updates perfect in my spreadsheet so i know my problem is within MQL4. When i run my expert
Hello, Anyone knows the location of MT4's data folder for build 1417 released on 1 May 2024 ? For a M1 MacBook Thanks
Please help. I am trying to stop my robot from entering two trades at once. Below is a simplified block diagram of what I am trying to accomplish, as well as the code I am using. The code doesn’t work. What am I doing wrong? Is it the use of a return (0) that is wrong? If so, why? Do I need to do...
Hi I'm using Mt4 demo and the charts keep resetting to EURUSD everyday. I save the profile and that keeps on getting deleted. Any solutions
Hello, please assist. my mt4 terminal does not respond, it does not show charts but only displays" WAITING FOR UPDATES". IT does not respond to commands. it is frozen. When the network is off the terminal knobs respond but with no chart display and no symbol data. 2025.01 .09 00 : 18 : 26.218 Data
Sir I have an account with [redacted] and download Meta4 from their site. i use Meta4 since 2 years. But from last week I face problem in accessing MACD value display in window. The value Change and display in three digits. Pic Attached. i am not able to understand it
I am having a little trouble with my EA, it performs well beyond what I would have imagined when I have back tested in MT4. Once in a demo account with a high amount on funds it can go either way, in one it performed very well and in another it lost a lot. I am now going mad trying to work out where
So I'm new with MT4 and for that matter to forex trading . Today I was trying to do back testing with some EAs. What I've noticed that for some reason the back testing is not working if I use 1 minute period. It only works on 15 minute period. I tried to download historical data from in csv format
hey there, i want to buy [redacted] MT4 but both paypal and Visa give me an error and won't allow me to buy? any advice? thank you
Hello , this EA is shwoing great result but i am sure that it needs some tuching tunning ( i guess playing around with its codes or adding others ) Please have a look at it i am sure it worth it - i hope so - attached is a forward test of this EA for just 5 houres or less ( when ever i get good...
Here is a step by step guide for buying, installing, testing and using a Metatrader 4 Expert Advisor (Robot, Bot are whatever): 1. First make sure that you have the necessary funds required for your purchase in your MQL5 account, its always easier to pay with your MQL5 balance, than using a credit
Hello everyone. I have this code which works perfectly for me when testing it with EURUSD.a. However, when doing it with EURUSD I get error 131. It should be noted that I use the Pepperstone broker. Thank you! //+------------------------------------------------------------------+ //|
Hi, I'm looking for a simple martingale EA that would reverse the BUY and SELL signals using the martingale method and when it hits for example BUY take profit it would start with BUY signal. For examle it would BUY 0.1 lots, stop lose, SELL 0.2 lots, SL, BUY 0.4 lots, SL, SELL 0.8 lots, TP and then...
Hi, I can't load/use my purchased and free indicators "downloaded from MQL5 Market" on my MT4 charts. I used to use them for years without problem. But I can load/use them on my VPS. What can I do in this case? Thank you
[Deleted]
I've been trying to install an indicator I purchased from the market place on MT4. The indicator shows up on purchases but when I click install, I login, then it does not install. When I go to terminal I get an error that says "MQL5 Community Authorization failed". Anyway to fix this, step by step
double OnTester () { int tester_method= 1 ; double ret= 0.0 ; if ( TesterStatistics ( STAT_MIN_MARGINLEVEL ) < 100 ) return - 1001 ; } } when compiling, there is no error, but in strategy tester the value of TesterStatistics ( STAT_MIN_MARGINLEVEL ) is always zero. does OnTester()
Hi, I have been testing this Elliot wave EA for the last 2 days. The results are good especially for the market conditions this past 48 hours. I have asked the permission of the author to post it here, the original thread can be found here
``` double Total_Current_Risk() { double res = 0 ; for ( int i = 0 ; i < OrdersTotal (); i++) { if ( OrderSelect (i, SELECT_BY_POS, MODE_TRADES) && OrderStopLoss() != 0 ) { double m_point = MarketInfo(OrderSymbol(), MODE_POINT); double m_lotstep =
I have a credit MT4 account. However my EA does not work because it seems that the way Meta has a credit allocated cannot be configured with an EA. Does anyone have experience with this
hello all I've been trying to send a webrequest from mt4 to Telegram to send a message with the minimum supported html, eg bold, some emoticons, italics via parse , parsemode2, html but all not working, I receive message 400 obviously the raw text works and all mt4 settings are correct; can someone

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.