MQL5.community forex forum for traders and developers
For the past few days the MQL5.com forum seems very slow - sometimes I get a "Maintenance screen" or comments simply fail to post with an endless wait. I use Google Chrome and all my other sites are responding normally - has anyone else experienced this
Rewrite MQL 4 to MQL 5 Script A script which converts MQL 4 code to MQL 5 code was developed by Keiji and Circlesquares on the MQL4 forum. First, download the following files and place them in your Metatrader 4 / experts / include folder - mt4accountinfo.mqh - mt4string.mqh - mt4datetime.mqh -...
Does anyone know the name of the MT4 version of this indicator? (in MT5 it name LT Day Hi Lo) the indicator explains the highest and lowest points of the previous period and today.. If anyone knows, please tell me the name of the indicator
I have an issue with MT5 on my dedicated server. Even though I've been using this setup with MT4 (around 45 terminals in total) for years, recently, since the beginning od the year, they keep causing machine to crash (files are being saved slower and slower until the machine has a series of errors
Recently i cannot login from my email again, i must login from the ID name that i have created at the time i made the MQL5 account My questions are: 1. How can i log in with my email again? 2. How can i change the ID to login with? Please help me Moderator Thank you
We have updated the MQL5.com Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
Guys help me out I have an account with the website but recently I can’t get access on my pc but on my phone there’s no problem
Hello, Is it not possible to place/manage pending orders with MT4/MT5 when market is closed? I am still not sure if this is a broker's or a MetaTrader 's limitation. Are there any known topics / discussions about this that can be shared? Thanks in advance
Prop Firms I have a question about prop firms. It has likely been answered before, but I have had difficulty finding clear answers. The question is, how do prop firms pay you out? I have heard that they only payout from failed challenges, I have heard that they link accounts of profitable traders to
Hello, Can this be checked in MT4/5 or in my mql5 account only? Where exactly can I check this? Thank you
Hi everyone, I hope you're all well, I'm still having trouble with the notification, can someone explain to me what this is? I have the feeling this is the first time I've seen this. Best Reguards
Hello, Can a MT4 account follow a MT5 signal? And the opposite? I not sure if MT4/5 only stands for the original (signal) account or, also for that of followers, as condition. Is there any documentation on this? Thank you
Hello everyone , I am using 1 swing candle to calculate my stoploss , sometimes my logic gives me a very small stop loss that is smaller than the spread it self . If I go with this stop loss , I would be stopped out immediately . Any idea what should I do in this case ? Thanks
Hi All, How do I delete my own EA? I only saw the option "hide" but now I do not see my own EA anymore on my profile ? Any advice? Thanks, Pej
Meta trader strategy tester on the cloud running a i7-13700k and it looks like Windows 11 is only allowing it to run only on the efficiency cores. How does one get windows to allow MetaTrader to use the performance cores? Reason I say this is because my i7-13700k has a PR rating of 185 while my
Discussion about Systems that Work in Backtest but Fail in Real Account: Why? Hello everyone, I wanted to start a discussion about systems that seem to work wonderfully in backtests but do not perform the same in a real account. I'm talking about situations where there is no overfitting involved
For instance, if you have $10,000.00 in your account, how much are you comfortable losing in a day? Is a 3% risk, which amounts to $300.00 per day, too risky
Let's think how we can automate it. If there is someone who's using this strategy, could you show key-points of it? Let's check together if the strategy is working
Hi guys, I don't have a successful strategy yet but always wondered, can not the retail brokers monitor your enteries and steal your successful strategy? if yes, how can you protect yourself and they can see all your trades? Any idea please
The way I trade breakouts is to first look for an area of resistance or support that has at least two touch points and when there is a break of this area I wait for a retest to enter. I am wondering if it would be a possible strategy to trade simple breaks of structure and changes of character the
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers
MartingaleGridHedgingScalpingNewsTrendOther ( write in comments )
SMC / ICT Concepts, Retail Trading (SnR, Trend Trading, CSPs), Fundamental Trading (News Trading), Signal Service follower, Still learning to trade
I'm trying to add indicator as resources. Many indicators had added without any problem but some indicator shows following error. cannot load '......\MQL4\Experts\SampleExpert.ex4::Indicators\SampleIndicator.ex4::Indicators\SampleIndicator.ex4' I'm assuming this is happends because
I was wondering if anyone out there could make suggestions for a strategy playbook that I could trade with. Currently, I trade using supply and demand techniques. I find a probable zone, I like there to be a gap in the impulsive move and a break of structure, I only trade with the trend and so if
This is the thread about Brainwashing system. We will start with original version of this system and will improve it later. ========== Just something about the history. There are 3 famous signals system (manual trading systems based on signal indicators): Asctrend, BrainTrend and Brainwashing. First
Fractal Wave is by far the most conformative and practical theory in the technical analysis. However, it is also most underestimated theory too. In my opinion, ironically, this important theory is less popular. Hence, I decided to bring some educational materials here in the direction of making the
Trading and training video (from youtube for example) about forex and financial market in general. thread for April 2013 - look at this thread, thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
Has anyone actually used an EA for passing their prop firm challenge and maintaining their prop firm accounts over a long period of time? If so, do you have proof? Trade history on myfxbook, for example? Thanks
Hello all, I have a few questions for anyone with knowledge and/or experience trading futures. Any input would be greatly appreciated. From experience scalping in live market conditions, how does slippage and spread compare to trading CFD in markets such as FX? Is there a notable difference, and
Hi, I have recently started learning MQL5 language and all the tutorials are only focused on Forex market. I have been trading Futures contracts(manually) with <Deleted>. So, my question is If i keep learning Mql5 language, will I be able to develop EA for Futures market(with <Deleted>)? Thank you
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
I want to demo Options board on MT5 but cant find ANY one who offers it? Where can i try the MT5 options board? Who is currently demo/ real trading with MT5 options platform? its ridiculous i cant find ANY information on how to actually do it/ who offers it. Its almost as if it doesnt exist/ noone
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
On which MT5 platform can I find the S&P 500, Nasdaq, and Dow Jones index? It's not the type of CFD, it's the real S&P 500, Nasdaq, and Dow Jones indices on the exchange
'sym' - parameter conversion not allowed. How to correct this error
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
I have recently started using MT5 and am a US resident but I am having difficulty finding a broker that supports MT5. Is there a way around this? I have heard some people using Tradingview and pine connector but looking for the best way to setup MT5 with a US broker. If anyone can help it would be
I have been trading price action for over 14 years and in this YouTube course I am sharing my most important tips and provide a step-by-step approach to mastering any price chart. ►Timestamps: 0:00 Start 2:28 Chapter 1: Candlesticks 15:37 Chapter 2: Chart Patterns 32:51 Chapter 3: Trend Analysis
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
We have Symbols like the S&P500 opening between 09:30 and 16:30, Mon-Fri. -> The Bar Rythm stays constant, because the bar rythm restarts every weekday at 9:30. We have Symbols like the EURUSD (usually) trading non-stop from monday morning till Friday night. -> The
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis "The Bank of Japan has been buying stocks for over two years now. And in September, the...
Hi everyone, In the same I want to : - Buy Limit( BuyLimit ) - Buy Market ( Buy ) - Sell Limit ( BuyLimit ) - Sell Market ( SellLimit ) Would you recommend creating 4 instantiations of the CTrade class? To better manage the different methods and avoid confusion? What do you recommend? Best
[Deleted]
Hello Members I have created Custom Indicator for %b (BB,MFI &RSI) values which is working perfectly fine. Attached jpeg for the indicator chart. I have also create a CLASS to access this custom indicator values and when try to run it in Test EA, get "cannot load indicator 'Relative Strength Index'
Hello everyone! I am making this EA that will essentially use correlations within pairs to make decisions. For my model to work I need to sort the data (skip the times that bars are generated on one pair and not in the other). I already had this "sorter" working so far and gave me not problems on
Hi, I've recently been looking to start trading with prop firms and I noticed that they usually ask that you send mq5 and ex5 files to get your EA's approved either before or after passing the challenges... Does anyone have experience navigating this because I've got many questions and concerns: 1
Hello, i am currently working on a expert advisor and i want to use a indicator which draws 2 trend line like a channel. the problem ist that i am unable to read these value with copy buffer. and now im asking if there is another way to read the values of theese two lines. im not that good in mql5
Well I am not a coder but i got some one here who coded me an EA which was working perfectly so far on demo. now when i used the same EA with same setting on another broker cent account my EA is not taking the trades as it was suppose to take. I have applied two EA on my account, one is to trades
Hello, I am new in MQL5. I am trying to get the last three bars of EURUSD. As I am writing this post, it should return the last three bars, which were on 08.12.2023. But it returns the bars from 01.12.2023. What is wrong with my code? void lastBars() { // this array will hold the last 30 bars
this the code below, the rectangle showing but background color does not show ObjectCreate ( 0 , "RECTANGLE_LABEL" , OBJ_RECTANGLE , 0 , x, fromRange, x2, toRange); ObjectSetInteger ( 0 , "RECTANGLE_LABEL" , OBJPROP_COLOR , clrYellow ); ObjectSetInteger ( 0 , "RECTANGLE_LABEL" , OBJPROP_BGCOLOR
I have a nice EA and would like to add the function where an order will close when it gets to a specific profit (dollars). I am trying OrderProfit() but have no luck in getting the EA to respond. It's pretty simple. I want to enter a dollar amount into the EA settings, and when the profit reaches
Hi, thanks for all , I want to copy the historic buy and sell prices. what can I do for that? my respects to everyone
I have successfully installed and used the MetaTrader5 package on Ubuntu without any difference on Windows. Here are the instructions. 1. Install Wine with the following command (skip if you already installed) sudo apt install wine 2. Install the MetaTrader 5 platform for Linux according to the
Dear developers, i am trying to write a hedging expert advisor and i have some strange issues with making it work properly, first let me explain the whole idea and then mention the issue: suppose LotMax = 1.0 (input box variable) it is p etty much a bot that when it hits its TP it applies some of
We have interfaces in MQL but they really don't provide much value than just using an abstract base class in my opinion. Interfaces become alive when you can inherit a class from multiple interfaces. interface IIsStringable { string ToString() const ; }; interface IIsWaitable { bool IsReady()
Hi All! Im having a problem using the strategy tester. After an update of mt5, the strategy tester is not respecting the stop loss or take profit anymore. (picture attached) The code is simple and it was working perfectly before. And it is working in real time in a demo account too. I tried...
The Balance/Equity graph in MT5 backtest report HMTL is wrong. Equity curve is missing in the generated HTML. The graph is correct in MT5 Client Terminal though. Please see the picture attached. First 2 shoe the client Terminal graph and the last one in the report HTML. Please help
hi guy, why this code didn't work : #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red input ENUM_TIMEFRAMES TimeFrame1 = PERIOD_M5 ; // Timeframe 1 input ENUM_TIMEFRAMES TimeFrame2 = PERIOD_M15 ; // Timeframe 2 input
I am currently using an indicator I found in the codebase. When it loads in the chart it displays fine (Left figure), but when I change the TimeFrame, the indicator disappear (middle figure); when I add any other indicator ,the original indicator appears with the updated change (left figure). Like
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
[Deleted]
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to plot
Hi guys, I've created a set of HLINEs on my chart, which i'm able to modify as expected. Except when it comes to opacity, it just seems to be ignored. In this example, there is no change of colour whatsoever: for ( int x= 5 ;x>= 1 ;x--) { double dhigh = iHigh ( _Symbol , PERIOD_D1 , x);
[Deleted]
Hi, I am working with MACD+stoch +Bollinger band settings. MACD (default) Bollinger band (20,2) Stoch (14,3,3) EMA 10 and a MACD cross over alert indicator. Now,the problem is, sometimes it works great,but sometimes not specially in Asian session on EUR/USD. I get lot of whipsaw,To avoid it
Hi. I've tried to find an indicator that's active or selected to no avail trying to get rid of the line chart at the bottom (see attachment). It's driving me nuts! Any suggestions please? Much appreciated
I have attached two order block scripts that I coded. Any kind soul willing to help turn it into a indicator. Am sure the community will benefit from such kindness
This is my draw function: void DrawSwingLow( datetime time_to){ string objName = "Swing Low " + TimeToString (time); if ( ObjectFind ( 0 ,objName) < 0 ){ ObjectCreate ( 0 ,objName, OBJ_TREND , 0 ,time,candleLowPrice,time_to,candleLowPrice); ObjectSetInteger ( 0
I am trying to loop through the candles to find the highest high and lowest lowest low between time A and time B. How could I go about doing this in MQL5
I want to create a custom indicator based on the signal values obtained from different indicators. I mean the signals that are defined in Modules of Trade Signals like Signals of the Oscillator Relative Vigor Index Is the value of these signals accessible and readable for the dedicated indicator? If
iCustom(symbol,0,"indicator") works only as the symbol matches the symbol of the chart. In all other cases it returns 0; Where can I find the solution
Hi Guy, I want to add MTF calculating option to a fractal indicator ; anyone can help me please? thanks
Hello. I'd love some pointers on what I might be doing wrong with this value mapping function. I want my indicator line to always scale to the chart's Y axis (as if it had its own axis). I'm sure this is a common problem and I've looked around quite a bit to find a workable solution but I'm still
Discussion of article "Graphical Interfaces I: Preparation of the Library Structure (Chapter 1)"
(1)
New article Graphical Interfaces I: Preparation of the Library Structure (Chapter 1) has been published:
This article is the beginning of another series concerning development of graphical interfaces. Currently, there is not a single code library that would allow quick and easy creation of high...
New article Expert Advisor featuring GUI: Creating the panel (part I) has been published: Despite the fact that many traders still prefer manual trading, it is hardly possible to completely avoid the automation of routine operations. The article shows an example of developing a multi-symbol signal...
Candlestick Wick Imbalance : Candlestick Wick Imbalance Author: Rajesh Kumar Nait
Strategy Checklist : This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade. Author: Carlos Oliveira
ZigZag Indicator with Extra Features:
Taking a Closer Look at the Workings of the ZigZag Indicator.
Author: Fernando Carreiro
Check out the new article: Modified Grid-Hedge EA in MQL5 (Part I): Making a Simple Hedge EA . We will be creating a simple hedge EA as a base for our more advanced Grid-Hedge EA, which will be a mixture of classic grid and classic hedge strategies. By the end of this article, you will know how to
Martingale Trade Simulator : a Simple Visual Strategy Tester / Manual Trade Training using Martingale. Author: DADALI ARWALY
AccurateTimer: Increased accuracy of the standard timer. Author: fxsaber
Martingale Trade Simulator : a Simple Visual Strategy Tester / Manual Trade Training using Martingale. Author: DADALI ARWALY
New article How to use ONNX models in MQL5 has been published: ONNX (Open Neural Network Exchange) is an open format built to represent machine learning models. In this article, we will consider how to create a CNN-LSTM model to forecast financial timeseries. We will also show how to use the created
Check out the new article: Neural networks made easy (Part 54): Using random encoder for efficient research (RE3) . Whenever we consider reinforcement learning methods, we are faced with the issue of efficiently exploring the environment. Solving this issue often leads to complication of the
Check out the new article: Developing a Replay System — Market simulation (Part 19): Necessary adjustments . Here we will prepare the ground so that if we need to add new functions to the code, this will happen smoothly and easily. The current code cannot yet cover or handle some of the things that
Engulfing bar with rsi : Alerts on engulfing bar below or above rsi levels Author: traderonemax
Check out the new article: Developing a Replay System — Market simulation (Part 18): Ticks and more ticks (II) . Obviously the current metrics are very far from the ideal time for creating a 1-minute bar. That's the first thing we are going to fix. Fixing the synchronization problem is not
New article Scraping bond yield data from the web has been published: Automate the collection of interest rate data to improve the performance of an Expert Advisor. Automated trading is based almost entirely on technical indicators that use past price action to forecast future price action. However,...
Recently, I've developed several trading strategies and found that creating a profitable one is quite challenging. One of the strategies involves numerous conditions, but I've noticed that these conditions affect the trading volume. However, relaxing these conditions results in losses instead. Below
hi everyone, I've been trying to solve this problem for days now. but it keep give me the same error "'unexpected end of program" and "'unbalanced parentheses" hope that you will spot the error and solve it thank you in advance below the code void OnTick () { // Calculate the
int OnInit () { double str_up = iCustom ( NULL , 0 ,indi_3,TimeFrame,atrPeriod,atrMultiplier, 0 , 1 ); double str_down = iCustom ( NULL , 0 ,indi_3,TimeFrame,atrPeriod,atrMultiplier, 1 , 1 ); double volumedown = iCustom ( NULL , 0 ,indi_4,MA_Period,MA_Shift,MA_Method, 0 , 1 ); double volumeup =
I just purchased an mt4 indicator and clicked to install on my mt4 terminal but it still does not turn up in the market tab after multiple attempts. I am signed in to my mql5 but still not available in my mt4. It is showing on my purchases section though on my mql5 website tab. I have restarted and
Hello guys just coded an EA but its not opening any trades in backtesting, so wondering what I did wrong here is the code below: #property strict // Input parameters input double TakeProfitPercent = 2.0 ; // Take profit as a percentage of account balance input double StopLossPercent = 1.0 ; // Stop
I want to set take profit in currency for several orders (in same direction) in the settings. Please help me to correctly calculate the price of take profit. I think something like this (but most likely it is not correct): struct STRUCT_SERIE { STRUCT_MARKET_ORDER orders[]; double breakeven;
Hello I'm looking for correct lot calculation in mql4 that solves my test as below with simple and clear explanation. We have BUY Stoploss 400*Point and Takeprofit 400*Point We Have SELL Stoploss 800*Point and Takeprofit 800*Point Risk amount will be set to 1000$ and account balance 100000$ Result
We have created a EA that seems to get the stop loss honored on Demo accounts but not on Live accounts. Please help with suggestions. This EA uses fixed stops at a set price to exit ALL trades
Hello programmers, P //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|| string Expired_com= "Demo Version HAS EXPIRED " ; bool ExpiredTime_ON= true ; int eyear= 2050 ; int emonth= 12 ; int expired_date= 31 ; //Expired Time if (ExpiredTime_ON) { if ((Year()>eyear)
[Deleted]
I apologise for digressing from the main topic of the forum. I want to write a program, but I don't know where to start. I need to read some data from a webpage and based on that data perform certain actions on that page, simply put I need a bot. Please advise who knows, in what programming language
Hi Everyone What is the simplest way to set variables in order to avoid the repetitiveness, please? (total means OrdersTotal) if (total== 1 && Bid-PriceS>HT){ ticket= OrderSend ( Symbol (),OP_SELL,Lots* 2 ,Bid, 5 , 0 ,TPS, "Original" , 0 , 0 ,Red); } if (total== 2 && Bid-PriceS>HT* 2 ){
Hello I need use of replay mode on MT4 actually I have costumized ATR indicator that shows only live result and I need replay bars and use it in the past Soft4FX is very useful but using it continuously is very time consuming for me and strategy tester in MT4 is not useful for me I need somthing
Forgive my ignorance here, but where would I need to post a development request for an update to the Metatrader Software to include an option to add a selected template to all open charts? Hope someone can help.
Greetings, I'm using MT4 with around 20 values within my EA. The optimization process typically takes over 5 days, and I'm seeking ways to expedite it. Would upgrading to a new computer with more RAM be a viable solution for this setup? I'm looking to accelerate the testing process. Any advice or
Hello everyone. I am trying to limit my EA such that it is the only active EA in MT4 terminal. I have successfully gotten all chart handles but I can't find a way to read the ExpertName for that chart only. I found a post from 2011 but the codes are unfortunately outdated and do not work. Can you

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.