To post a new topic, please log in or register
Dear, Before MT5 build 2170 I compiled files outside MQL5 directory normally, then I was doing my develop work in a external directory as my git repository. Unfortunately, now (after build 2170) when I try compile a file outside MQL5 directory I get several crazy erros. Sample code: #include
My EA got error code 2 after calling OrderSend function. Mql doc only says this is "common error" without giving any further explanation.Can anybody help me understand better
PayPal, ePayments, WebMoney, CardPay (Visa/Mastercard), PerfectMoney, Other
I cannot open any pages from this site using Google Chrome. Have cleared the cache and browsing history and tried again but still nothing. Worked yesterday but nothing today. Am using Mozilla for this post. Can anyone help with this issue
Hi guys! I was wondering if anyone knows whether it is possible to have an EA running on MT5 and connected to <broker name removed> so people can follow the EA's performance? Any information would be valuable. Thanks! Martin
I want to be a algo trader. Please tell me how to buy the best robot for autotrading. Also guide how to add in my mt4 platform. If any customized settings then write in details. Also need to know the which time is the best for auto trading & in which pairs. Thanks, MHK
  email notif. MT5  (1)
Hi, I get this weird error in MT5 that while trying to setup email via Options-etc.., the settings are never saved upon clicking OK, additionaly there seems to be an issue with input row "From:", that keeps staying red. This happens in both the latest build available from MetaQuotes and also, on my
Hi, I contacted Service Desk support here on this forum because Arbitration team (arbitrator) doesn't seem to have direct contact and he/she/they is/are overlooking my arbitration request for almost two months! I sent a message to Service Desk for the first time regarding this case on 18th July 2019
Here is the code that I am trying to modify:   #include <MovingAverages.mqh>#property indicator_separate_window#property indicator_buffers 6#property indicator_plots   3#property indicator_type1   DRAW_LINE#property indicator_color1  Yellow//LightSeaGreen#property...
Hello to all, This thread is opened for discussion about Webmoney alternative,hope the moderator will read this thread and provides a good suggestion to be resolved the Webmoney withdrawal, Anyway if anyone knows a good alternative way for it,are very welcomed, So till now we know the Webmoney
Hi Guys, I have a question on following a signal. Mql5 always sync the positions between the provider and follower and mt4 will cut trades when i) I withdraw my balance or ii) provider increases the balance. I can control i) but what if ii) is sometimes taking place, the system could cut my
I have a few questions regarding my copy trade. I notice on your trading history my lot sizes are different to the copy trade despite me having the same equity balance as the copy trader. My settings are at 95% risk on this account. I have contacted the provider and he informs me that the system
  Forecast and levels for USD/CNH  (104   1 2 3 4 5 ... 10 11)
USD/CNH April-June 2017 Forecast: ranging for the bullish to be continuing or for correction to be started W1 price is located above Ichimoku cloud in the bullish area of the chart within the following support/resistance levels: 6.9868 resistance level located in the beginning of the bullish trend...
  Press review  (6540   1 2 3 4 5 ... 653 654)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
Hello all I was interested to use Metatrader for trading in India and wanted to know guidance of any broker supporting BSE trading
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
Hi, I am attempting to subscribe to a signal through here, however once I've inputted my payment details for the subscription I get an error message - "An error has occurred in the script on this page." Error: Invalid character Screenshot attached: https://ibb.co/HrWSbwN Can anyone help me please
  Hull Moving Average EA  (64   1 2 3 4 5 6 7)
hi there. first post. i am after an expert advisor for MT4. It buys and sells with the triggers of Hulls Moving Averages. Does anyone have one, can point me to one, or build me one, please? Bradman
Dears, i want to know how to enable the robot and make it working even for the demo account to validate the indicators, thanks
Please find indicator (in download area) which is forecasting the support and resistance of current day based of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis". Works on the timeframe less than H4 (including H4 of course).
What Indicators Would You Use To Predict The Next daily Candle?
Hi , When I try to put the "Free Demo" of a product into the MetaTrader 4 , I get the following message: The address wasn’t understood Firefox doesn’t know how to open this address, because one of the following protocols (mql4buy) isn’t associated with any program or is not allowed in this context
Hello, I am a new member of this forum (but an experienced full-time trader of 15 years). How do I post a comment on here ( [link to the Market product was deleted by moderator] )
  Trend indicator  (13   1 2)
Hello everyone i saw this indicator in the internet and it's for ninjatrader i don't know what it's name i think <deleted> or math formula!! So it's been while i didn't find anything familiar to it !! If anyone can help
Hi, Im using eabuilder and so far understand all the settings. However I am not able to perform what should be a very simple task: how do I market buy when price travels 50 pip north? Help is appreciated
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...
Hey guys! I wrote a small EA sending alerts to the terminal ,however, whenever the condition is met, it sends an alert every second.. Would you please help me have only one alert when the condition is met? Thanks a lot, the code is below! Martin #property copyright "Copyright 2019,...
Hi, Is it needed to run mql5 scripts within some specific terminal, I mean, is it tight coupled with the terminal? Is it possible to run funcs such as OrderSend for some specified login or must be the one that is logged? Seems that it does not receive login as input parameter. Thank you. Best
Hello everyone! I am experiencing something weird while backtesting my trading system. I made two versions of the same TS: 1st VERSION: This is how I open short positions (I skipped useless code): //OPENING SHORT POSITION if (order == "sell_first_A") { TP_price =
Hi, Is it to possible to call MQL5 functions from C# or C++? I have seen the contrary here https://www.mql5.com/en/articles/249, but I am not sure if it is possible the other way. Also, if it is possible how can I pass arguments? Thank you. Best Regards
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
At the end of the last year, we informed you about the first MetaTrader 5 launched in Thailand. One of the leading Thailand brokers Apple Wealth started offering the terminal in demo mode. Recently, the company has undertaken yet another step - now, its clients trade shares at SET (Stock Exchange of...
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...
Just curious about anyone trading preferences, I mean what do you prefer to trade Forex, Stocks, Futures? Is well known that Forex is the greatest market hands down, but unfortunately it doesn't offer certain analysis tools such as true volume, the book or TRIN, TICK, VIX tools which can be very...
At the 19th of October Ak Investment,one of Turkey's largest brokers, officially launched the MetaTrader 4 platform for Forex and CFD trading. The companynow offers its traders access to the rich functionality of thepopular platform — everything traders need from trading and analytical functions, to...
Please, can someone give a simple example of how to send a buyLimit order for a symbol in Iranian Stock Market. I had have a lot of problems doing it. I need a sample code. Thanks in advance.
Hello. I try to use the Strategy Tester to test my EA, buit get the message "no more than 1000 symbols can be selected" each time. I guess it's because my EA tries to trade more than  1000 stocks and the MT5 limits the max number of symbols that can be selected.  I tried to unselect the symbols in...
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...
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...
Good day everyone, I am new to this business of Forex and Binary and in a short time I have incurred some losses and currently looking for the best approach to this market. I am particularly interested in Binary Tick Trade. Does anyone here know if there is any indicator or strategy applicable to...
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  Apple  (30   1 2 3)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
  Forecast and levels for Dax Index  (57   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...
  Forecast and levels for S&P 500  (462   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...
Windows 7 will stop having technical support at the end of 2019 and Microsoft is recommending installing Windows 10. Following this advice, I am thinking of upgrading my computer from Windows 7 to Windows 10... but... I have several EAs purchased, what will happen to the 5 licenses of each
  Trailing StopLoss  (10)
I hav been using trailing stoploss coded into the EA. Works fine. The only catch is that if  contact is lost it does not work. The trailing stoploss can also be set manually on the terminal. As I understand it it is then handled by the server, which means it will work even if contact is lost witht...
An order becomes a deal. A long deal open or increases a position. A second long deal increases the position since in MT5 there is only one position per pair. If I use POSITION_PRICE_OPEN (Position open price) from https://www.mql5.com/en/docs/constants/tradingconstants/positionproperties which...
Hi anyone that can help. I have been trying to code this EA for a while and getting there slowly, however I am stuck with deleting previous pending orders before opening the next one. Below is the code I have just before entering either a buy trade and sellstop trade or the other way round. It works
Hello, I got this odd warning with build 2174 during beginning of the backtest: 2019.10.14 06:18:12.405 FX5 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\E23367DD11DBEB0EF97D08185EAB7295\MQL5\Experts\EA\FX5.ex5' is not 64-bit version I did recompile the EA with the latest build of the
Hello, I want to use the data of a market indicator for an expert advisor, is it possible without the source file of the indicator
Hello everyone. I started learning mql5 just last week, I've come a long way though. However, I'm having trouble writing codes to close buy orders when sell signal is received, and vice versa. Is anyone kind enough to help me out
Hi, does someone has information about the possibility to load the Event Calendar from MT5 into an EA Script? Would be nice if anybody could help me with that.   Thanks. tMAE 
HI, everyone Please help to advise. My optimization too long waiting time, now MT5 agent can calculate at 27905 of 129024 steps use time feel day 20:42:52/95:44:21 time remain for 4 days (I think time 95 hour for my cpu 8 core right?) My laptop is core i7 2.8 MHz processor local 8 core agent, it
Greetings! I have a Ruby / Python background so it is a little bit hard for me to switch in C++ way. I'm working on EA which selects some symbols based on a specific criteria. In Ruby I will make a hash like this: {symbol_name: "GBPCAD", action: "SELL", spread: 15} and then sort it by "spread"
Hello, please I have a problem with my ea, being that when the ea opens for example buy orders, lots increment from 1,2,3,4,5,6 etc and buy is not closed, however if there is a sell order, instead of the ea starting the sell order lots from 1,2,3,4,5 etc it continues from where the buy order have
Hi, When compiling the telegram library in the new release (2170) of mt5 the following warning appears: deprecated behavior, hidden method calling will be disabled in a future MQL compiler version <Telegram.mqh> Line: 326 deprecated behavior, hidden method calling will be disabled in a future MQL
Hello, greetings to everyone. I'm new to metatrader 5 and been testing/programming some EA's. My last EA is based on Buy Limit Orders, scrapped from other EA's in the Code Base. I've been struggling with things like this and I would really appreciate if someone could shed some light on this to me: I
Hi, I would like to just get the value of a custom indicator in an Expert Advisor, here is my code : double   IndicatorBuffer[]; int      HandleIndicator = 0;int OnInit(){   HandleIndicator = iCustom(Symbol(),PERIOD_CURRENT,"MAindicator","EURUSD",PERIOD_CURRENT);      Print("iCustom HANDLE...
double currentPrice = Open[0]; double lastPrice = Open[1]; if ( (lastPrice > 52.75 ) ) Alert("Hello"); Hi. I am building my first EA. I want to trigger an action in this case an alert when a candle closes. Exactly: If the price was at e.g. 52.75 at any point during the most recently
Hi I trying make indicator to repaint previous results. I succeeded to change only future result but not the past. Every number is separately indicator value by time. When input_2 show result, every sequentialy by type value of input_1 should change. Is it possible? Where I can find info or example
hello all, i have been using 2 indicators for a long time and i need these indicator in mt5 mode, can anyone help me doing it pls
#import "anydll.dll" int test(int x);#importanydll::test(1); ... is not working anymore and produces error "'anydll' is not a class, struct or union" I cannot find nothing within the documentation about it. Thx for helping
  Coincidence or cointegrated?  (13   1 2)
Hi. My EA trades multiple pairs simultaneously and I encountered a situation today I am trying to understand. Using a custom keltner channel indicator, I received a "BUY"(Long) trade signal from each of these pairs: EURUSD, EURJPY, EURCHF, CADJPY, CHFJPY, AUDJPY within seconds of each other, after
Hello I am looking for an indicator, which alerts you when a support or resistance is broken only with the body closing price Can someone an indicator like this help me
  Looking for range detector  (16   1 2)
How can I detect that market is ranging? Is there an indicator for that? Indicator, which would return two values: top of range and bottom of range. To check when a breakout of the range happens
  Indicators with alerts/signal  (15822   1 2 3 4 5 ... 1582 1583)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
Hi everyone, I was wondering if anyone could share a "Currency Strength Indicator" (which measures the strength of a currency's price in relation to other changes) for Metatrader 5. Thanks and have a good day. 
Hello, how can I make the arrow appear only when the candle is opposite .. for example if the arrow is down the candle has to be green. sorry for my bad English. I leave an image so that you understand me better: this is my mq5 code: //--- indicator settings#property indicator_chart_window#property
  Multi Timeframe Indicators  (12183   1 2 3 4 5 ... 1218 1219)
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...
Hi Everyone, Can someone point to MT5 OsMA indicator that is or can be built based on LWMA averages please? I managed to re-code original MT4 OsMA to OsMA based on LWMA (attached). Can't do similar with OsMA for MT5. Any help appreciated. Thanks for your time. Regards, Andy
Dozens of articles about indicators are available on this site. You'll find here examples of indicators and articles about how to create indicators. However, a beginner may have some difficulties choosing where to start when learning how to create indicators. So here are a few tips to help you find...
  ToR 1.02 - Trending or Ranging  (191   1 2 3 4 5 ... 19 20)
ToR 1.20 OK, the latest version of ToR now adds CCI on three timeframes, 1 min, 5 min and 15min with both Entry and Trend user adjustable. The calculation is done price typical so it will match up with woodie's CCI numbers. OK, 1.11 was broken, if anyone has it delete it and use 1.12 instead or the...
Hello, I searched the forum for a similar issue but unfortunately did not find it. I am creating a very simple indicator, it just reads the volume and plots in a separate window. Despite this simplicity the chart is out of scale and the values ​​on Windows Data are totally wrong and random. Does
  Probability Cone  (1)
Since Black-Scholes-Merton model inception, many option traders use the probability cone to trade several securities using stock options as protection to their investments. However, the model uses an universal equation based on normal distribution, from probability. However, due to increase in
New article Library for easy and quick development of MetaTrader programs (part XIII): Account object events has been published: The article considers working with account events for tracking important changes in account properties affecting the automated trading. We have already...
New article MQL5.community Payment System 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...
NELODI Trading Terminal for MT5: NELODI Trading Terminal is a collection of Indicators and an Expert Advisor, which work together to provide a complete solution for manual Trading, primarily designed for Scalping. Author: NELODI
NELODI Trend Painter: Trend indicator similar to Ichimoku Kinko Hyo, with a number of drawing options and calculation parameters. Author: NELODI
GridderEA: t's a multi-currency grid and martingale system that can trade all input pairs from one chart. The expert will close all orders for each pair using a profit level. The expert has the possibility to trade up to 100 pairs. It's a grid, hedging and averaging system. Author:...
5MinutesScalpingEA: 5MinutesScalpingEA uses indicators (5) from 5MinutesScalpingSystem.This expert is to help any user of the system to try some different settings of indicators easy and quickly.Expert need indicators to generate signals. Has the ability to use all of the indicators, or some of
RSI Monitor: Simple and clean panel that shows RSI values on all timeframes with Oversold and Overbought notification. Author: awran5
New article MetaTrader 5 and Python integration: receiving and sending data has been published: Comprehensive data processing requires extensive tools and is often beyond the sandbox of one single application. Specialized programming languages are used for processing and analyzing data, statistics...
Buy Sell Stop Buttons: "Buy Sell Stop Buttons" EA sets up 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once. Author: Aharon Tzadik
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...
New article How to create bots for Telegram in MQL5 has been published: This article contains step-by-step instructions for creating bots for Telegram in MQL5. This information may prove useful for users who wish to synchronize their trading robot with a mobile device. There are samples of bots in...
NELODI Trend Waves for MT5: Monster Trend indicator that uses data from up to time periods. Author: NELODI
  Experts: RoNz Auto SL-TS-TP v.2  (207   1 2 3 4 5 ... 20 21)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
Grid expert: This ea designed based on Grid sterategy . Author: Farshad Kojori Razeke
Schaff Trend Cycle: Indicator Schaff Trend Cycle. Author: John Smith
I have a file called test.mq4. I need to get its content as a string in my other mq4 program. The test.mq4 is an UTF-16 file. If I convert it to UTF-8 (by an external text editor), I can get its content like this: uchar filedata[]; int handle=FileOpen("test.mq4",FILE_READ|FILE_BIN);
Hi Guys, I am using iCustom to get values from QQE-Histogram indicator. But returned values of the iCustom() are different from the values printed on the chart by indicator. I have encounter same before with different indicator and give up. Below is the sample of my iCustom() and the code of the
Hi I've attached screenshots of my Journal results from running this EA. #property strict// Global variables. EACH EA needs a different unique Magic Number// extern means it can be changed in optimisation//+------------------------------------------------------------------+//|Initialisation is done
  vps signals  (1)
if i put my EA in vps to sell its signals and its closing signals depends on a ticket number will that type of closing works in a corret way ?? example if my EA choose to close the 3rd opened sell order from 10 can the vps do that for others who bought my signals ? if there is an article talking
Hello I want to get IQ Option account details on MT4. I tried to use IQ Option Api link: https://github.com/Lu-Yi-Hsun/iqoptionapi#get_digital_current_profit but I couldn't run it. I need small information from Api. I attached image what I want to display. I know that nobody will code it for me but
  ERROR MT4  (4)
Hello, I had malfunction on MT4, and my broker refuses compensation while the evidence is irrefutable, thank you kindly take note and authenticated errors so that my broker reimburses me (prejudice more than 70k €) Unable to put SL / TP: 1) SCREENS
  Traders joking, the beginning  (7646   1 2 3 4 5 ... 764 765)
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...
  Larger fonts in MT4  (23   1 2 3)
My vision is getting even worse and I'm only just barely able to use MT4 with considerable difficulty now. I have the windows systems fonts etc enlarged, but it doesn't affect the MT4 client fonts. Is there anyway that I can (easily) make the fonts in MT4 larger as there is in the Editor? Thanks
Hi, I have a text: Blue cars are everywhere. I'm using this library: https://www.mql5.com/en/code/16566 Also, here is a regex description: https://www.mql5.com/en/articles/2432 The issue: If I'm using this regex pattern: "Blue", then I get the word "Blue". But, if I'm using this regex pattern
Kaufman AMA (adaptive moving average) made specificaly for the new metatrader 4
Hi guys, I am experiencing issues with the FFC news indicator, giving error 5004, DLL + webrequests from the links are allowed, but still it can not download the xml file to present information.
How do I Change the Account currency from EUR to USD
Hi, I am learning coding MQL4 and I have been having some problem creating a class with Arrays so that the output can be used in an indicator code. I have done some work but I don't seem to get it to work and am getting array out of range error. Please I am learning I need some guidance on how to
Dimi.A
Hi Mladen and friends, Just sharing an interesting indicator I've been using to trade reversals on the 15 minute charts called Vertex. The reversals are pretty spot on so far but the "TMA bands" repaint. I think there's a lot of potential in this indicator, it just needs some polishing up. Mladen,...
Currently, mql4 can only provide time down to the nearest second for incoming ticks. We use the following function: MarketInfo(Symbol(), MODE_TIME) 1) Is there a different function that can provide millisecond time stamp or can be used to determine milliseconds for tick data coming to the platform?...