Download MetaTrader 5
To post a new topic, please log in or register
I've just finished my first C++ book "C++ Primer Plus" and still want to study C++ for jumping to the next level in EA programming in MQL 5. Which book would you advise me to study next? Which subject in C++ should I master now for excelling in EA programming?
I believe $1312 - $1317 range is very important. Above the range Gold is buy and below sell. Any new idea?
I don't care. Just show me the results, No, there no enough good articles and products available, No, there are some good articles but it's insufficient, Yes, though it could be improved, Yes, all what is needed is available.
Hello there, I'm trying to learn how to create a MQL5 library for MT5 (I think it should be a library, but not so sure) to create new symbols and feed these symbols chart data from public exchanges APIs in real time. I tried searching for some tutorial or example of something in these lines, but the...
Hi guys , We are new in this MQL5 platform .After long time practice and study we believe we can generate and publish signals .  How can we sell our signals ?How can we make money by sharing investor user/pass of our meta trader account ? What is safest method to do that ? Thanks
  Help  (4)
Hi. I need to buy a robot 
  Forecast and levels for EURO  (246   1 2 3 4 5 ... 24 25)
EUR/USD April-June 2017 Forecast: ranging rally within narrow s/r levels W1 price is below Ichimoku cloud for the primary bearish market condition with the ranging within the following support/resistance levels: 1.0828 resistance level located below the cloud in the beginning of the secondary rally...
  Press review  (6079   1 2 3 4 5 ... 607 608)
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...
  Traders Joking  (10457   1 2 3 4 5 ... 1045 1046)
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 everybody, I need some help with my EA,here is the problem I coded a simple EA which send order (Buylimit or Selllimit) when the price reach a certain level that I define, and I run different copies of my EA simultaneously on 17 forex pairs on M1 or M5 charts, But the problem is that my EA...
General rules, enforced by moderators : Rules Please be polite when communicating on this website. Refrain from statements that may offend or insult other users.Negative discussions of any banking, brokerage and other financial institutions are not allowed.Any discussions about personal relations...
Hi,  so as I wrote in the title, I coded an Indicator that gives me an alert when the last candle crossed the 21 Ema. I also check, if the alert was allready send on that candle by saving and then checking the value Time[0]. Now when I get an alert and change the timeframe on that chart, I get the...
  Something Interesting  (413   1 2 3 4 5 ... 41 42)
This is about something interesting which we can find here for MT4 and MT5 on CodeBase, Articles and inside the threads. No any signals, market prodducts, external links (to download or any), no any advertising, no any commercial things please.
  My strategy - SCALPING  (29   1 2 3)
Hello to everyone! My trading strategy is scalping. Since beginning of the year it is very profitable and I am happy with it.  I am entering with small positions and looking for small profit for every position. Every day I am searching to have 0.5-1 percent plus. Does anyone have same strategy? What...
Hello: I am trying unsuccessfully to create a code for a MT5 WebTerminal widget, which will login automatically into an existing demo account. Article 3024 doesn't specify the exact customization parameters to be used for that. Can anybody help me with the exact code for the automatic login (for...
Salutations! So I was tinkering with my trailing stop code template, which kinda is as follows:          if((OrderType()==OP_BUY) && (OrderSymbol()==Symbol()) && (OrderMagicNumber()==MagicNumber))  /*This*/       if((TrailingStop>0) && (Bid>OrderOpenPrice()+MyPoint*TrailingStop) &&...
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...
This is Ilan-TrioKS v1.45 - /English Version/ - The new SUPER Expert Advisor. Working with all pairs. TimeFrame - M15. Please test it.
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".
  Very Profitable Heiken-Ashi System  (63   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...
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...
This Ea is one I have backtested and achieved 90% modeling quality on four and five digit brokers and have found good results.I enclose Ea and backtest report.
  Trading System by Xard777  (3880   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
hello guys, I'm struggling with a system that enters supports and resistance, some ideas on how to structure the entrance. The signal must be given by three highs or three lows
  MONEY MAKING manual trading system  (515   1 2 3 4 5 ... 51 52)
Dear All, As this is my first post on this forum you may think that i am a newbie which i am for sure in comparing with some forex gurus like Igorad, but after spending couple of years in losing money, researching, losing money, researching and finally earning money i don't feel like one . I...
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
  PriceChannel Parabolic system  (277   1 2 3 4 5 ... 27 28)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
  BRAINWASHING SYSTEM/ASCTREND SYSTEM  (214   1 2 3 4 5 ... 21 22)
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...
  Suggestions for Trading System  (137   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).
  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...
  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...
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...
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...
  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.
  Bermaui Analysis  (103   1 2 3 4 5 ... 10 11)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Forecast and levels for S&P 500  (323   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...
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...
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...
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...
  Apple  (23   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...
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...
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...
Hi there. to assist my automated trading via EA-s in MT5 I would need a database in which/from which I could read/write data using mql code. I've seen some posts explaining how to connect MT5 with MySql, have tried that, but it's a bit difficult, while writes to DB are straight forward, reads from...
  Requests & Ideas (MQL5 only!)  (412   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, 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, in my backtest result is see a relative drawdown maximal of 24.24 %. The backest is over 259 trades. The problem: I can't reproduce this value visually in the equity, balance curve. Find attached 3 files zipped : The backtest results in numbers. An image of balance curve and a screenshot...
Hi all! Thank you for looking at this thread. I'm having an issue where an EA keeps removing itself from a chart on tick. It occurs when I add a function to my main EA script. The function is down below. Any help would be greatly appreciated, this is giving me a real headache!...
I have the problem, that I do not get the price of the execution, when I use the class CTrade, the position is opened or closed, but the price is 0.0. I wrote a small expert Advisor for test. In the Demo Account everything works, but only at Livetrading the price is 0.0 Does anybody know, how to...
Hi there, I try to use iMA. This is my configuration: int MA_Definition1 = iMA(symbolName, timeFrame, 10, 0, MODE_EMA, PRICE_CLOSE); For a Buy or Ask decision I need the distance between EMA-curve and Ask- or Bid-curve. 1- Is ENUM_APPLIED_PRICE based on Ask- or Bid-price? 2- What is displayed on...
Good day! 1. I would like to ask how to fill the gaps in historical data. I have tried various methods. From the classic download via History Center of MT4, to downloading a certain software which downloads data from a certain broker, to getting an EA which supposedly downloads data for me. However,...
I have thought that there might be some function that can get me previous Bid or Ask price similar to the one that give OHLC value. But I could not see any such function.    Please let me know how I can get the previous values of the Bid or Ask?
I have an EA written in MQL5 the EA depends on data from four indicators, sometimes it copies the data correctly most times I get an error 4116, as a result of this error trades that depend on the value of the indicator are closed because of the ridiculous values that are posted to the indicator...
Hello Everyone,  I tried to modify Stochastic,  to pop-up alert  only one time once indicator reach to over-brought or Over-Sold Level. But again getting same error,  //+------------------------------------------------------------------+//|...
Hey! I need to dynamically fill objects of complex types (class or struct) with data. The class/struct may look like this: class FooClass{   public:      int Int;      string Str;      double Dbl;      .      .      .};struct FooStruct{   int Int;   string Str;   double Dbl;   .   .   .}; The catch...
Hello, when i place a file into folder files i can open this file when running or debug my expert. But when i run the backtest, the file is not found. Ok, after some research, i found the property tester_file. When i add this to my code: #property  tester_file...
Both of them returns the computer time, isn't it? What is the difference between them?
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.
  The Best Indicator for Profit  (42   1 2 3 4 5)
Hi All What is your favorite indicator, that makes you a constant profit? thanks for sharing
  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?
  Symbol in MQL5  (2)
Is there an  alternative  symbol  or conversion in MT5 for ' SYMBOL_STOPSIGN '. Thank you.
Hi all gurus, I've hust started trading, and since I've an engeneering background and approach, I've investigeted formulas, and read a book written by Renato di Lorenzo, based on work of Corinnah Kroft, who has worked with Butterworth filter integrated with that one of R. F. Mayer, so to have two...
  How to install MT4 Indicators?  (132   1 2 3 4 5 ... 13 14)
Here is a little guide on how to get the work done NOTE: An indicator can be of 2 format (extensions), .MQ4 and .EX4. MQ4 is the source code, and EX4 is the compiled version of the code. Step By Step 1) Download/Copy/Save the MQ4/EX4 file into your C:\Program Files\MetaTrader 4\experts\indicators...
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.
  RSI indicator  (1412   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...
PSAR indicator, with colors to indicate direction + Alert when a cross is happening. Download it here Download Parabolic SAR Alert Good Trading!
Hi, i'm newbie in MT5, i dont find the trick to add indicators in the MQL wizard. I like to add a standard Alligator. I've take a look on https://www.mql5.com/en/articles/226 but i didnt understand Thank you
Hello, The OnDeinit () method for an indicator, no longer exists in MQL5? //+------------------------------------------------------------------+//|                                                          ttt.mq5 |//|                                   Copyright 2018, Pierre Rougier...
Hi, I had a indicator that was working that no longer works. I ran on metaeditor to see for errors, and I got the following error. 'Period_W1'-cannot convert enum    [on line 22] Any suggestions on a fix? Anyone?
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...
  Stochastic Oscillator, the beginning  (1279   1 2 3 4 5 ... 127 128)
I tryed to collect everything about one indicator: Stochastic Oscillator. "Technical Analysis from A to Z": OverviewSto.chas.tic (sto kas'tik) adj. 2. Math. designating a process having an infinite progression of jointly distributed random variables. --- Webster's New World Dictionary The Stochastic...
Multi Pair Closer: This EA will monitor the net profit of a currency basket and close all positions when the specified profit has been acquired. It does not matter which chart you run the bot on, all pairs that you have chosen to monitor will be monitored. Author: Matthew Colter
New article MQL5 Wizard: New Version is published: The article contains descriptions of the new features available in the updated MQL5 Wizard. The modified architecture of signals allow creating trading robots based on the combination of various market patterns. The example contained in the article...
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...
EA Move StopLoss to BreakEven: When the order reaches the specified profit, then EA automatically moves StopLoss to BreakEven. Author: commgrow
New article Poll: Traders’ Estimate of the Mobile Terminal has been published: Unfortunately, there are no clear projections available at this moment about the future of the mobile trading. However, there are a lot of speculations surrounding this matter. In our attempt to resolve this ambiguity we...
Fractal Levels: A regular modification of the fractals by B. Williams. Author: lotos4u
Currency Correlation: Correlation between 8 currencies. Author: pipPod
New article Embed MetaTrader 4/5 WebTerminal on your website for free and make a profit has been published: Traders are well familiar with the WebTerminal, which allows trading on financial markets straight from the browser. Add the WebTerminal widget to your website — you can do it absolutely free....
Hourly Pivot Points with Color Filling: This indicator uses two ways to calculate R1/R2/R3/S1/S2/S3: normal formula and Fibonacci, and users can choose one from them. Author: Dean Feng
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...
MA Cross Studies: Simple program using the moving average as bias and providing many trade and money management options. Moving Average Studies This EA was created to study the effects of various trade and money management strategies applied to a simple system, using only a Moving Average for bias....
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,...
Martingale Bone Crusher: The EA uses martingale strategy: it enters trades according to the price that is above or below Moving Average. If we lose a trade then the EA will take a new trade in the opposite direction with a multiplied lot size. This Martingale EA can work on all pairs and all...
DevStops: A variation of Deviation Stops (DevStops) indicator. Some are wrongly calling this version a Kase DevStops (which it is not - Kase DevStops indicator is calculated in a quite different way), but this version has its good points too and can be used in regular support/resistance mode...
DailyLines Vertical lines starting new Day with above name of the DAY. Period Separators with options to choose different styles.: Like period Separator each new day will gets its line at starting. Above this line you can read the text what day of the week is starting. The lines can be dotted,...
  Trailing Stop  (4)
Hi guys then I'm trying to do the function of this This is the code But I did not understand why I do not change the order however in the function "TranlingStop " enters it (in fact I see the comment "tS") but it is not however does not perform the "orderModify" and I do not understand why someone...
Can someone help me code this script a a daily open line indicator? Would really appreciate it. Thank you.
Well,  MarketInfo(Pair,MODE_LOTSIZE) gives the value in base currency. Is there any way to get the value in deposit currency?
Hello everyone, I wanted to ask how I can set up an ea to open operations only from one hour to another. For example, I would like you to open long or short transactions only if a maximum or a minimum is broken between 2 and 3 pm
Hi all, I need help as follows: 1) There are numerous Objects in the chart, I am interested to get value of the object on a specific bar of the chart.  2) Object with the names, as an example, "XYZ04", "XYZ110", "XYZ005"  appear on the chart, therefore I know the prefix, but I do not know the suffix...
I am a little bit new in this language, but I have the basics. I want to trade EUR/USD, and my account is in EUR. I have 1000 EUR in my account. What I want: open a position with stop loss and take profit. I want to place an order with 100 euro, and I want to set the stop loss to 10 euros, and set...
Can someone show me how to show the transaction spread in MT4? I would have expected it to be in the "Account History Detail Report" but it is not there.  They show Swap and Commission but there is no column for Spread. The Profit shows but my broker says the spread is already subtracted.  How do I...
I need thd exact same macd as in android mt4. Where can I download it, whats it called in the codebase? I need the exact same paint on pc as in android.
  Coding help  (7732   1 2 3 4 5 ... 773 774)
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick? Tnx
Hello, I need help. I need to add push notifications alerts to a MACD indicators that comes by default in the mt4 for windows, this MACD finds divergences and draws a line where the div is in the price and also in the macd, it's very nice for me.    This is the original MACD code, can someone modify...
Hello everyone, i need a help Sometimes i close orders whole and sometimes i close orders partial. Can anyone to give the condition for the below code because it open a bulk orders against the close order. void OpenClosedOrders()  {    for( int i=OrdersHistoryTotal()-1;i>=0;i--){...
Hi all, if I use Note Pad I have no problem in typing @, [, ] and other buttons, but when I use the MT4 Editor the same keys returns different symbols. Where is the problem? Thank you!
I am a little bit new in this language, but I have the basics. I want to trade EUR/USD, and my account is in EUR. I have 1000 EUR in my account. What I want: open a position with stop loss and take profit. I want to place an order with 100 euro, and I want to set the stop loss to 10 euros, and set...
Hey guys, I know it sounds silly but this piece of code I use in almost every indicator is a riddle for me. It works perfect but I don't understand what I am doing there. The purpose of this code is that something should only be executed once a minute even if timeframes are changed.  I know it's all...
Hello all I'm new here this is my first topic, I already find all information about the subject in google so on in forex forum but I didn't find the right one can you all help me? Below is my code I want to make it available to close auto trades like EA in EA not just manual trades. input bool...