Download MetaTrader 5
To post a new topic, please log in or register
Hello My server's ping is 2 ms When I want to close all my positions, the difference between each closing is at least 300 to 400 ms. I used: void CloseAll()  {while(PositionsTotal()>0)   {    for (int i=PositionsTotal()-1;i>=0; i--)    {          PositionSelect(PositionGetSymbol(i));     m_trade...
Would Cloud Optimizing using 1 minute OHLC over Every Ticks be cheaper and faster?
How can I get mouse coordinates under an object when I click on it? Is it possible for MT5 to generate 2 events when I click on an object? I mean, CHARTEVENT_OBJECT_CLICK and CHARTEVENT_CLICK also? I tried almost every idea I had, but now I'm stuck. I cannot get mouse coordinates when I click on...
the guy who created this theory won a nobel prize on this, but warren buffet is totally against it, so what side is true? 
  Become an Author at MQL5.com!  (97   1 2 3 4 5 ... 9 10)
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...
I just saw the new signal presentation page (the page you see, when you click on a signal) and in my opinion is very complicated. The description, which is one of the most important things in a signal has moved to 5th tab and the open trades and history, to the 8th (and last) tab! Earlier you could...
  Traders Joking  (9313   1 2 3 4 5 ... 931 932)
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.
  Press review  (5386   1 2 3 4 5 ... 538 539)
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...
  Forecast and levels for EUR/USD  (74   1 2 3 4 5 ... 7 8)
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...
  Indonesian Member  (1078   1 2 3 4 5 ... 107 108)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  "No loss" recovery hedging system  (59   1 2 3 4 5 6)
Question: Would you be willing to trade any system or strategy you want on your $10000 account and turn every trade you take into a win trade (of $200 or $20) or a breakeven trade and have only a small theoretical chance of losing let's say $600 in worst case scenario? Some traders would probably...
Dear Traders how you doing?  i have a question: i was thinking of formulating a new hedge strategy, the following question jumped into my mind, so i thought of posting the question in this forum as it is a full of experts. Is there any strategy that can closed on profit or in worst case break even...
  points == pips?  (53   1 2 3 4 5 6)
is it the same? ulong Deviation=20;mytrade.SetDeviationInPoints(Deviation); so is = 20 pips???
  Trading System by Xard777  (3854   1 2 3 4 5 ... 385 386)
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
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...
  Tools to analyze the trades  (88   1 2 3 4 5 ... 8 9)
First of all I am using this small script (attached) created by Beluck and fixed by Igorad. To use it be sure that you have "all history" in "account history" in your Metatrader (for the right calculation).
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...
  PipMaker v1 - Price action based EA  (2247   1 2 3 4 5 ... 224 225)
I will keep it simple, short and to the point. This little EA has a lot of potential. A friend of mine and I have collaborated on many different types of systems in the past. This is a culmination of our efforts. He has a very similar type of EA that is currently making 10% per month. Here are the...
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...
Look at the W1 and D1 indicators. I thought it's just a coincidence, but, I looked at it for some time and both of the digits change to the same value. I mean when D1 has 6% the W1 is instantly get to 6% and when the digits go up, say 10% in D1, the W1 value goes to 10% instantly. I looked at other...
  Forecast and levels for S&P 500  (110   1 2 3 4 5 ... 10 11)
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...
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...
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...
  Apple  (11   1 2)
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...
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...
The Claws & Horns news feeder integrated with MetaTrader 5 features the daily analysis of Russian shares traded on the Moscow Exchange. The feeder developers have expanded the list of provided services due to the growing demand for such analysis from traders. Claws & Horns mainly focuses on blue...
Lookingfor technical ways to avoid losing money with my trading forex investments, andgetting the best methods to be a successful trader. Also your knowledge and experiencewith forex trading signals thanks
  Derivative Oscillator  (59   1 2 3 4 5 6)
Hi all, I'm trying to convert this Connie Brown's indicator to mq4....but nothinb is plotted on the chart!!! Can anyone help me...the indicator is very simple... I also have the metastock formula of Conni Brown's Composite Index....is someone interested on it?? Thanks
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...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Hi, I will develop free EA for you, Just give me your experience logic, and i will develop it. I already develop more than 10 EA based on patterns, RSI, stoc, MA But all give lose. Now you will give me logic/alogo  And i will develop your EA robot as per your guide line. :)
  Requests & Ideas (MQL5 only!)  (252   1 2 3 4 5 ... 25 26)
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.  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.
Hey guys, I am looking for an EA that will allow my stop losses and limit orders to be invisible to my broker. Can anyone point me in the right direction as to one that already exist or to a programmer? I am not looking for strategy included, just those two options right there. Thanks
Hello, if I do: string a = EnumToString(MODE_SMMA); I get: a = "MODE_SMMA" Now, I would like some function that does just the opposite, I mean something like: int b = StringToEnum("MODE_SMMA"); b = 2 where 2 is the int value associated to the constant: "MODE_SMMA" Regards, cyberglassed.
  StringToEnum  (23   1 2 3)
Hi everybody, It's possible to convert an enum to string though EnumToString. What about the reverse operation? There's an way to convert it back (other than create and function and compare item by item)?
Is there a watchlist program where I can set it to load my EAs by clicking on a symbol?  Something to simplify the loading of EAs on multiple charts. Just click on symbol and chart automatically loads with EA
Hi Everyone, Does anyone know is there any substitutes for OrderCloseTime() in MQL5? How can achieve the similar results in MQL5 as below?    for(int i = 0; i < NumOpenOrders ; i++)     {      if( ticket=OrderSelect( NumOpenOrders[i],SELECT_BY_TICKET ) > 0 )        {             if( OrderCloseTime()...
Hello, Is it possible to join Python 3.X with Metatrader? I found on internet that links are done only for 2.6-2.7 versions.  And of course none of them are working for Python 3.5 version.
Hi I coded a simple EA for my first try, but it does not work when it was tested. I got the problem about "unsupported filling type" last time and I added some new code to solve this, but this time it still does not work by sending the error code: 4753. I am really confused becoz I dont know where...
Hello, is it normal to get no margin information ? 0=SymbolInfoDouble(symbol,SYMBOL_MARGIN_MAINTENANCE);0=SymbolInfoDouble(symbol,SYMBOL_MARGIN_INITIAL);CSymbolInfo si;si.Name(symbol);0=si.MarginLong();0=si.MarginShort(); All zero. I am happy.
Hi  I want to write the following into my indicator but I don't know how, can someone help me please? On each day, check the 5min bar at 08:05, and draw out the high and low for this 5min bar. (Basically is the high low between 8:00 to 8:05) Many thanks for helping
Can anybody do this for Metatrader 4? Here's the Easy Language Code: Inputs:Period(130),Coef(.2),VCoef(2.5), SmoothingPeriods(3); Vars:TP(0), Inter(0), VInter(0), CutOff(0), VAve(0), VMax(0), VC(0), MF(0), DirectionalVolume( 0 ), myVFI(0); TP =...
Hi everybody, I was wondering if anyone knows how to delete smaller time frames on mt5. eg. everything up to and including 1hr. and add some such as 8 hr, 12 hr. Thanks.
Hi  I am pretty new to this, I have downloaded a stochastic cross alert indicator, but I don't get my expected result. On a M15 chart, I literally have signal every 15 mins, and the buy and sell signal is just totally wrong.  I have attached the code, and someone please help me to debug this. Many...
I'm looking for an indicator that shows me the max drawdown within a certain number of time (or bars) during a trend. Would be great to see a calculation on the screen of the max pullback amount in numbers.
  Elders market thermometer  (22   1 2 3)
Elders market thermometer - from "Come in my trading room" - a real classic Mode parameter : 1 - "original" mode (picture 1) 2 - colors changed to reflect "trend" (picture 2) 3 - the so called "Silberman's and Lynch" version (picture 3) if in trade already and red bar, then exit get ready for...
Does there exist digital information about news. I mean these news, what are causing big movements on market, you know. One such site is https://www.fxstreet.com/economic-calendar . In this site you can see well marked news with their times. So how are these things in MT5?
Hi everyone, How can one calculate the buffer value for a custom indicator that displays 2 indicators with different values (stochastic which has value of 0-100 and OsMA which has value of -0.00x to +0.00x), as if like adding 2 indicators in one indicator window (picture below)?
  Multi Timeframe Indicators  (12079   1 2 3 4 5 ... 1207 1208)
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...
  Random Walk Index?  (50   1 2 3 4 5)
I'm looking for the Random Walk Index for MT4. The original formula developed by Mike Poulos used 4 indicators- a short-term period of 1 to 8 bars of the highs and lows, and a long-term indicator of 8 to 64 bars of the highs and lows. Any help appreciated, I do not have the knowhow for MT4 coding....
MAMA_NK: This indicator version was created using the code for Omega, written by John Ehlers Author: Nikolay Kositsin
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 MQL5 Cookbook - Creating a ring buffer for fast calculation of indicators in a sliding window has been published: The ring buffer is the simplest and the most efficient way to arrange data when performing calculations in a sliding window. The article describes the algorithm and shows how...
ParabolicM: Simplified Parabolic Author: John Smith
Tipu EA: A simple EA based on Tipu Trend indicator and Tipu Stops indicator. Author: Kaleem Haider
Standard Deviation Channel MT4: A channel based on standard deviation of close price. Author: Ziheng Zhuang
New article Cross-Platform Expert Advisor: Time Filters has been published: This article discusses the implementation of various methods of time filtering a cross-platform expert advisor. The time filter classes are responsible for checking whether or not a given time falls under a certain time...
Float: The indicator which displays the beginning and the end of the trend Fig.1 The Float indicator Author: Nikolay Kositsin
Figurelli RSI: In my opinion, Welles Wilder RSI (Relative Strength Index) is a great momentum oscillator that works fine for small periods values (from 2 to 20). So I did some changes to it performe as good for greater periods, like 120, introducing a gain variable. Author: Rogerio Figurelli
RSO, Relative Strength Oscillator: RSO is an Oscillator version of RSI. Author: Reza Anvari
All it does is paint white squares.
Hi please message here if you or someone you know can help with a project. A programmer I used wasn't able to complete a project for me. The idea was to use an Expert Advisor and code with Delphi a software file that collect all the trade setups from mt4. We should have both programs open and...
  EA Position  (1)
Hi community, I am new to this system and I have just one concern with regard to the EAs working on MT4. So here is my question: "Once the buy/sell position has been taken on a pair of currency with an EA applied on the candle stick chart, does the EA changes it's position automatically based on the...
Hi, placing an indicator which has it's own window ( Momentum indicator ) on a Forex Chart the value returned by WindowPriceMax(1) looks incorrect sometimes. The returned value should always match with the top-right value written on the indicator's window, but a few times these values are incorrect....
Hi, placing an indicator which has it's own window ( Momentum indicator ) on a Forex Chart the value returned by WindowPriceMax(1) looks incorrect sometimes. The returned value should always match with the top-right value written on the indicator's window, but a few times these values are incorrect....
I have an EA that does well but is in need of help! What I need is a Stealth TrailingStop... so my broker (who has large TP/SL spreads) cannot limit me. The EA already places a TakeProfit and StopLoss when the order is placed, what I want is the Stealth TrailingStop to have an activate area... such...
Dear All, as default mt4 there are 2 change color, body and shadow, for outline body color will same with shadow color how to change the outline body color to be same with body and difference with shadow color can someone help me to provide an indicator or something else ? please see attached file...
I'm trying to figure out how to export the Account History and get it into an (Excel) Spread Sheet for Analysis. I did a search, but didn't find a solution. Thanks to any and all for any assistance.
Hello, I have an indicator that I use in an EA, which does its calculations using many symbols, which means that while optimizing the EA, the indicator gets different results than on live. So what I'm trying to do is export the live indicator buffer to a csv file, which I was able to do, and then...
Hello to everyone, My first question on this forum is about accessing close values of a symbol different than Symbol(). I don't understand how it works since when adding multiple identical indicators (identical input parameters) in the same chart (even on simulation) which uses another symbols...