Download MetaTrader 5
To post a new topic, please log in or register
Does Mt5 have other platform interface such as python or matlab?
I personally know a lot of traders that can create their own EA's very well, but somehow they still choose to trade manually, why this phenomenon happens? There are big disavantages, for example 1 person cannot monitor multiple markets at the same time, or work around the clock
If technology duplicates every two years, does it also mean that forex market trading robots will become better, making the marker ever harder to profit? If the answer is yes then in 10 years, forex market will become 32x harder to profit, is that correct?
If it's like a wave, so if you develop 2 indicators to detect: a- the return point b- the equilibrium is above or bellow the price then you can basically predict the marker. If it behaves like waves so it's predictable, because after the return point the price will move directly to equilibrium, so...
I was wondering whether functions written in MQL are synchronous like in Javascript and if so how can you change this?
Q/微信878684614办理加拿大Brock布鲁克大学毕业证成绩单文凭学历认证回国人员证明 Brock University《以诚为本》Q\微信878684614专业为在美国,澳洲,加拿大,英国,新西兰留学的学子办理文凭毕业证成绩单、回国人员证明、学历认证【100%真实存档可查】办澳洲毕业证,办美国成绩单,办加拿大学历认证,办英国学位证,办澳洲文凭认证,办留信网认证,办留服认证,办教育部认证(网上可查,实体公司,专业可靠)留学全套申请材料办理,我们是一家诚信,负责为留学回国工作的留学生做认证的公司,只要您找我们,我们会跟您成为好朋友,在合作过程中您会发现我们的诚意,发现我们的责任心。本...
Can anyone explain how to extrace the CSV. Files of closed & open trades and related data so it can be analized in a Spread-Sheet ?
  Timer  (8)
Hello, I searched for CodeBase and articles. Without success. I would like a simple code. Run from - to. Thanks
  Forecast and levels for Crude Oil  (85   1 2 3 4 5 ... 8 9)
Brent Crude Oil April-June 2017 Forecast: weekly correction with possible breakdown; 49.69 support is the key W1 price located above Ichimoku cloud in the bullish area of the chart. The price is on the secondary correction which was started in the beginning of January located within the following...
  Forecast and levels for USD/CNH  (68   1 2 3 4 5 6 7)
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...
Good evening you all, I have this Expert Advisor in which I can set take profit and stop loss in points. I want to change this parameter with the percentage of the investiment. For example, when the profit is at 25% of the amount invested or when the loss is at -70% of the amount invested the...
  Forecast and levels for AUD  (130   1 2 3 4 5 ... 12 13)
AUD/USD April-June 2017 Forecast: ranging within narrow s/r levels for the ranging bearish reversal or the bullish trend to be resumed W1 price is located above Ichimoku cloud for the bullish ranging market condition within the following support/resistance levels: 0.7749 resistance level located...
  Traders Joking  (10480   1 2 3 4 5 ... 1047 1048)
Do you have interest or hobby outside trading ?, or some jokes and humor for other forumer ? or maybe something else ?, Well, why don't show it here. Life is NOT all about trading or programming, and so is this topic, and you must participate in this topic ;D.
i am using buy sell arrow indicator, i want to restrict losses , by avoiding false entries for that i need trend identification indicator, which will eliminates lot of losses if any such trend identification indicator possible >>
  Forecast and levels for GBP  (115   1 2 3 4 5 ... 11 12)
GBP/USD April-June 2017 Forecast: ranging below Ichimoku cloud for direction W1 price is below Ichimoku cloud for the bearish ranging market condition within the following support/resistance levels: 1.2569 resistance level located near and below Ichimoku cloud in the beginning of the secondary rally...
Hello, I created a forex plan of trading, it's based on hedging, low groth of money, but safe, but needs to be tested by you to see how it will do, let's get started open both of the pictures ( sorry if it looks crappy) and take a look at them it's rules of opening trades, assuming we are on BUY...
  Harmonic Trading  (5963   1 2 3 4 5 ... 596 597)
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...
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...
  Signal Systems  (305   1 2 3 4 5 ... 30 31)
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
  Hull Moving Average's Trend System  (104   1 2 3 4 5 ... 10 11)
The system was posted by bradman when he needed this system coded. The system is simple. Long when HMA trend is up, and short when HMA trend is down. Attached is the EA, automated script for metatrader 4, and indicator of this system. You must install both of them. This expert advisor features: You...
  Very Profitable Heiken-Ashi System  (64   1 2 3 4 5 6 7)
Greetings, I, like many others, have been searching for the perfect trading system, and I believe I have found it. I'm writing to ask you to examine this system and provide any constructive feedback that you might have. When I say "perfect" trading system, I do not mean to imply that it has no...
  PANTHERea.....100% win ratio  (84   1 2 3 4 5 ... 8 9)
Ok guys, this is the end of my forex path...... It took me 5 years to make this(coding lasted for few days), but the method itself was developed for years. Bassicaly I took all of my knowledge, mixed it, coded it, optimize it........and done that for last 3 years. This ea is something with the...
  Trading signal  (4)
I connect with a signal and it has neither Stop Loss nor Take Profit. Am I expected to close it or allow it run continuously? Please help
  Digital Filters (basic explanation)  (51   1 2 3 4 5 6)
What is the filter? In signal processing, the function of a filter is to remove unwanted parts of the signal, such as random noise, or to extract useful parts of the signal, such as the components lying within a certain frequency range. Ok. Why digital? A digital filter uses a digital processor to...
I want to say that my nick 'newdigital' is not connected with digital filters. But I started this thread to discuss and explain about trading strategies based on the digital filters only. And to understand how to implement those filters. All about digital filters you may find https://www.mql5...
This is Ilan-TrioKS v1.45 - /English Version/ - The new SUPER Expert Advisor. Working with all pairs. TimeFrame - M15. Please test it.
Thanks to Hendrick Stam for sharing this winning system and expert advisor. This EA (Phoenix 4 Contest) is currently 2nd place at ATC 2006 hosted by MetaQuotes. Phoenix_4_CONTEST.mq4: running live at ACT 2006. phoenix_ea_v5_6_03.mq4: the latest version. Hendrick: It’s time to start a new thread...
hello master trader. Recently I learned trading strategy using trend line but I have difficult to identify trend. and that I want to ask. how to identify trend changes using trend line. as shown below the picture above is an example of a scenario for a trend change. of the two images above which are...
  Forecasting indicators  (333   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".
Locked-in Range Analysis (abbr. LRA) is the futures market analysis method, described in the ebook "Locked-in Range Analysis: Why most traders must lose money in the futures market (Forex)" by Tom Leksey, which minimizes an uncertainty in the futures market. LRA is the method of interpreting the...
  Forecast and levels for Dax Index  (46   1 2 3 4 5)
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  (328   1 2 3 4 5 ... 32 33)
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...
  Bermaui Analysis  (107   1 2 3 4 5 ... 10 11)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
Hello, I currently read about companies developing CQG and Interactive Brokers bridges for MT5. And this is great news, something that I have actually been waiting for a long time. But besides the announcement I still found no broker  offering access to the CME and COMEX via MT5? Does...
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...
  Welcome to the new section!  (17   1 2)
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
Keen observers of price behaviour have no doubt discovered that from time to time, gaps appear in the normal price sequencing. These can usually be seen clearest on a technical chart. Gaps are areas on a chart where the price of a financial instrument has moved either up or down with no...
  MT5 real FUTURES broker  (15   1 2)
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.
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 Nikkei  (26   1 2 3)
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...
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...
It is very sad that majority of the people that get involved in the forex business end up losing their money but I will explain the major reasons why this happens below: 1. Leverage and Margin - Trading on margin seems like a fast way to make quick profit however, this gives birth to greed as a...
Hi there, Does anyone know how to get the Sugar charts to load? They've been added more than one week ago and all it says is "WAITING TO UPDATE". Still very new at this - Go easy on me :)
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...
  McDonald's  (11   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
  Voice commands  (4)
Is it possible: With predefined stop-loss levels for buy and sell orders, risk per trade, etc. to somehow use voice commands with words "sell", "buy", "close half", "close all" where EA would then execute the trades? Can EA be connected with speech recognition apps or something similar?
  Requests & Ideas (MQL5 only!)  (416   1 2 3 4 5 ... 41 42)
Terms and Conditions: You describe (you provide) the idea, I place an open MQL5 code in this branch, I place this code in a CodeBase. &nbsp, I specify the author of the idea and the author of a MQL5 code in a code, The coding services are provided "as is" and you use them at your own risk. List of...
Hi, ------------------------------------------------------- Question 1: somewhere inside position-managing parts of my EA, i need to close an open position. Since I have the ticket of that position, I can easily close it using standard class function Ctrade bool RES =  PositionClose(ticket,...
I want to prepare an EA that will send limit orders as market orders whan price is rached. Example.In Eur/USD price is 1.16593 and is going down and the EA want to buy at 1.16574. When price reaches that price, the EA sends a market order. The problem is to avoid ANY negative slippage even if there...
What is the cause, how to remove this ? JS      2       00:07:19.699    Core 1  2017.06.01 00:02:00   failed instant buy 2.20 EURUSD at 1.12470 [Trade disabled]QM      0       00:07:19.699    Core 1  2017.06.01 00:02:00   #error: strategy24.mq5::place_order. code=4756 bar=528466 price=1.12470000...
after clicking download on the expert that I want, MT5 opens up, but nothing happens. mql5.com is added under the experts tab in the options menu... What now?
Hello,  I have an EA written in mql5, everything works properly in both live trading and strategy tester. However some times when trying to update local buffers of the indicators the ea is dependent on, it turns an error 4116. This is totally strange to me as all the indicators were attached to the...
https://github.com/Roffild/RoffildLibrary Please do not delete or move this topic.
Here is the indicator which is returning the time remaining for the new bar: //+------------------------------------------------------------------+//|                                              CandleTimeStationary|//|                                                                  |//|...
Dear Any Programmers, I need help fixing this code At the moment only the Add Missing Stop Loss is working. I need to Add Missing Take Profit to be working aswell. Below is the specific part of the file I need looking at. Thank you void InsertStopLoss(int ticket){   //Inserts a stop los into a trade...
Hi, I try to use a CandleTrail function on a simple MAcross system and it works but I have many [Invalid stops] errors and I don't know why. Can someone help me fix this problem? 
Hi all, I'm using the CTrade class to place a pending order and retrieve the executed price when the order gets executed, however I keep getting a value of 0. This is the MqlTradeResult I get : MqlTradeResult{  retcode:10009 deal:0 order:2 volume:1.47 price:0.0 bid:11766.129999999999199645 ask:11767...
Hi, I was "playing" with hedging to explore possibilities : it's very tempting, since it allows purely & simply to recover from a bad position taken.  The risk of these strategies is well-known : lot management. Comes ALWAYS a point, where the margin is stressed, the logical solution being to accept...
Hi, I am trying to learn about Expert Advisory strategy tester. Just as a test I would like to calculate if I opened a position above the 200MA and then closed it when it closed below again or at say 50 pips and again for the opposite. Can anyone assist me in getting this to work on EA Strategy...
Hello Everyone, I'm developing my first EA. I got to write one, and it works perfectly well on the strategy tester.  My EA does the following: I specify a pair of currencies, say currency1 and currency2. When it starts, the EA buys immediately the currency1. Afterwards, it checks the conditions A &...
Hello, Following code gives me a number in the -214000000? cant seem to figue out what i do wrong. Looked through the forum but only found people with the same problems. double Fractalshigh[]; double Fractalslow[]; int Fractaldef=iFractals(_Symbol,_Period); ArraySetAsSeries (Fractalshigh,true);...
  Multi Timeframe Indicators  (12155   1 2 3 4 5 ... 1215 1216)
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...
Hello MLaden or anyone that can help, Could you please give me the link to the latest version of MLaden's Currency Strength MTF Indicator.  I downloaded a version from the Elite Indicators thread but it is not working on the current MT4 build. Many thanks to all who contribute to this wonderful...
What is the best trend indicator / What is the best trend indicator code?
Hi all,   anyone knows any good indicator which can detect situation like below where price is flat but volume building up  or having high values? Regards
  RSI indicator  (1413   1 2 3 4 5 ... 141 142)
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": OverviewThe Relative Strength Index ("RSI") is a...
Can someone help with that? I made an indicator that work well, but sometime when change the symbol or time frame in the chart get this error. Here is the part of code than have problem. //+------------------------------------------------------------------+//| Custom indicator iteration...
Hi, I am trying to link buttons states according each other. When I press (true) a button, all the others are unpressed (false). bool TLR_Button_1_State       =ObjectGetInteger(0,"TLR_Button_1"       ,OBJPROP_STATE);   bool TLR_Button_2_State      =ObjectGetInteger(0,"TLR_Button_2"...
Hi, I'm trying to convert this custom indicator that I originally coded in MQL4 into a new MQL5 custom indicator. However, the IndicatorCounted() function that I previously used doesn't exist in MQL5... I read multiple posts regarding this subject but none of them seemed to be able to replace this...
  The Best Indicator for Profit  (45   1 2 3 4 5)
Hi All What is your favorite indicator, that makes you a constant profit? thanks for sharing
Hello Group, I found this indicator for bar numbering which was written in MT4  https://www.mql5.com/en/code/19248 I tried to convert it to MT5 however am getting lot of compilation errors, can some of you gurus out here please help convert this MT5, will be greatly appreciated. Thanks.
Hi Folks, I am adapting an indicator but i am not able to do the following task. The indicator must be drawn until (rates_total-X) ....what I get is ok but at rates_total-X a vertical line is drown and the folliwing values are 0. How can I draw the line until (rates_total-X) skipping drawing the...
Hi there, I need to find time after a "datetime". Exactly 15 min after a by-hand-pre-defined datetime. The datetime is not a multiple of "15 min". It begins 1 min before the previous hour and it ends 15 min after. here in the image below what i need to do : How can I do this please ? Kind regards.
  Dynamic zone indicators ...  (1580   1 2 3 4 5 ... 157 158)
It seems that David Stendahl can not help him self Where his name appears "attached" to some indicator or TA way, it sure is worth trying it out and studying it. The basis for these were originally published in the Stocks & Commodities July 1996 issue (attached the original article here). Do not be...
Is there a way to detect currency strength of 2 currencies for current chart in multiple timeframes? If yes, how to do that?
Fibo Pivot Lines GMT: Fibo Pivot Lines GMT Indicator. Author: Collector
  Indicators: MA_BBands_YXF  (22   1 2 3)
MA_BBands_YXF: The indicator is a combination of MA channels and Bollinger Bands. Author: johnsun888
Rocket RSI: As described in the May 2018 edition of Technical Analysis of Stocks & Commodities by John F. Ehlers. This indicators is an enhancement to the traditional RSI for detecting cyclical reverses. This indicator has two settings: RSILength - This needs to be half the dominant cycle...
Hedging_Zone_Recovery_Area: This is my version of Zone Recovery Hedging Strategy Ea with two moving averages. It works on any time frame, you should try it on demo account. Zone Recovery is an advanced hedging system. When the market goes against you by certain number of pips, you open an...
MAC3D Custom Indicator: 3 Dimensional MACD Ribbon. Author: Thecreator
New article MQL5 Programming Basics: Global Variables of the Terminal has been published: This article highlights object-oriented capabilities of the MQL5 language for creating objects facilitating work with global variables of the terminal. As a practical example I consider a case when global...
Rainbow Oscillator - Binary: Based on Mel Widner's Rainbow Average (that is similar to Guppy MMA), here is a binary version of Rainbow Oscillator. It shows only two states: state up. state down. That makes it suitable for cases when a simple access to indicator values is required...
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...
Bcrypt: Class for working with AES-256 encryption. This class makes use of the MQL5 built-in function CryptEncode() to encrypt/decrypt data. Also, it converts the generated data by CryptEncoded() into a HEX string and vice-versa. Author: Romeu Bertho
New article Mini Market Emulator or Manual Strategy Tester has been published: Mini Market Emulator is an indicator designed for partial emulation of work in the terminal. Presumably, it can be used to test "manual" strategies of market analysis and trading. Here are the main actions that can be...
Schaff trend RSX mtf: Schaff Trend RSX with an option to work in multi timeframe mode. Timeframes supported are all the possible timeframes supported by MetaTrader 5 and it has 3 "special" timeframes: Next higher timeframe: first higher timeframe compared to active chart, Second higher...
New article MQL5 Cookbook: Writing the History of Deals to a File and Creating Balance Charts for Each Symbol in Excel has been published: When communicating in various forums, I often used examples of my test results displayed as screenshots of Microsoft Excel charts. I have many times been asked...
Rainbow Oscillator: Based on Mel Widner's Rainbow Average (that is similar to Guppy MMA), here is an oscillator version. The indicator is mainly intended to show the trend of the market. But, using the levels (that are dynamic - they depend on the market changes), you can use it to assess...
New article Creating Neural Network EAs Using MQL5 Wizard and Hlaiman EA Generator has been published: The article describes a method of automated creation of neural network EAs using MQL5 Wizard and Hlaiman EA Generator. It shows you how you can easily start working with neural networks, without...
RSISignal: Features Displays 3 RSI lines of different periods and the MA of the first RSI line (smoothed RSI), Displays the MA of the smoothed RSI. The crosses of smoothed RSI and its MA can be used as the signals, Displays histogram for RSI or its Moving Average, Colored level lines, Two color MA...
Hi at all! sorry but: OrderSelect(intMyTicket, SELECT_BY_TICKET, MODE_HISTORY) It return always true! But intMyTicket is a int Ticket of a opened order. Another way, with OrderClose() of same opened order si always a actual price How can check if ticket is closed order ??? Thanks at all!
Hello my friends, I'm programming an EA on MT4 and it seems to work very well but I have some troubles when testing. I can not see opened positions and balance... It is frustrating because I can't see how much is my balance, equity and profit. I tried to show balance within code but it does not show...
Hello, there is a major problem in the "period converter". Depending on the period and the multiplication factor, the script does not convert some of the latest bars. For example, if we make a conversion from 1H to 3H and now we are in the "hour 2", this bar is not converted. Any solution? Thank you
Hello all, hope this note finds you great! I need to get the chart history data for multiple symbols in an EA, but I have to open the chart for each symbol at each timeframe manually and scroll the chart to the extent the data is available. I am trying to automate this process such that in MQL, we...
Can someone help me to solver this error!
Hello Everyone, How can I remove this part of my code and still have it working double IMA()  {   iMA_Close= iMA(Security,Timeframe,ma_period,MA_Shift,MODE_SMMA,PRICE_CLOSE,SHIFT);   iMA_Open = iMA(Security,Timeframe,ma_period,MA_Shift,MODE_SMMA,PRICE_OPEN,SHIFT);   high = fmax(iMA_Close...
Dear support,Any ea and indicator for android device at mt4..? Tq.
At first,Could you read this article(underneath↓) & check 2 .mqh files [MQL5 PROGRAMMING BASICS: GLOBAL VARIABLES OF THE TERMINAL]https://www.mql5.com/en/articles/1210 CGlobalVar.mqh CGlobalVarList.mqh I'd like to use Global Parameters with their Library (Terminal ←→ .TXT file). So,I made 2.txt...
hi i want script for my custom ea to open a website as soon as the ea is attached to the chart please help
Hi, this EA is basic but useful to me, its restriction is it will only monitor the order that corresponds to the chart it is attached to. It is designed to partial close at first TP level then step trail SL but no more partial close. Is it possible for the EA to monitor ALL open orders and apply the...
Hi guys, I'm trying to calculate a moving average over momentum indicator but EA crash at the boot of the back test because of the buffer I think ... someone has a better idea how to solve this ... I'm trying to calculate the moving average in the wrong way i think... //--- Get MOMENTUM and...
I was looking for information on how to write a timer correctly on the net. And I found this EA based on RSI on more markets at a time. I was intrigued by the "do it anywhere else" Unfortunately, EA can not test anything. Can EA be written on more markets? Thank you....
Good afternoon you all, I have this Expert Advisor in which I can set take profit and stop loss in points. I want to change this parameter with the percentage of the investiment. For example, when the profit is at 25% of the amount invested or when the loss is at -70% of the amount invested the...
Is there a function, in MT4, that I can use to grab any pair that is listed int eh Market Watch window?  I'm trying to make a combo box and I want to be able to select any pair, in any Brokerage account, and not have to manually insert the symbol.  With _symbol or Symbol(), I have to manually input...
  Code for risk per trade?  (24   1 2 3)
Hello, I have coded my first EA and I am looking for the code that will open lot sizes at a percentage of my account. Can anyone help please?