Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
(19644 1 2 3 4 5 ... 1964 1965)
In this thread I want to begin to help those who really want to understand and learn programming in the new MQL4 and want to easily switch to MQL5 - the languages are very similar. This blog will be a good place to discuss tasks, algorithms of their solution and any other questions concerning MT
If you have questions about MQL4, MT4, MetaTrader 4, please post in this thread. Especially when your questions are related to trading functions
The MetaTrader 4 update will be released on Friday, May 24, 2024. This version provides important security improvements, error fixes, and platform stability enhancements. The update will be available through the Live Update system
The MetaTrader 4 platform update will be released on Friday , March 1, 2024. This version provides error fixes and platform stability improvements. The update will be available through the Live Update system
This topic will discuss undocumented ways of working with the mql4 language , examples of solving certain problems. It would be desirable that this branch would be closer in content to the FAQ, than to the discussion. I suggest that all experienced programmers share their solutions and programming
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 can't isolate the reason why the values that a custom indicator that is called from my EA gives when I try to backtest the EA, are different from the values this indicator shows when I attach it to a chart. I have tried to find info about the internal processes of the tester, but I didn't have...
All lessons of Codersguru: https://www.mql5.com/en/forum/175653 Mql - Metatrader Development Course | www.metatrader.info https://www.mql5.com/en/forum/172885 All Codersguru lessons + questions/replies and so on are on this section Metatrader 4 mql 4 - Development course - Forex-TSD Book: https...
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick ? Tnx
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? //+------------------------------------------------------------------+ //|
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
I started this thread to post all news/signals indicators and EAs we have now and will have in the future.
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
Hello I have a problem on an indicator. It works on Testing chart but not on PD chart. My indicator calculates the difference between the close() and a value (named open0 in my code) which changes at certain times (beginning of the day, open hour FRA40 and open hour US30). I thought this indicator
You may have already noticed that the most interesting things now happen mainly on the MQL5.community . MQL4.com is about to be switched to the data archive mode. Only Book and Documentation sections will remain on MQL4.com by November. Besides, the entire MQL4.com Forum content is to be transferred
So my other two brokers work fine. Even changed the password with the recovery. Why would my password not work with the new broker? Yes I'm talking about the mql5 password in Mt4 Thx
I have a volume indicator I would like to share here which displays No Supply and No Demand indications when confirmed, however I would like for it to show the indications before confirmation/instead of waiting for confirmation if possible? I tried to do it myself but to be honest I am not sure how
I can't update my MT4 EA in market—Upload ex4 error—I got this error when upgrade my product!
(18 1 2)
when i try to update my EA i get this error and my metaeditor version build is in the picture: this is first time i see this error
I am learner, Iwant to know that how to solve the repeating order. Pic attached.Please give me a code
Hi I am using MT4 web terminal (as I can't download MT4 for desktop it always downloads MT5 ). The 'Navigator' window is missing - CTRL+N doe not bring this up (it opens new browser windows) and 'View' does not show Navigaot. Any ideas how to fix this? Thanks, Steve
Have EA running on MT4. Had a smiley face but with tongue sticking out. Just want to check if anyone know what does it means? Thank you
Hi,has anybody experience in setting up a Dockerfile based on Ubuntu Linux to run MetaTrader 4 through wine? I have tried it myself using wine32 to start the terminal but facing an error: WINEPREFIX=/root/.wine32 WINEARCH=win32 wine terminal.exe /protable 002a:err:seh:raise_exception Exception
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.