MQL5.community forex forum for traders and developers

The MetaTrader 5 platform update will be released on Thursday, October 14, 2021. The new version features the following changes: Terminal: Improved navigation in MQL5.community services. Market , Signals and VPS sections have been moved from the main platform workspace to the Navigator. The new
Hi I'm Stupid, I trade using sunton Broker. Now the broker was gone. My MT5 account is still live and there is some amount in the application. Is it possible to withdraw the funs
How to turn off this command, it continuously requires. My account has no signal. I tried every way but it still broke this error
I'm trying to log into the MQL5 community from the actual app and it tells me that I have an "Incorrect login or password". I've reset my password several times and it doesn't work. Does anyone know how to fix this
  Any benefits of VPS ?  (13   1 2)
https://www.mql5.com/en/vps?utm_source=www.mql5.com&utm_medium=display.220.366&utm_term=vps.for.signal.robot&utm_content=rent&utm_campaign=en.0005.vps.mt4 I have already got 4/5 icore5/7 computers with 8 to 16gb ram, and very reliable broadband in the U K .  Is there really any advantage ,for me ,...
I'm looking to add LegoMarket-LIVE server on signal providing , but only found LegoMarket-DEMO. Who can help to add this on list ? Thanks
  Rsi bot
How do I make an rsi bot that when it reaches 30 opens a buy order, reaches 70 closes the buy order, and immediately opens a sell order on 70, and when it reaches 30 closes the sell order, opens a buy order in 30? And repeat the process consecutively
I am currently making an EA based off my own strategy, in my strategy I have an indicator called the RSO. I can get two signals from it, one from the RSO line itself but the other is from adding a separate SMA to the RSO and looking for a cross (adding the SMA to the first indicators data). How do I
Hello, I use NY+7 brokers on multiple MT4 platforms, there are no Sunday daily bars on the charts. But why when I switch to weelky timeframe, the open date for bars becomes Sunday? E.g. currently the most recent weekly bar opens on 2021.10.10, which is Sunday. Is it fixable
Hi there, I'm new to coding/EA on Metatrader 4 I have a simple Bollinger Band /RSI EA - its generating small profits BUT the profits can go much higher if i don't have a FIXED take profit price i need the Take profit price to adjust to maximize the run QUESTIONS is there a sample code for TRAILING
I'm trying to write MQL5 code that submits a buy limit order but it always fails with "error buy stop (4756)". The code is: MqlTradeRequest request; MqlTradeResult result; MqlTradeCheckResult chkresult; ZeroMemory (result); request.action =
MQL5.community brings together millions of traders and trading robot developers from all over the world. We are committed to making our services and applications accessible to people speaking different languages. In addition to the eight available languages, we've launched the website in three more
Any new software inevitably contains bugs that are not alwayspossible to detect even under the most rigorous in-house testing. Wetherefore attach great importance to all user reports about issues inour programs and try to answer each one of them. In order to improve feedback from MetaTrader 5 end...
Hello, since I have joined copytrade with Fin888 via SamtradeFX-LIVE (MT4) server, i would like to make my main account to be copied by other traders. But when I "create signal" I cannot find the "SamtradeFX-LIVE (MT4)" at the Broker section. What's wrong with the Samtrade FX? I need some
  Can you say forex is gambling?  (80   1 2 3 4 5 ... 7 8)
Joshua Brown, vice president of investments in a renowned New York asset-management firm once said that the forex from his perspective is too risk fraught for an individual investor to engage in preferring to label forex trading as gambling with retail investors in ignorance throwing money into
What is the one and most important rule in FOREX to make one successful
Recently seen on the net .... "What if we told you there was a hamster who has been trading cryptocurrencies since June — and recently was doing better than Warren Buffett and the S&P 500?" About Mr. Goxx Mr. Goxx is a hamster living in a loving and caring environment. Unlike other hamsters, he owns
Hi guys, What is more important in your trading strategy? Risk reward (RR) or winrate percent? If we want to have huge RR then entry and SL are very tight which can cause bad winrate... On the other side we have winratio where we need to use wide SL or no SL at all) to get high winrate. I saw many
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
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
I am successfully subscribed to 2 signals from my VPS -based MT5. There is a 3rd signal I also want to subscribe to, here: My problem is, my MT5 Signals Marketplace does not list this signal. When I sort them alphabetically ( "Signal / Equity" ) it skips it. Any ideas? Do I need to (and is there a
  IS it possible ?  (2)
I use one indicator from market and coder provide me buffer value of that indicator, question is is it possible to develop expert advisor from buffer value? its for MT 5
  Reversal Magic trading system  (112   1 2 3 4 5 ... 11 12)
Does anybody know about this system. Does it work in the Forex market ??? and how reliable is it. it sounds very convincing sounds to good to be true. here is the link : check it out http://www.reversalmagic.com/
  Short-Term.....Swing Trade (Set-Ups)  (148   1 2 3 4 5 ... 14 15)
SHORT TERM TRADE SET-UPS FOR ALL ! Swing trading is actually one of the best trading styles for the beginning trader to get his or her feet wet, and still offers significant profit potential for the intermediate and advanced traders. THIS THREAD IS BEING SET UP AS REFERENCE TO WHAT IS GOING ON IN...
  Something Interesting to Read  (86   1 2 3 4 5 ... 8 9)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
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...
  Forecasting indicators  (340   1 2 3 4 5 ... 33 34)
Please find some indicators which are forecasting something. First is i-DRProjections_v.0.1. This indicator shows the support and resistance of current day forecasting on the base of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis".
By comparing strategies, scalper, swing trades, martingale or price action, which 1 would you like most
  Crypto Currencies  (11   1 2)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
  We use Bitcoin ;)  (490   1 2 3 4 5 ... 48 49)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
Hi all I'm about as new here as one can be. Both to trading and to this forum and is my first post here. Hoping I can get a answer to a question. Google hasn't been able to help. I want to know how can I calculate my lot size for opening a trade on NAS100. Is there a known formula? For forex pairs
DJIA January-March 2017 Forecast: long-term bullish; resistance level at 19,987 is the key W1 price is located above Ichimoku cloud in the bullish area of the chart: the price is on testing 19,987 resistance lkevel to above for the primary bullish market condition to be continuing. The price is...
Stock Market A To Z: 26 Names, Themes And Trends To Watch (based on the article) A is for Apple "The stock trailed the broader market in 2016, but there may be tailwinds in 2017. Tax reform may include a provision that incentivizes the company to deploy its billions in foreign cash back to...
  Trading stocks  (14   1 2)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
Hello guys! I have been observing and analyzing the various currencies, commodities and indices. I feel like the world economy is due for a crash or meltdown. What do you think
  Forecast and levels for S&P 500  (468   1 2 3 4 5 ... 46 47)
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...
Hi sorry but I'm really in the beginning ... I can't see the stock market but only currency exchange. Depends on the server where I am connected or wrong? Thank you
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
Hi, I need futures exchange data to use a volume profile indicator on MT5. I've only found a broker with futures data, but this broker gives the DAX data delayed on the demo account . Do you know if exists another broker that provides futures data on demo account with DAX real time? In the other
  Forecast and levels for Dax Index  (66   1 2 3 4 5 6 7)
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...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
I really think you guys have a fast answer to this. I've been searching for this problem in articles for hours but none especifically talks about this I made a routine that writes the trade result into a .csv file on the OnTester function. When I run the optimization using only the first core, all
I've spent a lot of time looking around at different options for writing expert advisors in C# and I can tell you with certainty that all of the available solutions are terrible. Wasting your time attempting to write expert advisors in any language besides MQL is a terrible idea. I know, you want to...
Hi everyone,  I would like to know if is that possible to program a trailing take profit.  Let me explain my logic :  The initial TP is 10 pips, if the price passed this level : the Order has to be modify with a TP at 15 pips.  Thanks in advance for your help. 
In my ea, i need to color a specific candle should it meet certain criteria. I have basic understanding of mql5. I have written the following and feel like i'm either not understanding something here or making a mistake. In the OnTick() section... double close[]; ArraySetAsSeries(close,true);
My broker's server is down this morning. And that's why MT5 doesn't work to optimize (I think). I am getting these warning messages. 2021.10.17 09:36:34.677 Network '3000028082': connection to "MyBrokerName" lost 2021.10.17 09:36:54.003 Core 1 connecting to 127.0.0.1:3000 2021.10.17
An expert structure can be made on open transactions and pending orders of retail traders. that is, the depth of the market
For example: We have an EA with a few signals among which RSI and MACD . When RSI crosses below 30, we want that event to change the weight MACD has on the algorithm for X bars. Hope its clear. P.S. I was about to ask about an event-based, state-full approach to similar problems, if there is a good
Someone is getting an "invalid ex5 file" error when trying to run a custom EA of mine. on my MT5 which is the exact same build version, there is no such error. anyone any idea
Hello, I have a VPS and many EAs active on the latter. 30$ available on my mql5 account and I would like to know if it is possible to see if the VPS server is on autorenew mode ? Thanks in advance. Stefano.
Hi everyone I would like some feedback on my code or how I can make it more efficient as it uses several conditionals and loops. I wanted to create a multicurrency news filter for when 30 minutes before and after the current time there is an important news event. For each news event I need its
I just built an EA, and was wondering if metaquotes would be able to view it when I compile it and use it for trading. If so, is there any way to hide the source code from metaquotes
hi I have mt5 setting for my trading robot but it doesn't follow the inputs! so I put hedging to true and pyramiding to off = only 1 position open at a time and reverse position will close the open one. for example trading xauusd let say buy then during this trade a sell position triggered so it
Hi all, After the new version of MT5 that changed the UI, when I tried to put the EA on the chart, this error appears invalid EX5 file (7), but it doesn't happen on all computers, I've tried it on several, some work and others not, usually this error happens when I try to load a .set in EA, if I
I am looking if this code this on mql5 boolean atLeastTwo(boolean a, boolean b, boolean c) { if ((a && b) || (b && c) || (a && c)) { return true ; } else { return false ; } } can be replaced with any of the following codes to avoid lengthy coding (a? 1 : 0 )+(b? 1 : 0
Hi Just a thought come to mind, if Bid has moved below SELL STOP Price on the very next bar, could that cause this error !!! MF 0 14:50:44.317 AKT Algo v1.0 (US30,M5) 2021.10.01 04:05:00 capitalToRisk[49.92] pRiskPerTrade[0.010] slPoints[165] optimumLot[3.000000] GE 2 14:50:44.317 Trades 2021.10.01
Hello Folks, I'm new to MQL5 , I have been trying to code the HMA of the monthly timeframe but no success, I coded it to be calculated on the current timeframe then changed the interval to PERIOD_MN1 but no success here's my code, I'd really appreciate it if someone told me what I could be doing
Hello I am a beginner in coding. I want to ask: Why when i put"input" this code dose not work? string symbols[]= { "GBPUSD" }; ENUM_TIMEFRAMES TimeFrames[]={ PERIOD_M1 , PERIOD_M2 , PERIOD_M3 , PERIOD_M4 , PERIOD_M5 , PERIOD_M6 , PERIOD_M10 , PERIOD_M12 , PERIOD_M15 , PERIOD_M20 , PERIOD_M30
Hello, gentlemen. I am looking for an indicator that is able to automatically move Stop Loss to Entry. Also, the ability to set multiple Take Profits from a single trade volume. Something very similar to the Advanced Protection found in cTrader. Does anything of this kind exist for the MT5 platform
Similar to a session indicator...but simply a horizontal line on the chart that signifies daily whatever time you have specified into the inputs. Is there anything like this out there? Would be great if it had the ability to place multiple lines in different colors in desired
I have a DLL that will return a pointer to an array of structs: struct dataSet{        //some random variables}; dataSet* RandomFunction(const int ratesTotal, const double price[]) {         //some random calculations} However, I do not know how to import this function in mql5. I have tried doing...
Please help me program this little indicator
I purchased an indicator on the website via the Marketplace. On the website I can see it in my list of purchases, and on the product page it indicates "This product already purchased." There is a link there "Install on the Terminal" that does nothing. When I go to the Market tab of the MT4 terminal
What code can be used to add text information in the following panel window? I'm a beginner coder.. thanks for your help... My idea is to add some statistic information in this screen from my indicator. I'm using the following code to start it. int OnInit () { //--- create application dialog
Hello, I downloaded a FREE indicator (MT5) on my Laptop, it works great. 2 weeks later I tried to download the same indicator on my home PC and it does not download, On the download page it says that I "already downloaded the file". So what I did next is I copied the indicator from my Win 10 Laptop
Hi, I'm having an issue with the Array out of range for line (226,36). The indicator handles are set the same with only the difference of PRICE_HIGH and PRICE_LOW. Can someone point me to where the error is? //+------------------------------------------------------------------+ //|
Hello everybody! There is this 3-10 Oscillator for MT4 which works like this: for ( int i= 0 ; i<limit; i++) ThreeTenBuffer[i]= iMA ( NULL , 0 ,FastSMA, 0 , MODE_SMA , PRICE_CLOSE ,i)- iMA ( NULL , 0 ,SlowSMA, 0 , MODE_SMA , PRICE_CLOSE ,i); //---- signal line counted in the 2nd buffer
Hello (At MQL5) When i try to input 5000 conditions in my code it gives me this error : '&&' - program is too complex After i remove some conditions then the code work perfectly How can i fix this error without removing any conditions? is mq5 is a limited conditions
if I need simple math operation: datetime dt1, dt2; int Dist; double Scale; dt2= dt1+(Dist*Scale); how to adjust datatypes to avoid the warning ? & to get the result of calculation in datetime datatype... how to adjust correctly all variables to long or to datetime ? (I suppose adjustment should be
  Tools to analyze the trades  (95   1 2 3 4 5 ... 9 10)
First of all I am using this small script (attached) created by Beluck and fixed by Igorad. To use it be sure that you have "all history" in "account history" in your Metatrader (for the right calculation).
  Everything about RSI  (1443   1 2 3 4 5 ... 144 145)
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
Trailing stop MT5 : Use protect profit after open position Author: Mr Anucha Maneeyotin
New article Combination scalping: analyzing trades from the past to increase the performance of future trades has been published: The article provides the description of the technology aimed at increasing the effectiveness of any automated trading system. It provides a brief explanation of the idea
Shved Supply and Demand : This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7. Author: Behzad Movaghar
New article How to Order a Trading Robot in MQL5 and MQL4 is published: With the launch of the "Jobs" service, the MQL5.community became an ideal place for placing orders and providing programming services. Thousands of traders and developers visit this resource on a daily basis, and can easily...
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
Identify potential Trends/Range (Pivot Points) - MT4 : This script was developed in order to help us detect if a chart is actually trending or going nowhere. Author: Forex Jarvis
RSI_Histogram_Vol: The Relative Strength Index oscillator displayed as a color histogram, using volumes. Author: Nikolay Kositsin
Gann high/low activator (oscillator) : Gann high/low activator (oscillator) Author: Mladen Rakic
New article Better Programmer(Part 02): Stop doing these 5 things to become successful MQL5 programmer has been published: This is the Must read article for anyone wanting to improve their programming career, This Article series is aimed at making you the best programmer you can possibly be no
Perfect Trend Line 2: Perfect Trend Line 2 Author: Mladen Rakic
New article Better Programmer (Part 04): How to become a faster developer has been published: Every developer wants to be able to write code faster, and being able to code faster and effective is not some kind of special ability that only a few people are born with. It's a skill that can be learned
Class CRandom: Random number generation using the 32-bit PCG generator. Author: amrali 
New article How to Test a Trading Robot Before Buying it from MQL5 Market is published: MQL5 Market allows you to test a trading robot and its features before buying it. Every Expert Advisor offered in MQL5 Market comes with a demo version that can be tested in the Strategy Tester. It is quite...
New article Visual strategy builder. Creating trading robots without programming has been published: This article presents a visual strategy builder. It is shown how any user can create trading robots and utilities without programming. Created Expert Advisors are fully functional and can be tested...
Percentage: This indicator will display current daily, weekly, and monthly percentage change. Author: Arif E. Nugroho
In MQL4, we're taught (for example) to use Time to access the array of datetimes for bars in the current period, and iTime to access the time of a bar for periods other than the one the user is currently looking at. However, in MQL5, there is no Time array, so we're forced to use iTime. This creates
Options > Charts setting are not applied, and neither is the default template
I found that MT4 can read files with FileOpen only in Files folder in MT4 terminal. Is that true? Is there any way to read files in another folder ? int FileOpen ( string filename, int mode, int delimiter=’;’)
Hi all: having trouble when trying to allow web requests for EAs. Under "Tools/Options/Expert Advisors", I expect to be able to set up a list as in the first attached picture . Instead, after I press the "+" button in the box and enter the desired URL then press Enter, the URL I entered is cleared
I have no idea what i should do to fix this can someone help me out a little with my code and explain where and how i messed up it kind of work when i'm testing it but it's not working on every trade this is the code PLEASE HELP going on 2 days i've been looking into this issue int TrailingStop=
What I want to do is to create a trendline with angle based on 2 anchor points and then find the angle using ObjectGetDouble() so it can help me do various trading tasks such as finding chart patterns. See the code below : // OnTick() event handler                void OnInit() {     // Finding 1st...
Hi, when im using the code below to return the Print, it doesnt work. when i change the code from "<" to ">" it seems to work however. Not sure why "<" doesnt work though. Any advice would be appreciated. #property copyright "Copyright 2021, MetaQuotes Software Corp." #property link
Hello, i'm new to Mql4 and although i have managed to create some basic algorithms for EAs, i am struggling with creating a particular EA for one of the strategies that i have been using for a couple months. You can find the basis of the strategy in this video: 86% Win Rate Highly Profitable Secret
  XOR in mql4  (13   1 2)
I really cant find it in reference... Is there XOR?
Hello, I'm having a problem with the shift parameter for the iMACD and iStochastic functions. I wrote a piece of code that is run at the first tick of every hour: this condition is verified by reading the current Hour() and checking if it's > than the Hour() value saved in a static variable during
How to save a high and low dynamically in order to recognize the trading range? Thanks. Giuseppe
I am creating an EA where it checks the Close[0] to either buy/close/sell. My question is because bar 0 is not fully formed yet, is the Close[0] considered as the ask/bid? Or is it only considered a Close once the bar has completed. I need to know because if it is only considered a close once the
Hi i have indicator Volume by Price but i dont know how to input and how to look at chart ,where can i find the explaination from this site .Thanks
The MetaTrader 4 platform update will be released on Friday, July 23, 2021. This version provides error fixes and platform stability improvements. The new build will be available through the Live Update system
Good day. I have this Code in my EA that uses SymbolName(index,true); and I am getting data that doesnt represent my market watch. I created a Script that uses SymbolsTotal(true) and also i get inconsistent data. Thjis is What I am getting and this is my Script