MQL5.community forex forum for traders and developers

Hello, I'd like to verify my mobile phone, however the Verification Code is not received neither by Telegram nor SMS. I tried Both Telegram & SMS, but No code has been received. I'd like to deposit funds to my MQL account, and it does not let me to do so unless I verify my phone. could you pls help
Hello everyone, I'm trying it to add the custom "ary-aind-indicator" to filter the positions that my expert will open. This indicator is very simple : it display green bars for bullish momentum, and red bars for bearish momentum. And obviously, the returned value is the bar value which is positive
The current compiler build 2170 of Metatrader 5 is acusing All my StringReplace() on MQ5 code as deprecated. warning 91: deprecated behavior, hidden method calling will be disabled in a future MQL compiler version What to do?!! What is the replacement to this function? Any ways to solve it
  Become an Author at MQL5.com!  (154   1 2 3 4 5 ... 15 16)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
Has anyone got a view on using MT4 or MT5 on the new Surface Pro x Basically I want to know if someone is using this device to trade and if it works? Thanks in advance
If called without any arguments, ChartWindowFind will always return 0 even if the indicator is dragged to a subwindow. I compiled the following code and dragged the indicator into the subwindow of the volume indicator : #property version "1.00" #property indicator_chart_window int OnInit () {
i insert my phone number so that i receive verification code as a SMS or telegram message and i attempted a lot but i did not receive any code. what should i do? or what is the problem? if any one knows the problem let me know. thanks a zillion
Hi I have already done some tests with the metatrader5 successfully, but now always comes the error message :history cache build error. Unfortunately, I have google so far no solution for the problem can find. Does anyone know how to fix the error
  Swing Trading ideas  (487   1 2 3 4 5 ... 48 49)
thread rules only daily charts any currency must Sl and TP try to explain trade reason No bickering
MetaTrader Virtual Hosting is designed for round-the-clock operation of trading robots and signal subscriptions even when your computer is turned off. A Virtual Private Server (VPS) can be rented directly from the MetaTrader platform. Our hosting service is a more efficient solution than ordinary
I am trying to set SYMBOL_VOLUME_MIN on a custom symbol but its returning ERROR 5308 I have completely checked other parameters are working fine, but only SYMBOL_VOLUME_MIN for which i am setting the value as a double, returning ERR_CUSTOM_SYMBOL_PARAMETER_ERROR 5308 so i think its a bug in system
Hello. I am trying to get my EA to write data to a file during optimization, however while optimizing it only writes the data of a single parameter set within the optimization. Is it possible to write data from all parameter sets within the optimization simultaneously
This code reproduces the bug: class C { public : C () {} C (C const &) {} C foo() const { return C(); } }; int OnInit () { C c; return INIT_SUCCEEDED ; } There are 2 workarounds for this code, you either remove the const qualifier from the method foo or create a temporary
I have been trying to dance around window 10 automatic deletion for months. I've disabled the Anti virus and all security features and yet after a period of heavy activity from the tester, the application is silently removed, no notifications or anything Any ideas what else can be done to prevent
Hi, I am trying to make a custom symbol and import data. However the only option I am getting are json files which I believe are text files. The browser isnt recognizing any txt files. How to change the option from json to csv so I can use the custom symbol. For reference, please check
Hi again, The Multiple Regression Analysis and Forecasting template provides a solid basis for identifying value drivers and forecasting time series data. While it utilises a range of commonly employed statistical measures to test the validity of the analysis, results are summarized in text for ease
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...
  Scalping system  (188   1 2 3 4 5 ... 18 19)
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
Hello everyone, Hope all is well during these time. Anyway, I would like to know anything you guys have for any strategies and patterns you might poses to help out one another. I have been studying some channels on you tube and got a hold of like the Scalping Strategy, Bat Pattern, Gartley Pattern
  Forex Correlation Theory  (42   1 2 3 4 5)
PRACTICAL USE of the Correlation Theory This article is focused on explaining how currency correlations can be used in a very practical way. Our goal is not to dive into theory or theoretical models but show how correlations can help solve practical trading-related decisions. The Forex Correlation...
I am using a Three Moving Average EA on the 4h time frame with the settings 20, 50, 200. I am getting really good results in my first two weeks of testing. Does anyone know of the long term flaws I should keep an eye out for while using such a method? Thanks
I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS
I subcribed 1 signal yesterday: <...> I see that the position on my account and provider is not same. Check Journal like the picture. Please help me how to fix it
Dear Forum users. I currently use EA for trading. I want to try using signals too what you can bought for $30 or so. Can I still use my EA beside bought Signal at same account, or I need to open new account for that
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...
Hello there I've recently read about the crossing moving average strategy and decided to take a close look on it. I further thought I could ask my questions about it here. I've seen that those beautiful long-term upward trends after the moving averages cross, that all those articles show off, are
  Harmonic Trading  (5983   1 2 3 4 5 ... 598 599)
Hello all I have tested many strategies and many other stuff but i did not found them more accurant then basic analysis of the market. i mean,the Price Patterns. 1. harmony indicators: here and here. 2. candelsticks reversal patternsis here. 3. Price Patterns: - Price Patterns (Gartley,Butterfly,Bat...
  Pattern Analyzer  (15   1 2)
Information panel with which you can test Known patterns and Generated patterns. The panel consists of three tabs: Analysis tab. Here is the analysis of Known patterns, Autosearch tab. In this tab, you can analyze the generated patterns, Settings tab. This is where you configure the parameters for...
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...
  Something Interesting to Read  (79   1 2 3 4 5 ... 7 8)
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...
  Trading stocks  (3)
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
  Trading Ideas  (1)
Crypto Currency. What is the reason for BITCOIN fall? Is it China Beijing on Tuesday ban financial institutions and payment companies to provide cryptocurrency-related transactions? Elon Musk statements about Bitcoin? Or because its a Beast of No nation? To avoid virtual e currency, stop money
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
  We use Bitcoin ;)  (483   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...
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
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...
  Forecast and levels for CAC 40  (22   1 2 3)
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...
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
The international broker has expanded its exchange trading offering. Using the multi-asset platform, traders can invest in securities of global corporations, such as Allianz, BMW, Bayer, Siemens, Heineken and Royal Dutch Shell. This addition to the previously available portfolio of US stocks, brings...
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...
  Forecast and levels for Nikkei  (36   1 2 3 4)
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 , i'm wondering if i short the bitcoin at 35000 and my target the price crush to 1 dollar , how much i'm gonna earn
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...
Why does my EA in MT4 sometimes does not close buy and sell correctly at CCI with value higher than 100. close sell and buy correctly at CCI with value lower than -100. The picture is of the backtest. The indicator on the picture is the standard CCI indicator of MT4. The indicator in the EA is
The compiler does not detect the following error and compiles the code without warnings. When I create a class like this: class MyClass { public : void MyClass() { } }; and then I want to instantiate it and forget to use the word "new" as follows. MyClass *myclass = MyClass() Compiles without
  Rare code issue  (10)
I wrote some lines using double values : double TotalPositive=PositiveLongs+PositiveShorts; double PositiveProfit=PositiveLongProfit+PositiveShortProfit; double TotalPositions=Longs+Shorts,TotalProfit=LongProfit+ShortProfit; double GlobalTarget= NormalizeDouble ((TotalPositions/ 100 )*Balance, 2 );
Hi everybody, How can i draw trend line on the strategy tester chart when my running in strategy tester Thanks
Hi, Does anyone know if there is a scalping robot available EMA MA 10 10 1m EURUSD? See attached file. If there is not, is there someone abled to develop the thing for the MQL5 trading platform . Tx, hope to heear form you Michelle
Hi, I derived my Expert from CExpert. For OrderManagement CExpert uses CExpertTrade as a member m_trade. Since I need some modifications of placing buy/sell orders, I've created my on PsExpertTrade derived from CExpertTrade. The problem now is that the main functions of CExpertTrade (Buy,Sell) are
I have been using the same robot for months successfully when suddenly this error occurred and the robot stopped trading: "OpenSellOrder:Trade disabled" Previously, there was an issue with a custom indicator which I had my coder remove. Even with the 'faulty' indicator (it was using too many
Hi, while building my robot I looked into the CExpert class. I see the Symbol-Check but there is no check for the magic_number. What am I missing ? (the Expert should only handle its own orders right?) bool CExpert::Processing( void ) { . . . //--- check if plased pending orders int total=
Hello, It is my first thread. Currently i need to copy all open position from MT4 as a master/source to send and applied it on MT5. Is it any best way to do such things? Any suggestion would be wellcome.. Thank you, Thanks in Advanced
Hello dear MQL5 devolopers please i want to program a trade copier that can automatically copy trade from one account to a remote account, I don't know where to start from . please when can i start from? My language is Python. Your reply will be highly appreciated. Regards, Tom
Hi all, I am trying to use the the Python library MetaTrader5 to elaborate the data in Python and then send an order to the metatrader5. I am not able to send an order using the function order_send(). I always receive the retcode 10013. I am struggling with this problem for days. Could someone help
1.I'm subscribed to signal provider. Yesterday, signal provider open position at MT time 14:35 & was only copied into my account 8 hours later at MT time 22.18 . Please help to avoid same incident in future (I have yet rent VPS - but so far all signals were copied few seconds after opened (all
Hi every body. what is the code for ordersend at a special time and date? for example a buy order at 11.00 am at 7/21/2021
  Problem with OrdersCount++  (11   1 2)
I wrote a simple code to test OrdersCount having (3) different trades opened: void OnTick (){ CTrade trade; for ( int s= 0 ;s< SymbolsTotal ( true );s++){ string SName= SymbolName (s, true ); if (ManageAll== false ){SName= _Symbol ;}
  News filter  (5)
Hi everyone, I would like to create a news filter so that my eas do not trade in the two previous hours at the exit of an important news and also in the next two hours. My problem is that I can't distinguish the important news (which I take in consideration) from those with little importance (I
Hello everyone Now i am making an indicator with MQL5 I tried to get the highest value of RSI in the last 100 candle like what happen in this article William Roeder 2010.09.30 01:14 #10 EN for ( int i = limit-1; i>= 0 ; i--) // Count down for one pas s RSI_Buffer[i]= iRSI ( NULL , 0
Im looking for someone who can help me to make code a forex trading system for me
[Deleted]
  Multi Timeframe Indicators  (12233   1 2 3 4 5 ... 1223 1224)
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...
Just finished testing an indicator called JCFBaux, performed pretty well as a volume indicator , espacially in my ruleset. I took data from the volume indicator and put it in a sheet and optimised it. The problem is, when I'm using this indicator while I am trading live it gives me absurd numbers
Hi, Can someone assist in creating a T3 indicator + ATR bands for MT5? Thanks
This indicator paints green and red dots immediately after the open of a candle and it shows the major and minor reversal points. I will attach screenshot, please help me find this indicator. Thanks
I am trying to make an ADXR indicator and I am using the "to_copy" method from the examples folder but it does not work correctly in my code. I think that this method (in this way) does not work with "Technical Indicators". I think so... because I have checked all the code several times. A little
Let's use MACD as an example. It has 2-3 values(1 for the MACD line; the other for the signal line; 3 if it has a histogram). I'm trying to incorporate those values into a new indicator. I figured I would need multiple buffers and SetIndexBuffer indicator calculations for the MACD indicator. Need
Hi. Newbie here. I was wondering if there is a way to filter the alerts box. I.e - set up an indicator that calls for information from the alerts box then filters it further (eg only shows alerts that are above a certain MA) then spits out a new alerts box based on this information? I have a
I have an indicator that I want to "project" ahead (using the slope of the indicator line over the last N bars). That means plotting to the right of the current (shift=0) bar. I've been looking everywhere and come up dry. The only thing I can think of is dropping a line object and keep adjusting it
  Indicator Locked  (1)
Hi Just purchased the <Deleted> Indicator, loaded on platform,seemed ok, when I tried to load it on a different chart it failed and next it disappeared from my Navigator, When I checked on my MQL5 profile next to item description and a lock
Well, I was a programmer for 23 years. I've done MUMPS, Cobol, PowerBuilder, PHP, etc, etc !! I've never used OO and I am confused as hell. I would like to copy the MACD indicator and output an Arrow when the MACD and Signal cross. Is this possible please
  CCI Woodie like  (268   1 2 3 4 5 ... 26 27)
When you double click on an indicator or drag and drop it on a chart, a property window pops up.I am wondering if we can design a custom property window other than the default one that the metatrader provides. For example, we may be inclined to remove or add some window tabs, or we may want to have
Please help me to build a void function. I want to get PRICE VARIABLE VALUE by auto-scale in MACD Sub Window, from Y =Pixel constant. Compare to Zero and subwindow bottom which I dont know to use ChartXYToTimePrice, if maybe please convert Pixel to Price value for me. Thank you so much
New article How to Become a Signals Provider for MetaTrader 4 and MetaTrader 5 is published: Do you want to offer your trading signals and make profit? Register on MQL5.com website as a Seller and specify your trading account to offer your signals to traders. Keep in mind that you can create only...
Bollinger Bands - EMA Deviation: Bollinger Bands consist of a N-period Moving Average (MA), an Upper Band at K times an N-period standard deviation above the Moving Average (MA + Kσ), and a Lower Band at K times an N-period standard deviation below the Moving Average (MA − Kσ). This version...
Donchian Fibo: Modified Donchian Channels indicator with Fibonacci levels. Author: Guilherme Santos
String Manipulation Functions : A collection of useful string manipulation functions.. Author: amrali
  Indicators: MA_BBands_YXF  (42   1 2 3 4 5)
MA_BBands_YXF: The indicator is a combination of MA channels and Bollinger Bands. Author: johnsun888
RKSIVTHI : This Expert Advisor is working fine Author: radha krishnan
Heikin Ashi Engulfing : & moving average , two rsi filters. Author: ReadyPlayerOne
Pivot_Points_Lines_v1.3 MT4 : Draws Pivot Points Formulas Author: NickBixy
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
Fractals: A Fractal is one of five indicators of Bill Williams’ trading system, which allows to detect the bottom or the top. Author: MetaQuotes Software Corp.
Classic 2 Moving Averages crossover EA: Classic and one of the most popular trading strategies. Buy when fast MA crosses slow MA from below and sell when it crosses it from above. The EA is automatically generated with Mission Automate - visual strategy builder. https://www.mql5...
New article Other classes in DoEasy library (part 72): Tracking and recording chart object parameters in the collection has been published: In this article, I will complete working with chart object classes and their collection. I will also implement auto tracking of changes in chart properties and
Clock: The indicator displays three variants of time in the chart: local, server and GMT! Fig.1 The Clock indicator Author: Nikolay Kositsin
  Scripts: Close-All  (20   1 2)
Close-All: A script to close all market positions and/or pending orders. Author: amrali
The Binary Wave: The Binary Wave returns a positive or a negative value depending on how the indicator readings are interpreted. Composite binary wave values depend on the number of individual binary waves included in it. You can "weigh" binary waves readings depending on the quality of their...
Hello, I believe I am fairly competent in coding expert advisors but coding technical indicators seem to be a whole another challenge. I have attached my code below, if anyone could point me in the right direction I would be grateful. Why isn't my custom indicator showing when I apply it to the
Hi All, I am currently new to MT4 and I want to compute for the pips with minimal hard coding. When coding for currency AUDCHF, I get the following info from MarketInfo(): 1. Lot Size = 100000 2. Tick Value = 1.089... 3. Tick Size = 1e-05 What I want to do is that I have an integer pip value that I
hi below code is export data from mt4 to txt or csv , (1) i want to have all number in 5 digit , now when last number is 0 its donot write it exmpale it write 1.22320 --> 1.2232 ? And also (2) how to make to get 200000 candle info or more candle? and one more quastion (3) right now when the file is
Hi everybody, I wrote the following code to get the indexes from the LSMA indicator on the current bar: index0=iCustom(NULL,0,"LSMA in Color",34,1500,0,0); index1=iCustom(NULL,0,"LSMA in Color",34,1500,1,0); index2=iCustom(NULL,0,"LSMA in Color",34,1500,2,0); but it always give me the same value for...
[Deleted]
hello everybody im looking for a method to save chart data : date; time; open price; close price; and also indicators data Does anyone here know if it's possible to export indicator data from MT4 to a text or CSV file thx a lot ;)
Why does my EA in MT4 sometimes does not close sell and buy correctly at CCI with value lower then -100 close buy and sell correctly at CCI with value higher then 100 ? The CCI shown in the picture is just the standard CCI in MT4 that I saved as a template to use in a backtest. The CCI used in the
Hi, guys i'm working Trailingstoploss function that i would like it to be 2 step trailng system. This how it should works. Let say it's OP_BUY OrderOpenPrice = 1.0000 Stoploss = 0.0010 // 10 pip OrderStopLoss = 0.9990 ; Trailvalue = 0.0001 // 1 pip The first step trailing should be at 1.0010 or
Good evening everyone I have a short question. I'd like to send messages from an EA to my telegram. That works but I can't make a new line in the message. with the \n Does anyone know what the problem could be? message = StringFormat ( "%s %s \n Entry: %s" , orderType
Alphabetic Index of MQL4 Functions - MQL4 forum (2009.12.18 08:55) updated for Build 600+ AccountBalanceFileFindFirstIsExpertEnabledSendFTPAccountCompanyFileFindNextIsLibrariesAllowedSendMailAccountCreditFileFlushIsOptimizationSendNotificationAccountCurrencyFileGetIntegerIsStoppedSetIndexArrowAc...
I am getting this message from my broker, because I am using EA robot on my mt4 Dear Trader, You are receiving this email as your MT4 account with login number 1400056682 has exceeded 25,000 server messages and has been blocked due to hyperactivity. We kindly ask you to check the settings of your EA
  Mt4 GUI library  (4)
Hello everybody, I'm trying to find a GUI library that has the following prerequisites: most of the GUI objects in standard library , tab panels, checkbox button I'm asking this because the standard library has a few problems with checkbox click events (desynchronization between click on checkbox
Hi, I'm trying to add the "ary-aind-indicator" to my expert using the iCustom function double Val= iCustom ( Symbol (), 0 , "ary-aind-indicator" , 27 , 0 , 1 ); The indicator is very simple : green bars appears when there is a bullish momentum , and red for bearish momentum. And th indicator
Hi I want Create MultiTime Frame Indicator in mql4. My Indicator Should Show alarm when my condition occur in all time frame.(like: the Collision occur in EURUSD 5Min ) Also this condition should check on 10 symbol simultaneous. I can not find proper article, how can do this? please help
I haven't used MQL4 for a while , when i just get to use custom indicator when trying to get the method CopyBuffer , It doesnot exist among the built in functions, I guess my memory is not bad , It was there !! Is there the other way to get MLQ4 indicator buffer values
Hi :) Please could someone be so kind as to attach mobile push notifications to this MT4 indicator? Indicator is in attachment. Thank you