To post a new topic, please log in or register
Any new software inevitably contains bugs that are not alwayspossible to detect even under the most rigorous in-house testing. Wetherefore attach great importance to all user reports about issues inour programs and try to answer each one of them. In order to improve feedback from MetaTrader 5 end...
It took me a while to figure out the bug in my code, but it boils down to StringToShortArray() function this is the test: void test_strings(){    ushort a[];    int alen = 0;    string s = "michael";    StringToShortArray(s, a);    printf("string '%s' has len %i    array a has len %i", s,...
  problem in srategy tester  (11   1 2)
Hello Backtest tab in "strategy tester" , doesn't show any thing after testing strategy. How can i fixed it?
Hi i want Create a file but my parameters is to much and I'm faced with this warning : FileWrite - wrong parameters count I want all the parameters to be written horizontally How can I fix this warning?
  Become an Author at MQL5.com!  (130   1 2 3 4 5 ... 12 13)
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...
MQL 5 cloud service can not work since last week,I charge 200 dollars ,and now i need it to work seriously,what is the problem?
  How to vote  (3)
Hello, I have a simple question, I would like to know how I can vote (evaluate) an indicator or others on the market? (Lol)
Hello Dear Mql5 Community. In my account one of closed jobs still remain as in progress job.  this job has been canceled by arbitrage and customer recieved his fund but this job remained in my progress job lists and made my box busy. Any one or mql5 admin has any solution ?
Hi, I need a MQ4 to MQ5 Converter, anyone have? Been looking for this since two days now... Want to test a strategy on MT5 Multi threaded strategy tester, thanks everyone..
This is, most likely, an obvious answer....I am trading FOREX binarys on NADEX. The question is this: If a trade is 5 hours out, what timeframe/s should I consider with respect to this possible trade? Thanks for the info
  VPS
When can I close my online platform after lunch VPS (and getting synchronized) . And when I again lunch my PC platform, must I synchronize it with VPS, to view  my stats on VPS ? Thanks.
Less than 1 : 1 , 0.20 : 1 that means risk 0.20 and get profits 1, Less than 1 : 1 , 0.33 : 1, Less than 1 : 1 , 0.50 : 1, 1 : 1, 1 : 2 that means risk 1 and get profits 2, 1 : 3, 1 : 4, 1 : 5
Hi, I'm new to MQL5 and I dind't find a solution to this problem that I think is simple. In MQL4 it is simple to get the price of a vertical line.. but I don't know how to get it in MQL5. Thanks Piero
Hi, If my signal account drawdown is 55.5%, still can get get subscribers to copy the signal?  Thanks.
A must ! Before using it or asking any question : please read the Online Help  (Also accessible by F1 on your MT5 platform) Strategy Tester For Traders General overview of the possibilities. Overview of results : Visualize a Strategy in the MetaTrader 5 Tester  , The general information about...
Hi everybody I am beginning to think its impossible to predict the future so I thought of a new system and would like to hear your two cents On the daily Find three or four currencies with the lowest spread Buy or sell them It really doesn't matter \ Put a 15 pt stop loss on each one Check them...
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can...
  Copying MQL signal  (10)
I plan on copying trades from MQL from a trader, however want to connect 3 accounts to the same trader. Do i have pay individually 3 times separately with 1 MQL account? is that possible? Or i will have to create 3 separately MQL accounts and make the payments from each MQL account separately? 
Hello to everybody, I have a little problem, because of my little knowledge of MQL5 language... Once I open an order, using OrderOpen() of Ctrade class, now I want to know to check its status at every tick; i.e. I want to know if it is still opened or instead closed because of TakeProfit or StopLoss...
  Positive Swap  (3)
There is script or AOS. Who is watching . A positive SWAP trader and make up a signal?
i have wanted to test some indicators from the market for MT4. but backtest engine produces error. as shown, it expects "EURUSD5" but correct sintax is "EURUSD,M5" this problem occures during the test of the indicators which is from the market. there is no problem for unprotected indicators. is this...
Hello to everybody, I try to run this chunk of code double price = 0;double sl, tp;price = SymbolInfoDouble(Symbol(),SYMBOL_ASK)+offs*point;sl    = price-stopLoss*point;tp    = price+takeProfit*point;if (m_trade.BuyStop(0.01,m_symbol.Name(),price,sl,tp,ORDER_TIME_GTC,TimeCurrent()+86400)) {...
I was looking for but I didn't find it, so I am turning to you. Expert: When I enter the deal manually. Processes open positions sets TP and SL. After SL is in positive numbers. Shifts SL to positive numbers. Does anyone have it? Thank you
A lot of traders announce that they are able to make $1000 a day. Although I mostly greet them with disbelief, I have decided to raise the issue here to see whether anyone is REALLY making that much per day or its fake? I am waiting your good replies.
  Question on Hedging  (73   1 2 3 4 5 ... 7 8)
Which is the better hedge of the following two options and why? A) 1 lot short of EURJPY, 1 lot of long GBPJPY and 1 lot long of EURGBP B) The volatility of GBPJPY = $1200 per day The volatility of EURJPY = $700 per day The volatility of EURGBP = $450 per day 0.15 lots long GBPJPY, 0.50 short EURJPY...
  Hedge Calculator  (107   1 2 3 4 5 ... 10 11)
Hi! I'm here to share with you a story about a trader journey in search for the holy grail. And also intruduce you to a powerful hedge calculator, incase you haven't heard of it. June last year, a biker friend of mine who is a chief mechanic of our motorcycle association learned that I was engaging...
  Scalping system  (162   1 2 3 4 5 ... 16 17)
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...
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...
hello,  ive been testing this EA to see if its the one for me but I keep getting gob smacked, the results differentiate every time I test it  ive tested it on two brokers with the exact same spreads, different results  ive tested it on the same broker but on two different accounts that has the same...
This system is based on Metatrader charting. The tools needed are the following: 1. 15min EURJPY chart 2. Heiken Ashi 3. SMI [STOCHASTIC MOMENTUM INDEX by William Blau] First indicator window (Settings: 14,10,14,5) (Levels:+40,-40,0 4. Stochastic Oscillator [This one in the second indicator window]...
  Forecast and levels for Dax Index  (52   1 2 3 4 5 6)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
There is an opinion that from time to time some great capital, who knows SL in small enterprises, is playing against the market to defeat them and their machines. On mql5.com, I read that in the last days there was a loss of 4 to 5 million baks in the group of salesmen. This is a huge loss of...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
  MT5 real FUTURES broker  (24   1 2 3)
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.
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
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...
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
I have been searching for this Index, MSCI Taiwan Index or TWIXUSD, can't find any on MT4 or MT5, anyone know of any brokers that provide them? tks
  Forecast and levels for S&P 500  (459   1 2 3 4 5 ... 45 46)
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...
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...
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...
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 international broker has expanded its exchange trading offering. Using the multi-asset platform, traders can invest in securities of global corporations, such as Allianz, BMW, Bayer, Siemens, Heineken and Royal Dutch Shell. This addition to the previously available portfolio of US stocks, brings...
When using MT4 Strategy Tester for CFD strategies, I noticed that the historical data for CFDs went back to only 2015, whereas FX historical data went back to 1980. I tried to download more data from History Centre, but I got the notification 'No new data for this pair' Is MT4s CFD historical data...
Hi, is it possible to re-implement iADX() using iCustom() or any other option to have ENUM_APPLIED_PRICE on its call (as it was on MQL4)? MQL4: double  iADX(    string       symbol,        // symbol    int          timeframe,     // timeframe    int          period,        // averaging period...
Greetings. I've coded a simple EA that uses CTrade to buy, sell and modify orders. When buying or selling, I'm using SL / TP to close orders. The issue is that although SL / TP are correctly set, they're completely ignored by Strategy Tester. The prices will reach the SL / TP levels many times, but...
Hi everyone :), I've currently got a freelancer working on an EA for myself and there's one strange bug that I can recreate but they are unable to. Basically when changing variables in the 'input' tab on the strategy tester I find that they get automatically reset if I tab out of the 'input' tab and...
Hello, i want to catch market orders in OnBookEvent(). But all i get are limit orders of the market depth. My Code: //+------------------------------------------------------------------+//|                                                     testbook.mq5...
From what I remember, when I activated an EA on different installs of MT4 (tied to different accounts) on the same computer, I used one activation for each install. According to all the documentation I've read on this, it is one activation PER COMPUTER...meaning I can install the EA on as many...
Hi All, I've been using these forums for a while but not posted before.  I've been digging around but can't seem to find a full resolution to my query so here goes.  I see this as more of a logic problem and not specific code so haven't included any coding. I have an EA that runs on MT4 and runs...
see picture and  i wirte code : if(Ask!=FindOrderOpenPriceByType(MagicNumberBuy,OP_BUY) && (Ask-(GridStep*Point)>=FindOrderOpenPriceByType(MagicNumberBuy,OP_BUY) &&   Ask+(GridStep*Point)<=FindOrderOpenPriceByType(MagicNumberBuy,OP_BUY)))   int buy4=OrderSend(Symbol(),OP_BUY,MinLots,Ask,0,0,0...
Hello everyone! I know how to say " If RSI > x  , then do this" But, how to say     "If  RSI > x when candle is closed then do this" ( I mean the last candle )  Thanks for your help. Have a good day :)
I am searching for a Best Forex Expert Advisor And Profitable FX Trading Robot in mql5 codeBase page .. Help me find out a best profitable robot for a small account .. . Waiting for your kind information 
Hello sirs. I have a question. If I use FANN Neural Network can I apply the input for high prices ? And shall I get the high values in csv and only after train the network on that dates? Thank you.
Hye there. I apologize if this has been asked before. I am a beginner in creating EA and would appreciate it if someone can point it out to any youtube channel or websites that teach me how to write a script in meta editor for free. I would like to create an ea with 3 indicators in indicator chart,...
Hi everyone, I hope you are fine. I am having a hard time with the following error. I get an error cancelling an already placed pending order due to invalid stops.... 2016.05.12 06:00:00 failed cancel order #226 sell stop 1.20 EURUSD at 1.14209 sl: 1.14462 tp: 1.13653 [Invalid stops] Why am I...
  HedgeEA  (652   1 2 3 4 5 ... 65 66)
Some time ago, on Elite section cturner and me begin the development of an Hedge EA that allow to hedge two currencys taking profit from the swing and from the swap. I think that for now there are too many people busy with the championship so, I 've decided to bring the EA to the public zone so...
Somebody can advise me for a series of tutorials about how to start with using wizard of metatrader 5?  Something for real dummies, for start, something easy, for modify and understand how it works? For develop own indicators and trading system (start to do it....) Probably this question is already...
I check the box next to the input variable i wanted to change, then set it to a different value. But when i click 'Start' in Strategy Tester it resets. What am i doing wrong? How do i simply change one value in 'Inputs'? Using MetaTrader 5.
  StepMA Stoch  (3)
Very nice indicator I found elsewhere. I'm not sure what the 'official' way of trading it is following the direction of the blue or yellow line (depending on timeframe) looks very nice. And ofcource the xovers.
Hello. This indicator doesn't repaint with higher settings (length 8-9), but with length setting at 1 it repaints (on current candle if open price is used), but it's with that lower settings (1) that it "does the trick"... Is there an error in the code that can be corrected making the indicator non...
Hello I would like to hear advice from somebody who has experience with my problem. I have indicator and it has 4 buffers. Each buffers has own color. Its classic histogram with 4 colors. 2 color for rising and falling and 2 colors for values are above or bellow 0. When I run with cursor over bars...
Hello, I have an Indicator which calls an another CPU heavy custom indicator (on 7 different currencies). So, in the Init function I create the 7 handles and within OnCalculate I use CopyBuffer to get the data.  Sometimes this indicator starts normally but sometimes it seems the buffers are not...
Hello everybodies, A new version about my chart clock As always transpareny and move it with a simple mouse click . better synch with the Pc timer and automatic synch with it  check the code if you want to change any parts of that clock Hope that will give you a nice help in your trading :) If you...
Hello everyone, I find this indicator intriguing and with great potential. The only thing that's missing is an explanation for the settings. What do the parameters mean: "leftbars", "rightbars"? What do the numbers above the signals mean? How does the indicator show the trend, not just the points?...
I'm pretty new to mql5 and are trying to create an indicator, what i want is simple, but i seem to be missing something from it. I want to compare the close price of the 2 bars by the minute, if it is more than a certain value, it adds 1 to a indicator (Array?) So Say Bar A-1 closes at 1.555 Bar A...
i had coded an indicator that works fine but it want not work on a affline chart like renko or range chart i dont know why and what is the solution ?
  Zigzag indicators  (624   1 2 3 4 5 ... 62 63)
Different zigzag's indicators please post here.
All Arrow Buy/Sell with Alert, but only arrow without oscilator etc. ?! Pure chart with alert arrows, points ;). Stoch comeback cross arrow with alert ? RSI comeback cross arrow with alert ? CCI comeback cross arrow with alert ? ASI comeback cross arrow with alert ? Williams comeback cross arrow...
Nonrepaint RSI indicator that will assess and display trade recommendations.Alert will sound when trend changes to up down or sideways.Do not have to worry about this one repainting.
Hello. I´m making my first indicator for MT4, how can I tell the indicator to signal me only if the close of previous candle close was xx pips or closer to xx MA? I would love it to be universal so it would work for both gold and mayors. Thanks a lot
I need an indicator of MACD alert when crossover specific value (+ and - values). may anybody help . Thanks
Hey guys, can someone please help me alter the code for the ATR indicator? I simply just want to get a notification alert (mt4 or email) for then periodA ATR > periodB ATR Any help is appreciated, thanks!
New article Implementing a Scalping Market Depth Using the CGraphic Library has been published: In this article, we will create the basic functionality of a scalping Market Depth tool. Also, we will develop a tick chart based on the CGraphic library and integrate it with the order book. Using the...
  Indicators: Inside Bar  (15   1 2)
Inside Bar: Indicator detects the Inside Bars and marks them high/low (no redraw). Author: Taras Slobodyanik
MQL 5 Wizard - Simpler Intraday Time Filter: Filter based on the Intraday time filter offered by the standard library. Author: Genes Luna
3D_Ma: Buffer-free indicator implemented on iCanvas Author: Nikolai Semko
MT5 to MT4 Set File Converter: This script converts multiple .set files from MT5 format to MT4 format. This is a necessary step for optimizing and running cross-compatible EAs. MetaTrader 5 is able to load .set files created in MT4, however, the format it saves set files in is not compatible...
Gann Grid: "Gann Grid" EA draws Gann Grid lines on chart and trades with price breakthrough,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
New article How to Access the MySQL Database from MQL5 (MQL4) has been published: The article describes the development of an interface between MQL and the MySQL database. It discusses existing practical solutions and offers a more convenient way to implement a library for working with databases....
Price Percentage and Times on cursor crosshair: This indicator enhance the functionality of the standard crosshair of MetaTrader adding the difference in Percentage and the time span in a human readable form (not in bars, but in Hours, minutes, days, etc) Author: ludoz
  Libraries: JSON Parser  (30   1 2 3)
JSON Parser: This is a Class for the new MQL4 that parses JSON. It requires the Hash.mqh class. Author: ydrol
All Market Symbols and Data extraction script: Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted. Author: mgaforex
Dserg - LinRegression Breakout: The indicator for automatic drawing of consolidation areas and channels based on the linear regression Fig.1 Dserg - LinRegression Breakout Author: Nikolay Kositsin
News EA Template Without DLL From 2 Sources: The functions included in this template use two news sources - Investing.com and Dailyfx.com. The template doesn’t use DLL. Author: Yurij Izyumov
  Experts: VFX London Breakout  (163   1 2 3 4 5 ... 16 17)
VFX London Breakout: Expert Advisor which trades breakouts in several pairs during the London Session. Author: Vinicius de Oliveira
Explosion: Advisor scalper. Trading algorithm: Candle[0]> Candle[1] * 2.Taimframe - 4H. Author: Vladimir Baskakov
  Experts: RoNz Auto SL-TS-TP v.2  (170   1 2 3 4 5 ... 16 17)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
Hi, can someone please advise an EA for GBP USD that would wait for the 1 hour candle to close at 3 am EST, that calculates the high and low of the previous 1 hour candle and then set two pending orders; a buy stop 10 pips above this 2 am EST candle high price and a sell stop 10 pips below...
  Trend Quality indicator(s)  (131   1 2 3 4 5 ... 13 14)
These indicators are all based on a 2004 April issue of Technical Analysis of Stocks & Commodities article by David Sepiashvili. Originally there were only 2 versions developed by the author, but there were some possibilities that were not explored in that article which lead to developing some more...
Hello Guys,  I recently changed the broker and started using the MT4 platform. It's amazing how much is possible with it. But frankly I'm also a bit overwhelmed and searching for something specific is not that easy. So I'd like to ask you for help. Does anyone happen to know if there is an...
Hi all, I have a copy/paste script that can copy trendlines, vertical lines and horizontal lines that I draw on my charts. The ideea to do this is to be able to draw them on naked charts and then copy paste them on the same charts after I apply templates.  The problem is that this copy/paste script...
  Slippage and stop losses  (15   1 2)
For the purpose of reducing the exposure to slippage, is there any difference between using regular stop losses embedded in open orders or using OrderClose() function at the relevant price level? Which method would you advise? Thanks.
Hello  I make an image by WindowScreenShot and I want to copy this image to clipboard and paste in other programs (like telegram desktop or paint) I saw very good code for CopyTextToClipboard in this link : https://www.mql5.com/en/forum/153674#comment_5020915 I'm trying to use copyImageToClipboard...
  Need help to finish my EA  (12   1 2)
I've created an EA which is supposed to open trades base on RSI values and should work on 15min time frame. But it doesn't recognize the 3AM candle on everyday so doesn't open any trade. I appreciate if someone kindly debug this code for me. If the RSI is above 50 at 3:00AM ET (15Min. candle close),...
I want to ask you if it is possible to close all open orders and to delete all pending orders within a unique call to a method. Without the need to iterate over Orders MODE_TRADES. Thanks!
Hi friends, Hope you're doing great, Today I faced with a very special issue regarding the Account History of the MT4. I've written an EA and now I'm testing its operation on a demo account on real time. Within my EA code, I've written a procedure to save the details of the order with the info I...
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
Hello forum, I have my entry and my stop-loss and I want to calculate the lot size according to my risk-management. It works fine and this is how I do it: double pipRisk = MathAbs(orderOpenPrice-orderStoploss);double lotSize  = AccountBalance()*0.01 / pipRisk / (MarketInfo(_Symbol,...
I use an EA to partially close positions but in the account history those orders result as a deposit instead of profits as you can see in the picture. it's pretty annoying because the detailed statement will be wrong. how can i solve this?
Hi friends I read the documentation about StopLevel and FreezeLevel, but for being confident about where to check StopLevel and FreezeLevel I decided to ask it from experts. I want to know whether I should use both -StopLevel and FreezeLevel- for all the following trade operations: OrderSend,...
APeng
Questions about that were asked quiet oftenly and I read all answers and some article fitting to that topic - and I still cannot solve that simple problem :/ PLEASE HELP ME! I want to draw a trendline using ObjectCreate("Trendline",OBJ_TREND,0,Price1,Time1,Price2,Time2); I want Price1, Time1 to...
  Traders joking, the beginning  (7441   1 2 3 4 5 ... 744 745)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...