Download MetaTrader 5
To post a new topic, please log in or register
My ea is failing to validate when i upload it on mql. It gives me the error below. Any suggestions on how O can resolve this? test on EURUSD,H1strategy tester report 43 total tradestest on NZDUSD,H1 2016.02.01 17:00:22 Tester: not enough money for buy 0.10 NZDUSD at 0.64887 sl: 0.64605 tp: 0.65169...
Hi, Im new to MQL5 and I intend to subscribe to some signals, Do I need a VPS when my computer is shut down? Or the subscribment copy the trades automaticly? even if my Meta is shuted down..? Thank you very much
Hi Friends, I am trying to write a piece of code to check whether the previous candle body is completely outside of Bollinger bands. So far I wrote the following.   double bolinger_upper_band=iBands(NULL,0,mPeriod,mDeviation,mShift,mAppliedto,MODE_UPPER,1);   double bolinger_lower_band=iBands(NULL,0...
i am using camarilla levels for entry sometimes L3 i am getting buy entry and immediately it gets stoploss hits at L4 and i need to go sell at L4 to avoid such false entries, what will be the best trend indicator to reduce losses can anybody suggest
Just tested  the exact same EA on VM Win10 and on Debian, 2 completely different results. Backtesting is not working on Linux then, Can anyone confirm this?
I'm trying to get the stop loss in my EA to auto set behind last three bars can someone show me how this is done, when complied I get error, not all control paths return a value how do I fix this? I have some idea that I have to use: return StopLossBuy;
  Indonesian Member  (3219   1 2 3 4 5 ... 321 322)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
Hello Community, I'm curious if alot of traders are using only mathematic on their trades or using them to auxiliate on their trading setup because my setup is based on 60% of mathematic and it is going really well. So if you using it or like it, tell me in the comments below.
  USD/JPY Analysis  (722   1 2 3 4 5 ... 72 73)
Well, the asset moves as I’ve predicted. I think that I can earn even more on USD/JPY! Definitely, the show must go on =) 
Hi guys, In MT4, double-clicking on an object (for example, on a trendline, on a fib channel, etc.) opens the pop-up properties window where we can change the object properties (for example, color, line thickness, etc.).  In MT5, in order to open the same object properties window, I need to...
Anyone using the Ryzen Threadripper or Ryzen 7 for the cloud? Pls some feedback, Im trying to decide what PC to build? Thanks in advance.
Guys is any one of you noticed that VPS keep disconnecting connection at crucial time when the EA is about to open a trade? this is the 4th time in 2 weeks, I noticed it only happen when the EA is about to open a trade, I do check the VPS journal everyday, I do monitor the market, I know when the EA...
As said in the subject, after the last update when I launch a strategy tester optimization I don't have anymore the panel that showed in real time (while the optimization was running) the results of the optimization. This panel was a primary element, because I could stop the strategy tester and...
Hi, I have a HTC Diamond Cell Phone with Windows Mobile, using IBFX MetaTrader that program just doesn't want to login, I was having an issue with updating and freezing, but I fixed it my manually overwriting program files. Now It is impossible for it to login. I have a live account using exact same...
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, my dear traders, this system is very simple,as well as very effective. no any confusing more indicators, no more complex strategy. this is a cool system. It is based on Renko chart. 1. open 1minute chart of EUR/USD. 2. add renkolive ea in to this chart 3. open 2minute offline chart of EUR/USD...
  Signal trading  (17   1 2)
I'm worried about opening this thread, because I'm afraid I'm not talking about a particular major, I'm a junior trader, but I want to talk about this thread. 1. How to use the signal to trade 2. How to use the oversell and oversell indicator 3. How to optimize the signal and reduce the frequent...
  News Trading  (1)
Hi everyone, Does someone know (or can write) any EA showing news points on the chart AND place an order as a function of the outcome of that news? Neither of market EA give access to the news outcome (they rather determine the news time)! Thank you in advance for any advise,
Hello everyone! Some years ago I found on another website, a strategy that works good and I added a little something that makes it even better. Here's the original strategy and then my little addon... <strategy> You make 1 trade per day on the EURUSD Your "day" ends at 4:59EST and starts at 5pm EST...
  Hull Moving Average's Trend System  (107   1 2 3 4 5 ... 10 11)
The system was posted by bradman when he needed this system coded. The system is simple. Long when HMA trend is up, and short when HMA trend is down. Attached is the EA, automated script for metatrader 4, and indicator of this system. You must install both of them. This expert advisor features: You...
I want to say that my nick 'newdigital' is not connected with digital filters. But I started this thread to discuss and explain about trading strategies based on the digital filters only. And to understand how to implement those filters. All about digital filters you may find https://www.mql5...
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...
  PriceChannel Parabolic system  (280   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...
  ASCTrend system  (1301   1 2 3 4 5 ... 130 131)
Some people say that it is the best signal system in the world. It is very famous system and it was developed in the interesting way: Russians recognized this system for MetaTrader some years ago and this western trading system was not very profitable (I am talking about MetaTrader only) but had as...
  Very Profitable Heiken-Ashi System  (64   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...
  Elliot Wave Indicators  (217   1 2 3 4 5 ... 21 22)
request Wave Indicator or Elliott Wave --
Pivot Point Scalper The Logic Behind This Strategy: Fifteen to one hour after the market has open, if price is above or below the Pivot point, Price Action will strongly tend to remain above or below the Pivot point for the whole session. If the market opens above the pivot point, the probability of...
  The Only Pivot  (2692   1 2 3 4 5 ... 269 270)
Shinigami ask me to put my latest indicators and templates.. so if you are new for reading this thread, please use this indy and template because this is what i use now after download this zip file, just go to page number....... (i forgot, sorry ) the rule is using h1 1. if 2 SMMA WEIGHTED CLOSE...
  Bermaui Analysis  (121   1 2 3 4 5 ... 12 13)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
Broker A has a CFD for Nikkei 225 using USD as margin currency Broker B has a CFD for Nikkei 225 using JPY as margin currency The price rises by 100 basis points. Do you make more profit with broker A if USDJPY goes up at the same time?
Hello, I have studied, tested and succesfully traded a system on CFD.  think about the premarket stock trading: there are thousands of stocks even blue chips that makes gap 2-3% during premarket and you probably think " damn if I could have entered before the gap"...but the truth is that every...
Hello all, I have a question for those who are experienced with EAs. Do you think it's possibile to build an EA, backtesting it and trade with it in a 15 min delayed market/market data?  What precaution should be taken to be sure you're not committing bias or logical errors?  Do you know any CFD...
Download Link: https://www.dropbox.com/s/h3f859ghwf58v5l/BinaryEasy%20Dolly%2015%20FibBreakOut.rar After watching different youtube videos about different systems It came into my mind to try an build an binary options strategy towards CJA's (TSD) Dolly 15 system. Make an breakout strategy that...
  Forecast and levels for S&P 500  (371   1 2 3 4 5 ... 37 38)
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...
  Volume and Tick chart  (20   1 2)
Hello, I am currently using MT5 for futures and I was wondering if there would be any updated version where I can use charts based on volume or tick and not time. Ninjatrader, or TradeStation, Sierra all have this capability, but not Metatrader 5. Any help would be appreciated!
It is very sad that majority of the people that get involved in the forex business end up losing their money but I will explain the major reasons why this happens below: 1. Leverage and Margin - Trading on margin seems like a fast way to make quick profit however, this gives birth to greed as a...
  Forecast and levels for Nikkei  (27   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...
  MT5 real FUTURES broker  (20   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.
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...
  Forecast and levels for Dax Index  (48   1 2 3 4 5)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
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...
I want to set my TP based on a target % of my account balance. Example: Balance=$100 Lotsize=0.01 EURUSD Target % profit = 0.5% of balance Once I have the $value per point I can then calculate my TP   
I need an ea that stops other ea if spread is too high.
Hi there, Im trying to set up a WebRequest in an Expert Advisory, wheras the server needs ~5-10 min to come up with the response. Even though I set the timeout to 3600 seconds, I get a "read timeout" after exactly 10 seconds. The following code can be used to reproduce the behavior for MT5 Build...
  Spread values of bars ?  (11   1 2)
hi, functions : CopySpread() and iSpread return the spread value of bars. What's definition of spread for BARs ?!!! (as compared to tick spread) Spread at any tick = Ask - Bid. Ask and Bid can change each tick, and bars are accumulations of ticks. so spread of bar is first spread of ticks of that...
First I have to tell you the objective of my EA, I try to create a single side (buy only or sell only) grid ea that opening x pips away from current ask with Buy limit and Buy Stop and take profit at x pips Ex. 300 pips Grid will be >>> #1 Ask = 0.00300 tp at 0.00600 and #2 BuyStop at 0.00600 tp at...
Hello, I am new under MT I use to trade with PRT, I am testing some EA on MT4 and I would like to know how :  - to change trade number label by date ?  - to have more time of test ? Thanks in advance AF
Many traded instruments start trading session not at full hour, e.g. US stocks, some indexes and commodities. In MT4, when the first bar starts for example at 8.30, all subsequent 1H bars will start at 9.30, 10.30 etc.  But there's significant difference with MT5 platform. It starts the first bar at...
What it is: Below, you'll find my Swiss Army EA. I've designed it so that it can manage orders in your MT4 terminal using a large variety of methods. Features includes breakevens, trailing stops, setting/removing for takeprofits and stoplosses, and many close-out conditions; you also have ability...
Hi there, I am wondering how to figure out the close price and time, when a position was closed by its corresponding stop loss. The picture shows a part of the history. The original position id was 1253268, it contains no entries for profit or loss. The corresponding stop loss is below, 1253269,...
Hi guys... How is it possible to know the ticket number of the new Order after a CloseBy order without the Select function In case of multiple EAs runing on same account, it looks impossible to set a MagicNumber for a new order resulting of a CloseBy function.. Please Help..
Hi, I've been working on a EA for some months and got some very interesting results without optimization. Below is a graph using fixed 0.01 lots from 2012 to 2017 on EURUSD: The problem is that in 2012 there was a situation where my account could have easily reached a margin call (I mean, it reached...
Hello all, I need to calculate the average value of some values inside a vector. Let me explain better: #1 CopyBuffer(funz_RSI,0,0,20,value_RSI) With the above declaration I have the vector value_RSI composed of 20 values. I want to calculate the average value with the first 10 value of value_RSI,...
Hi all, I'm trying to backtest my algorithm which trades on Gold futures connected to COMEX. I am using the every tick based on real ticks option but I seem to be getting innacurate results which are simply too good to be true. I know this for a fact because it says my system wouldn't have lost a...
Hi I need help with coding in EA to 'print margin utilized for symbol'  If I have EAs running on 3 different currency charts, the EA on each of those charts should only print the margin utilized by that chart symbol.  Taking on new orders for that symbol would have EA on its chart to recalculate and...
What is the best Expert Martingale?
Hi, I would like to know from mentor here if is it possible to code MACD into Stochastic?  What i'm trying to get is if the MACD "MAIN" at stochastic Overbought or Oversold, will gave the alert. if it's possible, what are the code that i need to use? Thank You!!
Hi guys, Can someone tell me how to add a expiry time for my indicator. Regards.
======================================================================================== formula this indicator input symbol1 = currency 1 input symbol2 = currency 2 SpX2 = Absolute(Close from currency 1 - Close from currency 2)*100,000 and have zero line now Plot "SpX2" to chart same  macd and RSI...
Dear All, I have an old collection which is giving alert when 2 ma crossover. But I need to add "Shift" option to get signal as per my own set up. So, If someone can help me to add this option, would highly appreciated. Here I am attaching the file, pls see and modify if possible to you. Thanks in...
hello friends, I need help. I desire STOCHASTIC indicator for MetaTrader 5 with audible alert when crossing area of buying and selling. * to MetaTrader5. SOMEONE HELP ME VERY GRATEFUL FICO. HUGS
Hi MQL community, I'm trying to normalize the bollinger band values into 5 digits from 6. I tested using an alert and the value had been normalized correctly. However, when I run my EA in the strategy tester, it still shows 6 digits. P.S. I have included a MQL4 to MQL5 converting file in the header....
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...
  [DL] Trend scanner and Currency index  (100   1 2 3 4 5 ... 9 10)
Here is my contribution to the community...two very useful custom indicators. If someone dont know how to use them feell free to ask.
Hello all, I have an idea :  - hide/show (not delete) objects on the graph (channels, rectangles, lines...etc)  with a same prefix (My_Prefix_Object1, My_Prefix_Object2, My_Prefix_Object3...etc). My question : Is it possible to do it ? Maybe with "ObjectFind" (?) And how hide/show ? .......
Hey there I am trying to find an indicator for MT5 that will alert me when there are x amount of consecutive candles. for ie. if candle = bull; then candleUP = 1 if candle = bull; then candleUp = 2 if candle = bull; then candleUp = 3; if candle = bear then candleUp = 0;(reset) ; candleDown = -1; if...
  RSI Divergence  (1)
I'm planning to ask a Job for an EA based on RSI Divergence, but the procedure of the ea requires the Indicator that analyses Divergence in RSI. Does anyone have and RSI Divergence Indicator for mt5 that i could use as base? Thanks
Dear all Attached is an indicator called HMA Hull moving average i would like to add arrows or alert once the color is changed from buy to sell or vise versa I would like to get an arrows which should be listed in colors windows not in the input one any help and thanks in advanced Mohd  
Hello developers, I have MTF CCI indicato. I need one modification. I want to add color fill option between the levels. i.e. I want to fill blue color between +100 to -100. Can someone help me in this regard? Thanks.
Hi there, does anyone know how I would add a specific start time and end time to this indicator so that it doesn't cover the whole day? //+------------------------------------------------------------------+//|                                                    ColorBars.mq5 |//|...
hi i want to make adjust to object when state is active, but the case happend then didn't adjusted  int x = IndicatorCounted();   if (x < 0) return (-1);        for (int L =1; L<Bars; L++) {   //for (int L = Bars-1; L>= 1; L--) {  // int U= L> MaxHistoryBars;     if (...
  Experts: Renko 2.0 Offline  (24   1 2 3)
Renko 2.0 Offline: Renko 2.0 Offline non-trading expert generates custom symbol information on 1M chart. Important! Always leave it on M1 chart. A complete Renko chart with wicks. Now Offline! Based on Renko 2.0 indicator. References the Symbol library for MetaTrader 5 by fxsaber. Configure using...
New article Step-by-Step Guide to Writing an Expert Advisor in MQL5 for Beginners is published: The Expert Advisors programming in MQL5 is simple, and you can learn it easy. In this step by step guide, you will see the basic steps required in writing a simple Expert Advisor based on a developed...
3 Rules MACD: Almost every trader used or at least took a look at Gerald Appel's MACD. Looking at our Old Bag of Tricks we rescued a technique several traders used/use which is adding additional filters to MACD in order to avoid false or weak entry signals over traditional crossovers. We...
  Experts: RoNz Auto SL-TS-TP v.2  (149   1 2 3 4 5 ... 14 15)
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
Volume Zone Oscillator - Floating Levels: Indicator is based on the "In The Volume Zone" article by Walid Khalil and David Steckler. An axiom of technical analysis states that with few exceptions, all technical indicators can be classified as either trending or oscillating (non-trending) in...
Volume Zone Oscillator: Indicator is based on the "In The Volume Zone" article by Walid Khalil and David Steckler. An axiom of technical analysis states that with few exceptions, all technical indicators can be classified as either trending or oscillating (non-trending) in their design. This...
WPR Candles: This indicator is a variation of a well known WPR (Williams Percent Range) indicator. It is calculating a sort of 4 WPR values: WPR of Open, WPR of Close, WPR of High, WPR of Low. Those 4 values are then combined into "candles". The calculation is not using the original WPR...
Heiken Ashi Smoothed - Binary: Heiken Ashi is a very well known indicator. One of the variations that is actually improving the indicator is the "smoothed" version. The logic behind the smoothed version is simple: Instead of using "raw" prices" for calculations, it's using...
Heiken Ashi Smoothed: Heiken Ashi is a very well known indicator. One of the variations that is actually improving the indicator is the "smoothed" version. The logic behind the smoothed version is simple: Instead of using "raw" prices" for calculations, it's using smoothed/filtered/averaged...
New article Random Decision Forest in Reinforcement learning has been published: Random Forest (RF) with the use of bagging is one of the most powerful machine learning methods, which is slightly inferior to gradient boosting. This article attempts to develop a self-learning trading system that...
ADXVMA Binary: ADXVMA indicator made as "binary". Having only two values (+1 for "trend" up and -1 for "trend" down) makes it suitable for usage from experts (where usually only two states are what we are interested in). Author: Mladen Rakic
Accumulative Swing Index Smoothed - Floating Levels: In this version of Accumulative Swing Index Smoothed indicator we are introducing a sort of levels that can be used for trend assessment. Floating levels are used for that and that way the indicator is not depending on any kind of fixed...
Accumulative Swing Index Smoothed: Accumulative Swing Index is a useful indicator but it lacks an ease of usage (sine the levels are not usable in it). This version of the indicator is attempting to add some more functionality to it by producing much smoother results in which case the slope...
New article Data Exchange between Indicators: It's Easy is published: The article describes an easy method to develop a program environment for the MetaTrader terminal, that would provide means for accessing indicator buffers from other MQL programs. Author: Алексей
GalacticExplosion: Buy or Sell signals are generated when the price is above iMA (Miving Average, MA) with a very large period. As the number of open positions increases, the distance between trades (during which entry signals are skipped) also increases. The EA trades in the specified time interval...
New article Common Errors in MQL4 Programs and How to Avoid Them has been published: Some older programs can return errors in the new version of the MQL4 of compiler. To avoid critical completion of programs, the previous version compiler handled many errors in the runtime environment. For example,...
Hello all, I just downloaded MT4 on my PC running Windows 10 - Version 10.0.16299 - Build 16299.  I'm trying the basic task of adding expert indicators, which requires that I go to File > Open Data Folder. However, when doing so, I get an error stating "This App Can't Run on Your PC" with a...
given the following two arrays: string symbols[]=      {       "USDCHF","GBPUSD","USDJPY","EURUSD","AUDUSD","USDCAD","EURCHF","EURGBP",       "EURJPY","EURCAD","EURAUD","GBPCHF","GBPJPY","CHFJPY","NZDUSD","NZDJPY",       "CADCHF","EURNZD","AUDJPY","AUDCHF","AUDCAD","AUDNZD","CADJPY","USDSGD",...
Hello, I have an expert and I would like it to make a WebRequest to verify the current version number of the expert, and alert the user if there is a newer version. I am wondering if there is a way to add the URL to the Allow WebRequest from inside the expert. I assume this may be a security issue,...
Hello to everybody, I am getting mad in dealing with array passing to a function. I have defined a function called clear(), with the following prototype void clear(string &[],int); and defined in such way: void clear(string &myArray[],size) {} But when I call the clear function  string...
hi i just downloaded indicators but they do not open up in my charts on mt4.  nothing happens when i run them am i doing something wrong?
Hello, I have some issues loading historical data. I want to test an expert advisor for which I need lots of 1Min Historical data. 1. When I keep pressing the home button on the 1 min chart to load more historical data, there is only a few weeks back I can go to. After that, pressing the home button...
Hello to everybody... I would like get the integer part of a double number, so I guessed to use the library function MathTrunc() (https://www.mql5.com/en/docs/standardlibrary/mathematics/stat/mathsubfunctions/statmathtrunc) but such function is not recognized by the compiler. How could I use it ?
Can somebody help me how to make a program in MT4 for plotting dynamic horizontal line (such as for High/Low), dynamic vertical line (such as for date) to chart...?Thanks for any kindly help :)
Hey, I have been trying to get my head around for loops in order to store data in an array.  a = (Current>High[i+1] && Current>High[i-1]);           for(a;!a;a++)       {       High_Array[h]=Current;       }// So Current is = High[i]// int a;//double High_Array[];^^^^^^^These have all be clarified...
I have loaded an EA on my mt4 platform.  When I try to put it in my chart I get an error message that says its in my library stdlib.exe4 When I go to the dependencies part of it I get a message under the library exe that says STRING ERROR DESCRIPTION (INT) Can somebody please help me fix this issue?...
MT4 Error code 4060. Can anyone tell me what the cause of this is.
Hello! i just got a much lower price on the stop sell price i placed. How do i set it on MT4 that if market price differs too much of an amount, orders will not be executed? Do i go to the Deviation setting on MT4? For the Deviation setting (i am on a 5 decimal place broker), say i set it to 30...
Dear developers, My EA put 2 pending order before the news time. my broker is TRUE ECN and my account also TRUE ECN. I am using MT4. Buy Stop at : 67.70 Sell Stop at : 67.30 With the news time Sell order activated by moving 22pips. So it placed with next available price. Price 67.30 no longer...
As an example, I scan for fractals. As soon as a new fractal is formed an alert pops up. I do this on different timeframes. But when I open the terminal I would like to know where the last fractal is. So I have to loop back. But I need this loop just once. Then the indicator scans for real time...