Download MetaTrader 5
To post a new topic, please log in or register
Hello MQL5 Community! My name is Tom, and my background is computer science. I began to study and practice trading Forex since 2012 as a Part-Time Trader. Trading is a very hard game so I always study, update my knowledge and trade based on my own analysis and my proven trading system. My trading...
Question#1: Can someone explain why two values are not able to add? iATR     +   iMA     =  9.881312916824931e-32 5.9125  +  2691.3  =  9.881312916824931e-32 I have attached code for review.  Great Thanks!
Hello, I am trying to subscribe for signals provider but I don't know how . What I did is :  1. I choose signals provider 2. Then clicked  on '' Copy trades '' 3. the system opens new widow with my trading account  4. At the bottom right in my trading account I clicked on '' Subscribe for 30 USA ''...
I developed an EA to manage the SL of my manual orders, I have had no problems since today, everything seems to work just fine but yesterday I traded on a pair that I haven't opened any positions using the EA that earned a quick 40 pips, I woke up today but the SL was not moved, I double checked on...
What's the best broker these days? and Why?
I would need 46 of your subscriptions @ $30 to live comfortably as if a salaried person . That would be in addition to being the best trader by reliability it looks like, who has earned $ 43215.20 but over 273 weeks @ $ 158. 31 / week. Anyway food for thought from fatwords.
Goodmorning everyone,what indicators are used for Gann's analgesics?
Hello, I have started Forex Trading again after an absence of around 10 years. I have downloaded MetaTrader 5 and when using the cross hair tool to draw a line over several bars, the following is shown: 1.22222: 8 bars, 531 points Does 'points' refer to 'pips'? It seems strange that in MetaTrader 4...
  USD/JPY Analysis  (584   1 2 3 4 5 ... 58 59)
Well, the asset moves as I’ve predicted. I think that I can earn even more on USD/JPY! Definitely, the show must go on =) 
  Become an Author at MQL5.com!  (110   1 2 3 4 5 ... 10 11)
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...
  Traders Joking  (10411   1 2 3 4 5 ... 1041 1042)
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.
Hi guys, last explanation for an update I can find in he forum is for 1755. In the meantime my MT5 updated to 1795 and suddenly my experts don't work as expected anymore. They don't crash or whatever, but the simulation results are way different than before. So please, I urgently need to know what...
  MT4 platform without Sunday  (33   1 2 3 4)
I am not sure if this has something to do with the settings on my system... I use the same EA on two different demo platforms (MIG and FXDD) however I am seeing different buy/sell signals. After looking at the history data I realise that it is because one of the platform (MIG) includes ticks on...
  Indonesian Member  (3056   1 2 3 4 5 ... 305 306)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  GBP/USD forecast  (893   1 2 3 4 5 ... 89 90)
I’m having a little loss right now, but I think I’ll close the deal with profit.  
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...
Today i will discuss a strategy I work on it for 3 years . i like it very much and i acheive daily from it nearly 100 pips This strategy has a take profit and stop loss But profits are greater than loses several times Advantages of this strategy 1.you are with the trend 2.ratio between stop loss...
  Harmonic Trading  (5949   1 2 3 4 5 ... 594 595)
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...
Hello everyone! Some years ago I found on another website, a strategy that works good and I added a little something that makes it even better. Here's the original strategy and then my little addon... <strategy> You make 1 trade per day on the EURUSD Your "day" ends at 4:59EST and starts at 5pm EST...
  Something Interesting to Read  (29   1 2 3)
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...
  CHI50Cash in EA?  (2)
Hi I'm totaly beginner on MQL5 an EA programming... Is possible to include _Symbol="CHI50Cash" as trading option? Or? I don't see that this is possible!?! Best regards J
For three months at mql5, I learned about trading technology for three months. I found that Mr. Sergei was an excellent trader and a conscientious administrator. I visited many of his posts, and the content on the blog, and learned a lot of trade skills. I want to create this thread and invite him...
  Signal Systems  (303   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
  Very Profitable System....-Roi system  (86   1 2 3 4 5 ... 8 9)
Hello!. I'm using this system alredy few monthes and this is very good. now I'm looking to make it Automatic, if someone can do it for me, I'll send him the Indicators and we will make EA together... SO, This is it: Enter Long: First sign,When the Violet up arrow apppers Second sign, when the price...
  Suggestions for Trading System  (134   1 2 3 4 5 ... 13 14)
Same idea as with other: if you have a good idea for a Trading System? Post here and we will develop it (all ideas will be evaluated first).
Does anyone have a generic EA script that uses separate conditions for Buy, BuyExit, Sell and SellExit that doesn't allow opening multiple orders in the same direction. With my limited script writing ability I should be able to customize the various buy and sell conditions.  
  Forecasting indicators  (332   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".
  Trading System by Xard777  (3873   1 2 3 4 5 ... 387 388)
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
  Signal trading  (11   1 2)
I'm worried about opening this thread, because I'm afraid I'm not talking about a particular major, I'm a junior trader, but I want to talk about this thread. 1. How to use the signal to trade 2. How to use the oversell and oversell indicator 3. How to optimize the signal and reduce the frequent...
  Scalping system  (157   1 2 3 4 5 ... 15 16)
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...
  MT5 real FUTURES broker  (14   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.
  Forecast and levels for S&P 500  (302   1 2 3 4 5 ... 30 31)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
Hi, today I encountered  an issue when comes to calculating the order's performance. Assuming I would have bought stocks at 100$ and sell 105$ the gain is 5% according to foll equation (sold price - buy price)/buy price*100 = 5.00% However, considering the following price history I would get a...
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...
  Forecast and levels for Dax Index  (45   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...
  Apple  (21   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...
hello i reached in this poind which only way success is money managment i hope grow up an account from 10$ untill 100$ with money management and when i reach to it again grow it untill 1000$ regards
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
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...
  Bermaui Analysis  (98   1 2 3 4 5 ... 9 10)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  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...
  Forecast and levels for Nikkei  (25   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...
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...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Bovespa Index Technical Analysis 2016, 10.04 - 17.04: branging bullish with ascending triangle pattern to be formed for the bullish trend to be continuing Daily price is located above 100-day SMA (100 SMA) and 200-day SMA (200 SMA) for the bullish market condition with the ranging within the...
HI.  I am running the following code for GBP/JPY: void OnTick() {   // get last tick   double last=SymbolInfoDouble(_Symbol, SYMBOL_LAST);   Print(last); or: MqlTick last_tick;    if(SymbolInfoTick(Symbol(),last_tick)) {       Print(last_tick.time,": Bid = ",last_tick.bid, " Ask = ",last_tick.ask...
Good Morning, Have someone please experienced this ? 1. Run a Strategy Tester of some Expert Advisor 2 Get the results via OPTIMIZATION RESULTS tab 3. Export to XML MS Excel 4. Open Excel and import XM file and get the error below Thanks in advance Regards, MRC ERRO XML em Tabela REASON...
Hi, I'm looking to make an EA works with multiple currencies, there's a lot of indicator that show a meter based on a score or a index. Unfortunately, none of them's code is available. I've googled to find the formula, but ... didn't find nothing. Anyone knows such a formula please ?
Hello, Why does this script produce a out of range ? Thanks, Pierre //+------------------------------------------------------------------+//|                                                 stOutOfRange.mq5 |//|                        Copyright 2018, MetaQuotes Software Corp....
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...
hello, I've created a custom symbol from EUR/USD. In the backtest trades are working good but there are lots of errors "2018.04.21 18:13:02.839 Core 1 2008.10.29 01:02:00  no prices for symbol USDEUR_BASKET (1970.01.01 00:00:00 0.00000, 0.00000)"  although I use only the eur/usd and not...
Hi, I just switched from MT4 to MT5 and what a pain converting from MQL4 to MQL5. A major problem I cannot solve is how to have several orders (MT4) in the same symbol each with a different stop loss (SL). E.g. Order 1, buy opened at 1.22, SL 1.20 Order 2, buy opened at 1.25, SL 1.22 Order 3, buy...
Hi, I've stumbled upon EA Builder (www.eabuilder.com) and FxDreema (https://fxdreema.com). I suspect there are even more EA building tools out there. Which is best? Give your view here of which EA builder you prefer and why. I'll start - Between the two I checked out, I preferred EA Builder for its...
Hi all, I have written and currently run a mulit-symbol EA in MT4which monitors and trades a portfolio of appox 300 stock-CFD’s. I have effectively re-written it for MT5 because the brokerI now prefer, uses MT5 instead. The code uses a timer initiated For Loop which cyclesthrough the symbols, tests...
Hi, I've searched for an 'upgrade' as I recently found that almost all Renko builders recalculate. I use Renko. The solution is to anchor it in time (set a start date) but i do not know how. I considered paid options but none release the source code. I get why but at the same time trust has to work...
hey all, does anybody know of a way to automate the generation/export of account reports? I found an EA that has been performing well - HOWEVER, I still need to do further testing and observation in real-time. I'm running MT4 on a VPN, and originally thought I could simply get a program that...
Hi community, i have an expert with some gui objects, buttons, editfields, arranged below a rectangle. When the rectangle is dragged, all the objects in it are moved accordingly. I run this on MetaTrader 4 as well as on MetaTrader 5.  The code is pretty similar, except some details. Now the problem:...
Gentlemen, I would like to know if you know any script to update the graph with automatic frequency every 10 min. Thank you.
For me, volatility situations were always times when I decided to shutdown my EA. I felt that my servers would never be fast enough to trade news or, for example, central bank decisions. Now and then I try to keep up with new developments, so my question would be if there are any positive news about...
study(title="Steven Primo's PET-D", shorttitle="Pet-D", overlay=true) petd = ema(close, 15) up = close > petd ? green : red barcolor(up) Hope you understand what I mean!
Hi I've found that there can be gaps in Heiken Ashi calculations when presented as MTF. But not when heiken ashi is called from another indicator. Does this make sense? A Heiken Ashi calculation uses the following formula   double haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;  double...
  Gann is the Man Indicators  (169   1 2 3 4 5 ... 16 17)
Here are a couple of interesting indicators from W.D. Gann (aren't they all?), as well as a link to his bio. W.D Gann Methods , Time and Price & Trading Experts *** Gann also studied and applied astrology to trading. Therefore, also included are a couple of astro indicators that wasn't available...
Hello All, Inside the settings of this indicator is the option to show signals. When you do FX Fish will place buy, sell and exit indicators on the chart. This is different from the oscillator going from green to red crossing the 0 line. I'm hoping some kind soul can make a push alert so that when...
Hello, in the programming of my indicator i need the output data of two indicators, one of them is called X-ZZ.ex4 Use the iCustom function to call it, as follows: double valor=iCustom(NULL,0,"..\\Indicators\\X-ZZ.ex4",0,0,1); However i get an error in this line, saying not to recognize the file...
Is it possible to have one indicator draw simultaneously in chart window and in separate window?
  Multi Timeframe Indicators  (12152   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...
This would've been an excellent Triangle Indicator. Anyone wants to code this one and upload it online for free? Of course, this one must repaint.
  Signal_Bars_v7  (334   1 2 3 4 5 ... 33 34)
Signal Bars has come of age so i thought that i would start a new thread with the latest version This version Signal Bars v7 has some new features, the User can select which Timeframes they want displayed and the indicator can now be placed into any indicator window to help free up chart space. One...
The RSI Signal indicator plots buy\sell arrows when RSI crosses the overbought\oversold levels. It produces high probability reversals signals. It also alerts you when a signal is taking place. Download here: Great trading! as requested by Bossxero, the indicator is attached.
This one is for those that use metatrader 5 Metatrader 5, unfortunately, did some things that hardly are logical. One of the things done by it is that builtin averages (and all the other builtin indicators) are not functions any more. That is as big a nonsense as it can get. Instead of making...
Hi, I have a recurring problem that happens on my MT5 indicators. When I open a new chart and attach the indicator to the chart, the history is sometimes still loading. That also happens when I change the time frame of the chart. When this situation occurs the indicators don't draw anything. On a...
Hello all, I need to calculate iMA from custom values, for instance Open-Close. I was able to get this only by creating a separate indicator that calculates Open-Close values. Partial code: // open-close calculation handlehoc = iCustom(_Symbol, _Period, "Custom\\oc");// MA of open-closehma =...
If I wanted to use MT4 or MT5 just as "dumb terminal" to place trades, i.e. not use the charting... then what could I place in the chart area that I could watch instead of charts to give me some interesting information - like a dashboard.
Hello I'm trying to find a Para SAR with a Trend Filter. For example, alert would show when Para changes direction but is above/below an EMA or multiple EMA levels. Does anyone know of one? Thanks!
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 Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5 is published: In the following article I am describing a process of implementing Moving Mini-Max indicator based on a paper by Z.G.Silagadze 'Moving Mini-max: a new indicator for technical analysis'....
CCI Simple Experiment: CCI experiment using adaptive calculation period. Author: Mladen Rakic
New article MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
Heiken Ashi Smoothed Oscillator: Extending the Heiken Ashi Oscillator. Heiken Ashi Oscillator tends to have a lot of signal. So many signals that sometimes it is impossible to use it reasonably in trading. This version is attempting to bring that into reasonable bounds. Instead of using the...
Heiken Ashi Oscillator: This is one of indicators that falls into the price oscillators family. Instead of using "pure price" this indicator uses Heiken Ashi values to determine the trend as well as the "strength" of the trend. Additional signal line is added for two purposes: To use it as...
Stochastic volatility: The indicator is made after the original work and idea of Francesco G. Cavasino (described in his published article "Stochastic volatility"). Original stochastic (OriginalStoch input variable in the code or Calculate using original stochastic option in the inputs tab...
An Expert Advisor, based on Bollinger Bands: This Expert Advisor is based on Bollinger Bands. It uses trend-following strategy (DEMA) and Bollinger Bands indicator. It shows a stable profit in Strategy Tester during last 17 years (EURUSD M30). The Strategy:Open long position: DEМА is growing up...
New article Introduction to MQL5: How to write simple Expert Advisor and Custom Indicator is published: MetaQuotes Programming Language 5 (MQL5), included in MetaTrader 5 Client Terminal, has many new possibilities and higher performance, compared to MQL4. This article will help you to get...
Murrey Math Lines for the Current Bar: Murrey Math Lines for the current bar are an effective tool for the market movements forecasts. The well-known theorist Thomas Henning Murrey is widely known in the world of the modern trading. It was he who adapted the theory of the legendary William Gann...
Keltner Channel: Keltner Channel is volatility-based envelopes set above and below an exponential moving average. The indicator is named after its author Chester Keltner who first described his system based on the 10-period moving average in his 1960 book "How to make money in Commodities". The...
ThirdPartyTicks: A library for working with a third-party tick archive. Author: fxsaber
Vertical Time Lines: Indicator can draws up to six different vertical lines each at a designated time. Each vertical line can be historically repeated. Author: file45
Laguerre stripped of RSI: Laguerre stripped of RSI "experiment". Author: Mladen Rakic
New article Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5 is published: One of the most interesting aspects of Self-Organizing Feature Maps (Kohonen maps) is that they learn to classify data without supervision. In its basic form it produces a similarity map of input data...
Hello I want to extract a decimal value ( for eg: I want to get 0.1234 from 15482.1234). Please advice me how to code it. Thanks and Regds mithetnme
Hi all, I am new to trading and MT4 so please forgive the new-ness. I am making it a habit of printing charts and put my comments on them but have been encountering problems printing them. Here's what happens: 1. Print preview is good. 2. It's only when I click "print", which whether printed as soft...
Hi Experts, What do you guys think of the strategy tester report of the EA I coded? Is it worth trying live? Regards, Tim
I have some problem with the tester in MT4 build 1118 A) after optimization I can test the selected results only once , the second time I get a different results, the third time no result (empty graph windows ) B) after optimization if I try to close MT4 it freeze  C) the tester is twice slow...
Hello, Here is my goal : Immediatly hide/show Moving Averages after click on button. But, now, it always waits a tick, as the function is placed in "OnCalculate". How can I do it please ? Here is my code : int OnInit(){    TLR_Moving_Averages_Settings();...
I've been using Bahnschrift font for an EA on Windows 10.  Tested it on other OS, and found that Bahnschrift font is not working properly on Windows 7, and it reverts to Arial.  So I tried the following: #resource "\\Files\\bahn_bold.ttf"string bahn_bold = "::Files\\bahn_bold.ttf";Void...
I'm looking for some good educational resources besides this forum for learning how to code with MQL4. My ultimate goal is to create an EA that uses a currency strength meter and a stochastics oscillator to place trades. I'm making some good progress in making one, however I'm hitting some walls and...
Hello i got an error like this   could anyone please help me to figure out how to fixed it?.. this is my stoploss code : double getOrderStopLoss(int orderMagicNumber, int orderType, double price) {   double value = 0;   if(orderMagicNumber == 700) {      if ((Bars>20)&&(sqLowest(Symbol(), 0, 20 , 2)...
how to get 90 % modulate quality ? and how to get 5 years history data ? i have tried some toold but still failed to get 5 years data for back test with 90 % modulating quality  can some one share step by step working guide ?
please help me with this code I need to use v keys to right: (AaBb) // First need to check if VK_CAPITAL is ON?           keybd_event(VK_SHIFT, 0, KEYEVENTF_EXTENDEDKEY, 0);// Press Shift Key           keybd_event(VK_A, 0, WM_COMMAND, 0);              // Press A Key (To Right A not a)...
Hello, I am looking for EA that will close positions after close candle under/above MA. I found EA that closing positions when price crossing MA but it is not what I need  
I just bought a new laptop with windows 10 on it. Now my mt4 does not appear right. Especially some of my custom indicators. For example I have an indicator called Average Daily Range. It appears in the lower left corner and the text is all jumbled together and cant be read. Does any one have any...
Greetings, Does anyone have any solution to MT4 indicators not working on high resolution screens yet? This thread https://www.mql5.com/en/forum/158168 basically says there is no solution other than the developer fixing the indicator. But does anyone else have any other solution yet? The majority of...
if i have any ea that opens multiple buy positions and sell positions and i would like to close 0.01 lots of any of the buy positions for example then what is the least complicated way of doing that ?  for example , the ea i coded opens 4 different buy positions with different lot sizes at different...
Hi, I am now studying at a University of London.Mainly I am from Bangladesh.I have knowledge of forex trading.Can I do forex trading instead of any part-time job?