To post a new topic, please log in or register
HI, I'm subscribed to a signal and I had an open position of 0.05 for days with that signal. Now today suddenly 0.02 of the position was closed without me doing anything or the signal changing or closing anything.  The entry in logs was: Signal - local position [] volume exceeds the signal one [],...
Hello! I'm trying to make a system based on 3 SMA. I want to take a trade if all 3 SMA are pointing in the same direction (up or down), but I'm struggling on how to represent that in a code. I thought that it might be a good idea using a % change and set a bias, so if all the values are above the...
  Expert Advsi  (2)
Trying to make an expert advisor with zigzag indicator but it is not working properly! The code is as follows.Please let me know if you have alternative solutions in mq4.  extern int StartHour = 9;extern double Lots=1;extern int TakeProfit=40;extern int StopLoss=40;input int depth=12;input int...
hello i dont Know Much About Coding, I only know some very Basic stuff (Total beginner Stuff) i found this indicator, although its not a very good indicator and it also repaint and adjust previous indicator history as the time pases but still want to study the code so can anybody Explain...
There are not contact details on the contact page therefore how do I contact support on the MQL5 website?
Hey guys, If i buy a indicator in full on this site, will the source code be available as well?
Dear Friends... The automatic system always rejects all my ID photos when applying as a seller. Does anyone know any other way to send the ID photos to be evaluated by a real person? Any support representative? I would appreciate any help that I can get.
i have remove program and restarted a number of i have attempted to use different sign on with changes to the download yet when i sign back on same chart out line occurs thanks
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...
Greetings of the day! I have an EA in which  there are too many objects. OnDeint() I am trying to save current status of all objects which is taking more than 5 seconds resulting in "Abnormal Termination". So I thought of creating a HashMap where I will be saving status of all object OnChartEvent()....
Hi, I have been thinking about to to create a thread where EA Developers/Sellers can discuss and share similar errors and their possible solution on a daily basis. Because the automatic product validation software itself gets updated like all software does, possibilities for occurring new validation...
I am trying desperately to start my arrows from right lower corner, but MQL is insisting on referring all to CORNER_LEFT_UPPER... //+------------------------------------------------------------------+//| Script program start...
Hey there I'd be very grateful if someone could be so kind as to talk me through how to use the ATR, preferably in a way that I could understand. I have watched video after video on YouTube, but I just can't for the life of me, understand how I would go about using it. I am...
Hello,I have big problem when creating in Metatrader 5 for Android new Order - I can't see total value of this order that I create (so what is the total value which I order in lots). Do you have any solution for that? 
  Become an Author at MQL5.com!  (134   1 2 3 4 5 ... 13 14)
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...
Undoubtedly, trading forex is very difficult and people try to design their own trading strategy with indicators and expert advisors. However, now for the silly question: is there any consensus on some strategies/systems (not asking about EAs) being better than others? Is there such a...
I am not a programmer, hence this question. Does the Metaquotes language code have the ability to measure a trend based on a single line indicator on a chart to develop an EA or does it have to be a two-line cross over indicator?
I have to run optimization backtests on MT5 on custom symbols because I need to set custom spreads and timeframes. The Cloud network does not work with custom symbols, so I need another option to run these tests much faster. Does anyone have experience using Amazon AWS/Instances for testing with MT5...
Hi guys, I've got a great indicator on TradingView, but I would like to have it on Mt4. Can someone program this into a MT4 indicator? //Credit to LazyBear for some of his CVI code\\ study("Tops/Bottoms", shorttitle="Tops/Bottoms", overlay=true) length=input(3) ValC=sma(hl2, length) bull=input(-.51,...
Which strategy is best to close profitable positions ?
simple trand reverse ea with templet and indecetar .i hope this is bes for all trader. thanks
  Martingale  (25   1 2 3)
A friend asked me if it’s possible to make money by“Martingale”.  On my opinion, in every area could exist a professionalmaking an incredible job! My response to that question is always yes. I believetalented traders can actually make a lot of money using “Martingale” system. Thetrue is that the...
Does anyone know which software can backtest multiple types of trading? For example, I buy EURUSD and sell GBPUSD at the same time. Because I did not test this function in MT4.
  Brainwashing System / Asctrend System  (235   1 2 3 4 5 ... 23 24)
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...
  About Trader101  (2)
Hello everyone, I haven’t been in contact with foreign exchange for a long time. I happened to see an article about T101 on the Internet. I was interested. I got a general understanding. I don’t think it can be understood. Because this trading system has been going on for many years, I found it. For...
  Non-Farm Employment Strategy  (36   1 2 3 4)
Hi all what is your NFP strategy ? today is NFP FriAug 212:50amJPY Monetary Base y/y 38.0%43.2%36.0% 2:30amAUD PPI q/q 0.1%0.5%0.3% 7:00amGBP Nationwide HPI m/m 0.4%0.3% 8:00amEUR Spanish Unemployment Change -80.0K-127.2K 8:30amCHF SVME PMI 53.151.9 9:30amGBP Construction...
Does anyone have a Center of Gravity Indicator with alerts to test?
Hi Guys, New to this forum !  Please free to add friends and know more about each other trading strategy ! My current strategy : Trend trading with Ichimoku and Volumes Daily/Weekly/Monthly   Happy Trading !
On my opinion, “Automated Trading Systems” does notpay attention to the Ratios. However, by automating your system there are zerochances of falling in love for a deal, which is good since no one is lookingfor love here! In the other hand, very few traders can actually automatesomething different....
  Whatsapp to Metatrader 4/5  (12   1 2)
Hello guys I am watching for a EA which copies Whatsapp messages to an EA. Does anyone know an EA? i already build a program to read out SL TP and BUY SELL. If i copy them in a Text is it possible that an EA can read them and copy in to a signal? Hope for help thanks. Regards Steve
Hello, I got an expert advisor whit a strategy that needs a low spread to work, I need a spread of 1 or lower, also I need to put at least 400 pending orders to  work propertly. I´ve been looking through several brokers but no one feets my needs. Do you know any broker whit these requirements?...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
Hi. My provider, ig,  currently only offers currencies in mt4. How can I get stock quotes in mt4 from another provider? Any one to recommend?
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
We are pleased to announce about the geographic expansion of the company by the establishing of a new representative office. MetaFintechLLC has become the company's official agent in thelargest international business center of the Middle East - Dubai,  UnitedArab Emirates. MetaFintech will be...
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...
  Forecast and levels for Dax Index  (53   1 2 3 4 5 6)
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...
  Forecast and levels for Nikkei  (31   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...
There is an opinion that from time to time some great capital, who knows SL in small enterprises, is playing against the market to defeat them and their machines. On mql5.com, I read that in the last days there was a loss of 4 to 5 million baks in the group of salesmen. This is a huge loss of...
  MT5 real FUTURES broker  (24   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you.
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...
Hello everyone, I am a beginner in coding and with the MT5 language. I'm trying to develop a slightly evolved EA. I already managed to perform basic functions but now I am stuck. My problems are: In the OnTick function () I check the position opening condition four times, at defined times...
Hello guys, can you tell me how I can pass the result of an indicator to an ea? HPFZ_statistica is the indicator, I have to pass the value of the PronosticoFinale[MaxValue], in the expert advisor HPFZ_1. p.s. At line 161 HPFZ_Statistica indicator is the value to be passed in the EA.
Hello boys, Im trying to make a new robot but when I compile and debug it the input parameters reset to 0 and I cant test it... anyone know whats happening?? Thank you so much!
Hello All, I could use some assistance with some code I have written. Basically I am trying to calculate consecutive days of rise or fall. The issue I am running into is the count isn't correct, it will start off at 0, now lets say its a bullish day it will increment by 1, the next day stays within...
I developed a EA that only work for GBPJPY M5 and special broker , if it is possible to sell it at MQL5 Market ?  Now it can't pass the validation , errors as : test on EURUSD,H1 there are no trading operationstest on NZDUSD,H1there are no trading operations test on GBPUSDcheck,M30 there are no...
  Roffild's Library  (14   1 2)
https://github.com/Roffild/RoffildLibrary Please do not delete or move this topic.
Hi everyone,  I'm creating this post in order to fix my unsolvable problem.  In my opinion, my script is good ( no warning and no error message ) but when i want to do some backtest, nothing is happening.  For information and to help the comprehension of this script, I just want 1 trade by 1.  In...
What it is: Below, you'll find my Swiss Army EA. I've designed it so that it can manage orders in your MT4 terminal using a large variety of methods. Features includes breakevens, trailing stops, setting/removing for takeprofits and stoplosses, and many close-out conditions; you also have ability...
Good day, I'm back-testing a grid system, and am desperately trying to confirm if the relative drawdown or absolute drawdown takes a grid system into account? For example, my backtest statement shows the Relative DrawDown on a backtest of 1 year to be $6k (give or take). However, nowhere in the...
I did run this script to check:   if(!AccountInfoInteger(ACCOUNT_TRADE_EXPERT))       Alert("Automated trading is forbidden for the account ",AccountInfoInteger(ACCOUNT_LOGIN),       " at the trade server side");   and got no error message. When the EA detects an Open position, (in demo) it...
Hello, I am trying to set initial stop at 3 times current ATR. I want to get current ATR with:  input double          ATRHandle                    =iATR(_Symbol,PERIOD_CURRENT,14); and use it like this: input double          Signal_StopLevel             =3*ATRHandle; But I get "constant expected"...
I'm trying to build my first EA and honestly i'm mostly using copy and paste but i cannot see why this is not working the way i want it to. The idea is to move my stop loss up to the Low or High of the candle with a shift of 2 but once its placed it should not move back. In this example i have a Buy...
Description: Telegram 4 MQL was made to make the life of an automtic trader a bit more convenient or better to say it was made to spare nerves. Suitable questions while operating an autotrading systems are: Was the order correctly executed?Did an situation change an unusual way so that I need to...
To be clearer, If I gave a developer the expert advisor file can he/she remaster it for a newer version of MT? Just have some thoughts for the future. Thanks
Can you please add sound & email alerts for this indicator? Thank you so much!!!
Hello everyone, Here is the code below. Where I have I allowed this to occur. #property copyright "Copyright 2018, MetaQuotes Software Corp."#property link      "https://www.mql5.com"#property version   "1.00"#property strict#property indicator_separate_window#property indicator_minimum 0#property...
this indicator sends notifications way too late or only when i refresh or jump between timeframes i would much rather it send notifications exactly when the arrow appears or similar operation im not sure why it only does it when i refresh or change timeframes is there someone that can make the...
I have added the RVI indicaror to my EA but I just want to confirm I have used it correctly: RVIp = External input I have used MODE_MAIN and MODE_SIGNAL for the 2 lines = is this correct? If not, what should I use? RVIm0   = iRVI(Symbol(),0,RVIp,MODE_MAIN,0); RVIs0   = iRVI(Symbol(),0,RVIp...
Many indicators appear to have been developed for the stock market and then transplanted into the Forex market. The markets are fundamentally different so, which are the indicators developed exclusively for the Forex market?
Hi, Unfortunately my search didn't yield any results in the MQL5 constants/functions. Is there any way to read out the current value that was put into the one click trade panel? Your help is much appreciated. I am getting back to MQL5 programming after some time of absent, so please be patient with...
Can someone tell me or help me edit this, how to make the indicator synchronize with current chart? Thanks //+------------------------------------------------------------------+ //|                                                         Test.mq4 | //|...
is there anyone that can add notifications to this indicator operation needed 1. when support band manifest send buy/support notification 2.when resistance band manifest send sell/resistance notification simple... thank you
Hello, I was wondering if anyone could help me in coding this indicator, which is supposed to be better than the RSI. It was featured on the February issue of the "Technical Analysis of Stock and Commodities Magazine". It can be found in these 2 places: Thank you.
Hi,I don't know if it is the right session for writing my question. I would like to sell an indicator (for example X) that call for another my indicator (for example Y) Y will be free can I sell X on market session? thank's in advance
Hola, tengo inconvenientes con este códigoInt índice =iHighest (NULL, 0, MODE_HIGH, 76,39); Técnicamente me tendría que devolver un valor entre 76-39, pero de devuelve 108, ya probé con rangos como 50-20, 81-17, pero todas me dan una barra fuera del rango que establezco.  Agradecería su ayuda 
Hello, I have an Indicator which calls an another CPU heavy custom indicator (on 7 different currencies). So, in the Init function I create the 7 handles and within OnCalculate I use CopyBuffer to get the data.  Sometimes this indicator starts normally but sometimes it seems the buffers are not...
https://www.mql5.com/ja/docs/standardlibrary/controls/cpanel I have try to build up the Cpanel by copying the example that written at the bottom of this page. By clicking the resize button in the dialog, I have a situation as the attached image instead . Did I missed anything? 
I am trying to use MT4 ZMQ bridge interface(please refer to https://github.com/bonnevoyager/node-mt4-zmq-bridge) to do some development work.Have registered a VPS,is there any one knows how to get the URL or IP/Port of the MT VPS?
How does one bring back the alert box for indicators on to the screen if one has closed it by mistake? If an indicator has an alert, the pop-up box appears on screen when there is an alert. One can then close that pop-up box. Yet how does one bring that back on screen without waiting for the next...
  Experts: Daily Chart Trader  (15   1 2)
Daily Chart Trader: This is strictly for daily chart and any symbol with spread low enough for its operation. Author: Gbenga Ayodele
  Experts: TryME  (19   1 2)
TryME: try me... Author: Antonis Michos
XO: XO Author: Mladen Rakic
TheWardenFX: Expert with advanced and optimized indicators aiming for best entry. Author: Antonis Michos
Hull moving average: Hull moving average Author: Mladen Rakic
  Experts: Simple Scalping EA  (25   1 2 3)
Simple Scalping EA: Very simple scalping EA, no Indicators. Logic is based on very fast price movements. Author: yan
  Experts: LotScalp  (33   1 2 3 4)
LotScalp: EA scalper 1430% = 2011!!! Author: clickpaypal
Zone_Recovery_Area Formula1: Zone Recovery Hedging Strategy Ea with two moving averages and Special formula. It works on any time frame, you should try it on demo account. Author: Aharon Tzadik
  Indicators: Channels  (25   1 2 3)
Channels: Finds and draws channels using all timeframes from 1 minute to 1 month Author: Nikolay7ko
New article Library for easy and quick development of MetaTrader programs (part II). Collection of historical orders and deals has been published: In the first part, we started creating a large cross-platform library simplifying the development of programs for MetaTrader 5 and MetaTrader 4 platforms...
Consolidation Breakout: "Consolidation Breakout" naked trading price action EA draws 3 Trend Lines with "Fractals" on chart and trades after convergence breakouts,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
Simple Horizontal Grid: A round-number horizontal web with continuous auto-adjusting. Author: Ovo Cz
New article Studying candlestick analysis techniques (part III): Library for pattern operations has been published: The purpose of this article is to create a custom tool, which would enable users to receive and use the entire array of information about patterns discussed earlier. We will create a...
FuzzyNet Fuzzy Logic Library: FuzzyNet is one of the most popular mathematical libraries for creating fuzzy models Fuzzy Logic Library for Microsoft.Net (FuzzyNet) is an easy to use component that implements Mamdani and Sugeno fuzzy inference systems. FuzzyNet includes: 5 membership functions...
New article Fuzzy logic to create manual trading strategies has been published: This article suggests the ways of improving manual trading strategy by applying fuzzy set theory. As an example we have provided a step-by-step description of the strategy search and the selection of its parameters,...
Hi!  The following code is an example of metaquotes.  #include <Controls\Dialog.mqh> #include <Controls\CheckBox.mqh> //+------------------------------------------------------------------+ //| defines                                                          |...
Hi, I need to code for my system: - atr periods 7 - exponential ma of atr at 35 periods I think that it would be a good indicator for scalping strategy. Thx for your attention.
Hi all, I am not sure if I am posting this in the correct page. I faced a problem when come to code the risk management module. My deposit currency is in SGD and the instrument that I traded is in HKD. I like to allocate 2% risk for every trade that I take using MT4. For example, Hang Seng index is...
Hi, I read about the new mql4(Build 600+) and already updated my EAs, now i have a question. How secure is the new protection against crackers and other types of executable cracking and modifying the code. EX: hex editing date of expiration, memory dumps, etc.. How secure is a simple time...
It seems that OnTick() and OnTimer() event handler used to work before, but recently I found they stop working when I minimize MT4 terminal, and they will come back to work when I un-minimize MT4 terminal. Does anyone found this issue? Test of OnTick() 0       14:48:33.850    EA GBPJPY,H1:...
I cannot delete a demo account on mt4 mobile (ipad). Any help? thanks.
Hi all, can someone kindly tell me how to make a EA what measures price movement from starting price what can be first bar open price. to point that price has risen or decreased lets say 10pip. and from that price it will repeat the process again and so on. Many thanks.
As the title says, when debugging, the debugger randomly stops with uninit reason 4 ("Chart Closed" according to the Uninitialization Reason Codes). ‌It could be anywhere from 7-15 minutes.‌ I'm not closing the chart and there's no functions in the EA that would cause the chart to close or even...
I am trying to figure out how to make takeprofit and stoploss values accurate.. If for example stoploss is set at 200 points it shows a value of 1.79? If that stoploss is set for 200 points then that value of 2.00? Should it be coded differently so it makes the correct level? If a stoploss of 213...
//+------------------------------------------------------------------+//|                                                      ProjectName |//|                                      Copyright 2012, CompanyName |//|                                       http://www.companyname.net...
  Turn ON/OFF Grid  (6)
Hello all, I would like to understand why this code doesn't work. Some expert help please.  Code:     bool ShowGrid=ChartGetInteger(chart_id,CHART_SHOW_GRID,1,value);//         Grid not removed    int OffOnGrid=ChartGetInteger(Chart_ID,CHART_SHOW_GRID,window,value);//  Grid not removed 1) What does...
Hi everyone,   I have one trading system which I'd like to have as EA. This system is based on renko charts and mindhero indicator.  Why am I using renko charts? The reason is simple. Renko simply filters choppy market. Also it is very useful during news (I'll show you what I mean in example below)....
Hi, Does anyone know of code floating around that adds consecutive candle volume if they are the same colour. Eg. Green(volume), Green(Volume+previous volume), Green(Volume+previous+previous), Red(Volume), Red(Volume+Previous). Then plot them like the standard volume(tick) chart on mt4 ? I have had...
Hi  I have my two Count Function to Winner trade and to Losses Trade  But I want to know if is possible modify the Count Function to do this if I have two Losses or Winner consecutive trade  and if is DayOfTheWeek ()==1 , and  Next Session trade is  DayOfTheWeek ()==2 The Count, ComeBack to 0 and...
  Traders joking, the beginning  (7472   1 2 3 4 5 ... 747 748)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...