To post a new topic, please log in or register
Hello. I'm trying to resize 2d array.double array[1][1];ArrayResize(array, 100, 100);Print(array[50][10]); Could anybody help me? I'm trying it in MQL4
Hi great ones, I want suggestion: which FREE EA is doing great among these listed ones here?
I've been trying to send test emails from my MT4 but I keep getting login failed messages. The settings are certainly correct and an exact match for what I use in my email client. The only thing I can think of is that maybe the email server requires some specific configuration so that MT4 can log in...
  Forecast and levels for Oil  (119   1 2 3 4 5 ... 11 12)
Brent Crude Oil April-June 2017 Forecast: weekly correction with possible breakdown; 49.69 support is the key W1 price located above Ichimoku cloud in the bullish area of the chart. The price is on the secondary correction which was started in the beginning of January located within the following...
  Press review  (6431   1 2 3 4 5 ... 643 644)
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...
Hi Is there a way to limit the periods available in the ea input for the ENUM_TIMEFRAMES like to only show and PERIOD_H1? I tried few ways but could not get it to work. Thanks
  Help relate data  (1)
Hi, I have a slight problem and would appreciate if someone can help me. I want to study an arrow indicator on a given period of time (2 years for example, M1). The study is done by the script. For this reason I write the following settings to Metatrader 4: Max bars in history: 634000 Max bars in...
I like simple trade. I had my simple EA request. --- Long When he cuts a certain percentage of the price, he enters the position. (For example when you cut% 1) 0.5% stoploss, 1% take profit --- Short The opposite of the base. Percentage number, stoplos, take profit number can be changed, can be...
Hi! I've installed MT5 Agents Manager and setup all the config as instructed. But I've got zero passes so far: Is there something missing?
  My Seller Account Not Approve  (198   1 2 3 4 5 ... 19 20)
I have opened my account in mql5 which has been more than 6 months and has not been opened yet, I have completed all the document and multi, still my account is still unapproved, Please Solution
Hello, I'm trying to get an "MetaTester 5 Agents Manager" up, but I have a problem with it. I still have the zero value of the tests I have given, as well as zero cloud work. Agents seem to be connected to the cloud and see them in the mql5.com portal in the "Agents" menu. Does anyone know why and...
My robot only does correct analysis after a certain time like 30 seconds after starting it. Before that its a mess. How do I code so that the robot doesnt start working after 30s from starting the bot and not before. I was thinking using a variable X=TimeCurrent() but it doesnt work inside OnTick()...
  Traders Joking  (11518   1 2 3 4 5 ... 1151 1152)
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.
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...
Please tell top 10 forex exchange names. Thank you.
  best indicator  (15   1 2)
hi  i want best indicator,Can anyone help me؟؟؟
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers...
Hi, Scalping & trend indicators. Hi, there are so many different indicators can anyone givean indication (links) which ones they have had success with? Or which is a good combination to use (some traders i've heard use a combination of indicators)
Which is the better system, trend or reversal trading?  Many indicators and EAs seem to be for reversal trading but is it really the best way to trade? Anybody know of any good EA that specifically utilizes trend analysis without resorting to a grid strategy or any form of Martingale?
  Something Interesting to Read  (52   1 2 3 4 5 6)
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...
Hello everybody, does anyone know a system that copies trades from telegram signals to mt4/5. I have recently discovered <> they offer a 7days trial (one channel version) which I tried and worked perfectly. Now I want to try their paid version (multichannel version). has anybody  tried it before?...
257 Pips, One Afternoon, One Rusty Old Indicator (--- spreads = 225 pips ---) DISCOVER SCALP TO FREEDOM K.I.S.S. (Keep It Simple Sweetie) FOREX TRADING SYSTEM Let's give 6 pips average from not getting out at best --- below still seems to give: 177 pips in an afternoon?? I put the good old indicator...
I am using MT4 with both an EA and a Signal. When there is a new trade the S/L and T/P settings for existing trades automatically change to new trade settings. This means if the price has changed that the trade can close at a loss. Is there anything I can do to prevent this. At the moment I have to...
  BrainSystem: Setup Questions  (94   1 2 3 4 5 ... 9 10)
I tested this system and have some suggestion about trading and so on. All BrainTrading indicators you may find here. Profiles_default files are here (and attached to this post as well). Shortly I may say the following. - Download all 8 indicators (and iTrend indicator as well - attached) in 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...
  Automated Vs Manual Trader  (20   1 2)
On my opinion, “Automated Trading Systems” does notpay attention to the Ratios. However, by automating your system there are zerochances of falling in love for a deal, which is good since no one is lookingfor love here! In the other hand, very few traders can actually automatesomething different....
Whats up traders, I've came across a strategy which prove promising with manual back testing which I'm sure is a old strategy for the pro's.  Explanation of strategy: 15M Chart. Rules to buy: Signal - MACD cross above 0. Only take trade if Stochastic and RSI is above 50. Rules to sell: Signal - MACD...
Hello. I am using the dialog class to create a trading panel. It's almost finished. What is missing is the function of partially closing orders, which is giving me a headache. I get an error message when trying to use the partial close function. The order ticket is picked up correctly, so I dont...
Is there any MQL5 code to return the finance value (money) of TP and SL position?
ObadaKiwan
Just making sure. Do you just put in money with your Community account and it'll be sent into your real trading account? Thank you, guys.
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...
Chicago Mercantile Exchange offers Currency Futures options and the historical data is available. Is there any backtesting tool for Currency Futures Options? I am looking at plotting the implied volatility of a constant delta options . For example the 30 day 25 delta for EurUsd futures contract...
Hi, For Indian Market, Strategy Tester in EA is not working but it is working for Indicators. There are two possiblites to work Make it work in EA indian market account (or), Copying the symbol data and load to other mt4 demo account and test How to do ? Suggest me with solutions
Monthly Forecast for USDTRY 1950-2018 1960-1977 %235 2001-2018 %249 1978-2000 %1394 Source: CBT-EVDS Data Central
DJIA January-March 2017 Forecast: long-term bullish; resistance level at 19,987 is the key W1 price is located above Ichimoku cloud in the bullish area of the chart: the price is on testing 19,987 resistance lkevel to above for the primary bullish market condition to be continuing. The price is...
  Forecast and levels for Dax Index  (54   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...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
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...
  Apple  (28   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...
  Forecast and levels for Nikkei  (32   1 2 3 4)
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...
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...
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
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...
I've written an EA (with help of existing code I have found on the forum and the net) that reads in information from the experts log file. However, I need the information in real time, and the log file is only updated in intervals throughout the day I think, when the terminal is closed, or when you...
Hi I have two potions opened. 1 buy and 1 sell.I want to close them at the same time. how do i do that using the inbuilt mt5 include codes? Thanks.
Hi everyone, I can't solve this programming error: "lastTime2" and "name2" do not work (no value is assigned to them), but "lastTime1" and "name1" work. Some idea? Thank you //Scriptstring name1,name2,name3;void OnStart() {   string Currency1=StringSubstr(_Symbol,0,3);   string...
  Roffild's Library  (20   1 2)
https://github.com/Roffild/RoffildLibrary Please do not delete or move this topic.
Hi All, Thanks for your time in seeing my issue. I am trying to make logic with mql5 platform with some rules pre-defined in place,thus achieving auto trading. but i could not see my order is placing i.e both buy and sell on those rules in 2hourly,30min,5 min chart. kindly need some...
Hi! I'm facing a issue with MT5 Optimizer. I'm running some optimization and few days ago the results are zero trades for most part of the tests. But not for all tests combination. Just like this: I have an EA which was working fine for tests, but it started to give me this kind of report. Any ideas...
How to get the new quotes without the ontick function  
Hello everyone, I am Max, I am a newcomer to robot trading and i'm french. So i apologize in advance if i have a bad English. I am trying to find a fairly simple expert consultant (in MT4 and MT5): EA must accept orders when certain conditions are met. First, the EA must accept orders under the...
Hi Everyone, I want to use a indicator in an EA, this indicator has some input settings that I want to change it by EA and then EA use it for take positions, below picture is input settings of indicator, my problem is How I can use iCustom function for set value of drop down menu? for example How...
hello guys, im new here and i already tried hard to find out want i want buy still cannot find it yet i really need help to find this EA or can some one create this EA  Can anyone help me please? I want EA that can auto modify TP/SL both Buy/SELL Oders to xxx pips or xxx prize base on break...
I am using sqlite database in my EA. When I force stop backtest process agent hangs and never accepts new jobs until I restart MetaTrader. I figured out that after force stop agent still keeps sqlite database file open. I've added file release in both OnDeinit and in destructor of database...
Hello This EA has been developed, is highly flexible and does have profitable settings. I'm (bravely/stupidly) opening it out for people to test and share any profitable strategies they might find. It's not coded for MQL Marketplace yet, so it can't be sold on or used to develop a signal service....
Hi, I tried to load indicator from EA using this ChartApplyTemplate function.  But I don't know how to load with specified indicator parameters, When I tried with template it was load by default params. Like iCustom function with parameters, how to pass indicator parameters to load on template when...
high[1]>ma[1],cLOSE[2]<ma[2],open[0]-high[1]<N2, sell, IF HIGH>high[1](sell bar),close sell, if ma[1]>ma[2],close[1]>ma[1],close sell. buy as the same.
Hello, Im trying to find the mql.exe compiler that in MT4 new builds is not included. I need it to make a WFA software work. Really appreciate your help. Rgds
I did search MQL5 forum but seems like iCustom is executed at incorrect sequence in OnCalculate when using it in different timeframe as the chart's base timeframe. below table in the left is when using same timeframe M5 for the chart and iCustom. right table is when using M1 timeframe in chart and...
eevviill7
Indicator shows trand.
  Adaptive lookback indicators  (1277   1 2 3 4 5 ... 127 128)
Of adaptive lookbackThe Adaptive Lookback (period finder) is truly a market-driven indicator used to determine the variable lookback period for many different indicators, instead of a traditional, fixed figure. It is based on the frequency of market swings - the time between swing highs or swing...
In MT5 chart, when you drag an indicator, you can choose to apply from the standard price values, for first/previous indicator. In terms of coding, how can this be achieved? E.g I want to apply moving average on another moving average, or MACD on another MACD.
Hi, How to put my Indicator RSI to become a candle pattern? so I can store the High and low from movements. Thanks!
Hello friends, is there a way of expressing the values of the classic Bears Power and Bull Power MT4 indicators into a 0 to 100 range oscillator (or histogram), where the level 50 would replace the level 0, like in RSI ? The purpose is to keep the characteristics of the values, and the basic...
  RSI indicator  (1423   1 2 3 4 5 ... 142 143)
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...
Hi I want to use filter indicators to filter false signals    what is best indicators I can use it for frame M15 - 4H Frames 
Hi, I'm experiencing a strange thing with a colorized indicator histogram. The histogram is defined like so: #property indicator_type1   DRAW_COLOR_HISTOGRAM#property indicator_color1  clrSteelBlue,clrRed#property indicator_style1  STYLE_SOLID#property indicator_width1  2 Note the two colors. In...
hi guys A question Is there any way to find special customize detail about a chart ? e.g. I want to know the distance of a wave of GBPUSD without 50 pips retracment in 2018 Thanks All
Hi, I am new to MT5 and confused. In MT4 it was easy to get an indicator value, for example: double atr=iATR(Symbol(),PERIOD_CURRENT,10,0); The documentation is kinda difficult for me. How can I get the "atr" value in MT5? How does the above code look like in MT5? Thanks
At the moment i am using bulls and bears powers indicator together.Does exist an indicator that shows the difference between bulls and bears on a 0 x line please. As example if bulls = 30, bears 13 the bar should be 17 over 0 line.
I have encountered some strange behavior with initiating an indicator. Setting the PLOT_EMPTY_VALUE to 0 does not seem to work properly, with values other than 0 appearing in the data window. I have made the following indicator to test different empty value setting ways: #property description "not...
  traditional MACD  (2)
HI  i'm currently using traditional macd on MT5 platform. I confused about the notification sent by the system. for example (in the pic), the notification show: MACD crossed below signal line for USDJPY on 2019.6.7 0735 as highlighted, whereas in the chart (should be 735am ) not shows any line...
Hi im developing some money management indicator, im new to this programming language but as Webdeveloper i should be fine to get this indicator rdy. But i need to fetch some global values if possibile. I wasnt able to find a list of predefined values, if someone could share me a link to everything...
Woodies CCI: Woodies CCI is a momentum indicator that was developed by Ken Woods. It's based on a 14 period Commodity Channel Index (CCI). It's a fully unbounded oscillator with a base value of 0 and has no lower or upper limit. Some traders use the indicator to spot a number of tradable CCI...
RSI divergence candles: RSI divergence candles Author: Mladen Rakic 
New_Fractal_Lines: The New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines. Author: Alexey Klenov
New article MetaTrader 4 on Mac OS has been published: Apple products have become very popular. MetaQuotes Software Corp. attentively follows the progress of the IT industry and has already released the special mobile applications for iOS-based devices - MetaTrader 4 for iPhone and MetaTrader 5 for...
New article Interview with Irina Korobeinikova (irishka.rf) is published: Having a female member on the MQL5.community is rare. This interview was inspired by a one of a kind case. Irina Korobeinikova (irishka.rf) is a fifteen-year-old programmer from Izhevsk. She is currently the only girl who...
New article Angles in Trading. Further Study Required has been published: In this article, we discuss the method of trading analysis by measuring angles in the MetaTrader 4 terminal. The article provides a general plan of using angles for trend movement analysis, as well as non-standard ways to the...
Pattern Alert v1.1: A more advanced patterns analyzer. In addition, it generates a signal. Author: John Smith 
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...
LSTM Neural Network: Long Short-Term Memory Neural Network - for time series analysis. Author: Shephard Mukachi 
New article Library for easy and quick development of MetaTrader programs (part I). Concept, data management and first results has been published: While analyzing a huge number of trading strategies, orders for development of applications for MetaTrader 5 and MetaTrader 4 terminals and various...
MultiBrainTrend2_V2_x10: Indicator MultiBrainTrend2_V2_x10 shows information on the current trends, using the colors of indicator BrainTrend2_V2 from ten different timeframes. Author: Nikolay Kositsin 
iS7N_TREND.mq5: Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified. Also you can select the mode (one or two color) and the uptrend and downtrend color. The number of bars to plot is also can be changed. Author: Николай
New article Enhancing the StrategyTester to Optimize Indicators Solely on the Example of Flat and Trend Markets has been published: To detect whether a market is flat or not is essential for many strategies. Using the wellknown ADX we demonstrate how we can use the Strategy Tester not only to...
Keltner Channel: The Keltner Channel indicator locates the most important trends. Author: Collector
  Experts: Angry Bird (Scalping)  (143   1 2 3 4 5 ... 14 15)
Angry Bird (Scalping): Expert Advisor with the system is very sensitive to movement. Author: bimbimaone
Hi Hope you're all doing great, I want to use array as an input of my function. My function can work with all kind of arrays (1D or 2D or 3D arrays) so the array that I'm going to use as an input in my function might be a 1 dimension array, or even 2 dimension or even 3 dimension. Now I want to know...
Does anyone have same problem after calculate the cross signal for MACD as it will emerge a several signals in a second so that EA will open a several orders at the same time due to these signals. I tried and though many methods such as limit the OrdersTotal & Sleep(90000) etc., but all did't work....
I'd like to use ENUM_TIMEFRAMES But removing the Period Current. Is there a way to use defult ENUMs but lock(remove) one or a few of values in input parameters? I hope you got what I want to say but I give you an example I want to make Time frames selectable in parameters window. But I don't want it...
  Traders joking, the beginning  (7522   1 2 3 4 5 ... 752 753)
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...
Hi I'm having trouble to select the first and last order that is opened in each currency pair and then closing them when reaching a certain profit both of them. Im trading a certain strategy that if the first order and last I want them to close first. so if I have 3 trades open, I want the first and...
I have a problem with use a indicator in EA, I use iCustom() function for read status of this indicator, but when I backtest this EA, a lot of message print on journal tab as below picture: How can I prevent of it?
I know this error has been discussed many times but the ones I saw dealt with indicators and did not really address my problem. Can anybody tell me why the following code in my EA gives an "Array out of range" error? for (int j = 0; j < WPR_MAPeriod; j++)         {            WPRArray[j] = iWPR(NULL...
Sometimes I need to port an advisor to MQL5. To get this done I'm looking for a way to convert MQL4 style indicator invocations more easily. So instead of obtaining a handle and using CopyBuffer I'd like to be able to do this: // MQL 5 code blockdouble ima=iMA(symbol,timeframe,ma_period,ma_shift...
Hi all, My indicator runs on every chart that I open, but the problem is that the memory usage (RAM) increase madly. So I tried to free and delete all general arrays and objects of not in focus charts, using anything: ArrayFree(array_name) ArrayResize(array_name,0) ObjectsDeleteAll(EMPTY,EMPTY)  but...
Hello, Is `IsTradeAllowed()` replaceable with `MarketInfo(_Symbol, MODE_TRADEALLOWED)` and vice versa? In the docs is written that `IsTradeAllowed` is equal to  `TerminalInfoInteger(TERMINAL_TRADE_ALLOWED )`. However, it is not clear is `IsTradeAllowed` means the trading is allowed by principle or...
Is there a way to read the account history from outside ( for evample via investor password ) like MyFxBook does?
Does anyone know where I can find a Renko EA that will draw Renko blocks based on the CLOSE of the H1/D1/W1 timeframes instead of the M1 timeframe which pretty much every Renko EA uses? I've searched everywhere and can't seem to find one. Or can someone point me towards how to modify an existing M1...
  Stop loss  (3)
Is it possible in EA to modify stop loss above buy order open price in order to trail the stop and gain profit?  I wrote the code but it returns the 130 code error. Please guide me in this case.
  Copy Trade  (5)
I am looking to copy trade expert same account with basket profit to close both trades .   when the mother expert open sell order - copy trade open buy = close both when make profit  .  Example : First chart Mother expert  Sell GBPUSD  Second chart  copy  Buy EURUSD . target basket profit 0.10 close...
I am looking a programmer to correct errors in the mql4 file. Pleas help.