To post a new topic, please log in or register
I have a problem with this History Center. I have tried to use the Strategy Tester and it doesn't work correctly, because the EA is applied only for the last year. I know I have to download the history data for 2019, but I don't know how to do it. I have tried to find the History Center on the...
Hi. What I want to do is set my Trailing Stop Loss at e.g. 30 pips with an additional rule - it must allow for e.g. 60 pips of movement below the initial entry price of the trade before triggering & exiting the trade, if the price is above the initial trade entry price then it should function as a...
Hi,  When I open up MT4 and look at the symbols, there are a bunch of folders (assume downloaded from the broker) named as follows : I want to get rid of these folders and create my own symbol collections under new folders with meaningful names.  I know how to to hide symbols but I would like to be...
MetaQuotes Software Corp. continues to expand the opportunities of MQL5.community. On June 17th, two new services were launched on the website: Payments and Jobs. With these services, the website visitors will be able to order and pay for different works performed by other members of the community....
I  don't know if I'm posting in the right section (sorry if I'm wrong). I would like to sugget to developers if in the future they can fix/improve the limitation of zoom in/out. The steps of zoom are too wide and not totally customized.  Thank you in advance :)  Regards Giovanni
  Export live data to Excel  (28   1 2 3)
How could I export live data to Excel from MetaTrade? I would like to export Open, High, low and Close, also Vol and time to a excel worksheet.
Scenario: 2 separate brokers who both have a NASDAQ100 index. When I calculate Lot value in USD (base currency), Broker 2 is 100X greater than Broker 1. The Calculation: double GetLotValue(string symbol, const double lotSize, double& pointValue, double& pipValue){        double contract =...
I have installed the Meta Trader on my pc, but I have trouble in setting it up. In the pip my system, it has been mentioned to do the following 4hr. Chart Settings: 5 EMA applied to the close 10 EMA applied to the close Stochastics (10,3,3) (Use slow and simple settings) RSI (9) (Simple) When I...
Guys, for those of you who are using automated trading, which platform is better. MT4 or MT5, and why? I have read that the main differences between the 2 platforms are MT5 are able to trade indices, futures and indexes whereas MT4 cant. Also MT5 had more timeframes. But in terms of program...
Hi Everyone, I have an issue and trying from 5 to 6 days to solve it, But still can't solved it. First of all i don't auto-trade, i have designed a system to guide the user and generate automated Buy and Sell signal on the chart. So whenever a Buy/Sell signal is generated i want...
I want a simple expert to modify the Take profit for an open orders .  Thank you 
Hello, I'd subscribed a signal on 10th of june, , for one month.  I'd suspended it on 18th of june on MQL5 Without reactivating my signal, I see on my MT4 platform that 18 positions have been opened on 1rst of july in a laps of 5 seconds (between...
Dear all, May I know why when I want to purchase VPS directly from MT4 through VISA card payment it always show me no internet connection as show attached? But I have not internet connection problem. Secondly, if I click renew automatically for my VPS, will it auto renew and auto deduct amount money...
  Traders Joking  (11558   1 2 3 4 5 ... 1155 1156)
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.
Hello, I have an array of 200 candlesticks for EUR/USD 1hr chart. How can I detect breaches using mql5? Please help.
hello everybody,  we have the zigzag indicator, every time the candle make high higher then the candle before, the zigzag will follow the new high right ? once the candle stop making any new higher the zigzag will wait for a low right ? i want to mark the high and low of the candle that stops the...
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...
Hi every one, I've started to investigate and implement a series of simple strategies based on simple technical analysis such as resistance, support, simple price actions. Does every one now any indicators based on tick data and not time frames such as m1,m15,m30,... ? I am searching for some...
I do not understand why this function do not give me back the magic number and the symbol of the position that is open   long  magic;   ulong  ticket;   string symbol;   ulong total=PositionsTotal();   for(int i=total-1; i>=0; i--){     ticket=PositionGetTicket(i);       PositionSelect(ticket);...
Hey,guys hows it going I just wanted to know do any of you wish you could download an older version of a EA or indicator you bought from the marketplace. Because sometimes developers make changes to the EA, in an update and it ends up preforming worst than it was previously . And you have no...
I have spent quite a while trying to get my MQl5 up to scratch I have bought a few books and am stummped over a new feature in MQL5 CopyBuffer. I have tried using it ion my code and keep finding it a nusence. In my expert advisors I have the code inside the tick function where I am I going wrong I...
  Trading the Andrews Pitchfork with Max  (64   1 2 3 4 5 6 7)
Unfortunately, I am unable to createa blog so I have created this thread until blog services are fixed, at whichpoint this thread will be transferred to my blog. I used to be a manual trader for a long time: https://www.mql5.com/en/forum/179446  However, I no longerenjoy the relentless screen time...
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...
[MT5] I was wondering if it is possible to code a custom system/ea to apply to my strategy that can search and take trades on multiple timeframes at once and return the results on one backtest report/equity graph?  Does anyone know if this would be possible? or if not, what are the specific MT5...
  Trend vs. Reversal trading  (13   1 2)
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?
Hi, I think it would be quite interesting to see the outcome of Martingale- or Grid-EAs which were optimized by Atrificial Intellingence and or neural networks. As for Martingale- or Grid-EAsthe the crash risk is very high - I would like to know what the AI or an NN would tell us. Does anybody...
Hi again, The Multiple Regression Analysis and Forecasting template provides a solid basis for identifying value drivers and forecasting time series data. While it utilises a range of commonly employed statistical measures to test the validity of the analysis, results are summarized in text for ease...
  Something Interesting to Read  (54   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...
  Dpo Ea  (3)
Hi Scorpion and everybody. I wrote this EA based on DPO indicator,but my programming is bad. Anyone can Rewrote this EA w/this settings: DPO period=120 Buy Level= 0.0030 Sell Level= -0.0030 TP=250 EURUSD/GBPUSD 300 or more SL=100 TS=? May be Required,but in my backtest is running ok without SL. Best...
Brain System. 8 indicators in total (see in download area). Some people said that it is great system. I did not try yet. I am very affraid for every great systems. I want to try but I fear. Because of great.
  Bitcoin forecast  (6)
Now and while bitcoin has extra ordinary movement who can suggest a reasonable strategy to forecast its next movement? it will break its current top or will it will be resistance in future?
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Just curious about anyone trading preferences, I mean what do you prefer to trade Forex, Stocks, Futures? Is well known that Forex is the greatest market hands down, but unfortunately it doesn't offer certain analysis tools such as true volume, the book or TRIN, TICK, VIX tools which can be very...
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  (55   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, Where can I find an example of EA to trade stocks or ETFs? An EA based on a moving average would be fine. Thanks in advance, Pierre
  Forecast and levels for Nikkei  (33   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...
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...
  Dax future real-time data  (18   1 2)
Hi, anyone knows how to buy Dax future real-time data ? Thanks!!! 
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
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...
Hello all ! I have two machines with different MT5 builds installed. The oldest one is build 1643, downloaded from my brokerage account at ActivTrades. The newest one is buid 1730, downloaded directly from MetaQuotes. When trying to export the tick data file from the newest MT5 instance, I noticed...
Can someone help here ... the operator is overloaded, actually it should work  //+------------------------------------------------------------------+//|                                                     PlusPlus.mq5 |//+------------------------------------------------------------------+struct...
I have not registered any signals yet. Why does the notification say the account has been registered?
Hello when I execute the EA, the buy order is created but the error 130 message(invalid stop loss)  is displayed for the function ordermodify ()? I used ordermodify() function beceause in my broker I can't created makret or pending order with stop loss and takeprofit levels....
So I'm trying to turn an indicator I wrote into an EA. I coded the logic into the indicator so the buffers draw a line where my SLs should be, as well as drawing arrows where my entries and exits are. How would i phrase it using iCustom so that it places my trades based on those buffers? Would it...
Dear All, Can you please confirm if we can create EA which will be used for Meta 5 but indicator itself is for Meta 4?  Regards, 
Hi! Is there anyone who has a lot of knowledge of the MT4 VPS server? I have a subscription to this VPS server, but the platform does not connect to the VPS server I have paid for (at least that is what I think). Take a look at the attached image. Can someone help me with this, please?
Hello, I need a macro or a programme which can export 1000 last bars for a given list of currency pairs and time  frames (eg EURUSD, USDCAD,USDCHF AND GBPCAD) - DAILY AND HOURLY TIMEFRAMES, I need this as fast as possible - can you help me?? Dave
A simple math functionlike this brings a totally wrong result, and this served me a bug in an EA which I was searching for months!!! MT5 Build 2085, but I am very sure this is the same in earlier versions, cause this is also the same with C# ... unbelievable but true.  void SimpleMath() {...
Description: Telegram 4 MQL was made to make the life of an automtic trader a bit more convenient or better to say it was made to spare nerves. Suitable questions while operating an autotrading systems are: Was the order correctly executed?Did an situation change an unusual way so that I need to...
Hi guys, I am using an EA to go through a few symbols in a list and also a few time frames, it worked good ,but lately i get a few errors for invalid request. I am using the CTrade library to open and manage the trades, and considering i dont work with the request struct directly i dont understand...
Hi, is there a way to make iBarShift to return indexes from left to right? I like to work with Arrays where 0 means the oldest bar, butiBarShift return it the other way round. Test case in OnCalculate:   for(int bar_number=prev_calculated; bar_number<rates_total;       bar_number++)...
Hello everybody, I'm searching for a good advise from experienced seller. I'd like to offer my EA  using MQL5 market...however I can't pass automatic test which is obligatory. While testing I receive message "test on EURUSD,H1 tester takes too long time" I assume that the reason of that are bad...
i don't know programming. I am giving i'e EA open first lot 0.01 2nd lot 0.02 third 0.04 4th 0.08 every double from last, i need every thing is fine only all lots open same size means if i set 0.01 lot second lot 0.01 third 0.01 4th 0.01 i am copying here if any expert please help me and modify i...
Hi, The Goldminer Indicator is a pretty old and well know indicator for MT4... there are several versions of it around the internet. I was looking for a version the runs on MT5 but I couldn't find any. Does anyone have it? I tried but I could not convert it from mql4 to mql5 :( If needed, here is...
  MACD indicator  (1510   1 2 3 4 5 ... 150 151)
We are continuing discussion about the indicators. We have the following thread: https://www.mql5.com/en/forum/175886 https://www.mql5.com/en/forum/177239 https://www.mql5.com/en/forum/177358 https://www.forex-tsd.com/forum/debates-discussions/9785-rsi-indicator https://www.mql5.com/en/forum https...
Hi,while uploading to metaquotes a new indicator,I receive the following error message:test on EURUSD,H1 (netting)not synchronized with trade serverwhat does it means?thank you
Hello, I am working on some functions such as base64_encode and base64_decode. https://www.mql5.com/en/code/8098 But I realize that StringGetChar and CharToStr do not give the same result with extended ASCII (ASCII code > 127 and code < 256) Is this a bug? void testStringChar(ushort chr){  string...
Hello Guys I need help in creating the Currency strength formula that works on comparing the correlation of 8 major pairs that looks like below 50 is neutral, below 40 is weak currency, above 60 is strong currency Anyone can help on giving the formula on how to calculate those? thanks
instead of Bid I want to put Dailyopen ObjectCreate(LineName, OBJ_HLINE, 0, 0, Bid - pipDistance*Point); in below "daily open" indicator code i have put horizontal lines code but instead of Bid price i want horizontal lines on daily open. try to edit by compile error. Any Help Highly appreciated...
#property copyright "Dusan Fajler"#property link      "http://www.mql5.com"//--- indicator settings#property indicator_chart_window#property indicator_buffers 2#property indicator_plots   1#property indicator_type1   DRAW_LINE#property indicator_color1  clrBlue, clrYellow, clrGreen, clrRed,...
Hello Community, I kindly ask if someone has a ZigZag version (MT5/mt5 source file) calculated on open/close price instead of high/low?. @Vladimir Karputov  Do you have an idea?. I have looked in the CodeBase but I couldn't find it. So it would be grateful if someone can post here a version of it....
forextime8
any helps ??
I have bought an Indicator but whwn I click on the link to install, link doesn't open. Could you please help me?
  Cycle indicators  (238   1 2 3 4 5 ... 23 24)
Are there any indicators/tools/methods for determining cycles? I am interested in finding daily cycles and also finding cycles on shorter time frames as well. As a side note:Does anyone know of certain times of the day when price is likely to reverse its direction? thank you
  All John Ehlers Indicators...  (937   1 2 3 4 5 ... 93 94)
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible. Please post any MT4 John Ehlers indicators that you have here as outlined in his books "Rocket Science for Traders", "Cybernetic Analysis for Stocks and...
Hello. I am trying to implement the iFractals and there's something definitely wrong with it. Due to the fact that I can not get the proper result on my own code, I tried to use the example from the documentation  https://www.mql5.com/en/docs/indicators/ifractals I just copied and pasted the code...
Hello smart people! Among the many indicators I found this. This seems to me to be quite accurate. I've been testing it for some time. But there is one problem. This indicator does not work with BUY Alerts. Maybe someone has experience with this indicator? Maybe someone has an improved...
  Stochastic  (76   1 2 3 4 5 ... 7 8)
I decided to make some indicators' review based on trading experience and using them inside manual trading systems. So, please find the first thread about Stochastic Oscillator. Feel free to add or write any comments concerning this indicator about how to use it inside trading systes, how to trade...
Wedge pattern: "Wedge pattern" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with Wedge pattern strategy,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
New article MQL5 Cookbook: Getting properties of an open hedge position has been published: MetaTrader 5 is a multi-asset platform. Moreover, it supports different position management systems. Such opportunities provide significantly expanded options for the implementation and formalization of...
Elliott Waves Indicator: The indicator helps to use the Elliott waves, as described in the book "Trade Chaos" by Bill Williams. Author: Vladimir Khlystov
RSI candles - lite ressource: Improved version based on RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968 Author: Soewono Effendi 
New article How to Post a Product in the Market is published: Publish your interesting applications in the Market, and they will be immediately available to all traders who use MetaTrader 5 worldwide. The Market is a great opportunity to earn, with an immediate transfer to the account and convenient...
Camarilla Flat and Clear: The code consists of lines created according to the opening, closing, low and high values of prices. Author: Erdem Bozyel
Hull moving average: Hull moving average (non-repainting version) Author: Mladen Rakic
EasyAndFastGUI library for creating graphical interfaces: The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
CamarillaFlatandClear: The code consists of lines created according to the opening, closing, low and high values of prices. Author: Erdem Bozyel
New article Triangular arbitrage has been published: The article deals with the popular trading method - triangular arbitrage. Here we analyze the topic in as much detail as possible, consider the positive and negative aspects of the strategy and develop the ready-made Expert Advisor code. The...
CDownLoadHistory class: The CDownLoadHistory class provides the methods of historical data downloading in two modes: "visual" and "silent". 1. Visual mode The example of use of this mode is downloadhistoryvisualmode.mq5. The "history download mode" input parameter can be one of two modes:...
Double smoothed Wilders EMA: Short description. Author: Mladen Rakic
New article How to conduct a qualitative analysis of trading signals and select the best of them has been published: The article deals with evaluating the performance of Signals Providers. We offer several additional parameters highlighting signal trading results from a slightly different angle than...
Smoothed CCI: Smoothed CCI Author: Mladen Rakic 
AdvADXStr: Advanced ADX indicator. Author: fabio77
Dear ALl My friends. I attach one Forex 1min scalping robot . I used this robot in live account its work well and get profit . But i observe each trade when this robot place buy order that place position is high and then going market down side same as sell order when this robot place order that...
  Helweg/Stendahl value charts ...  (375   1 2 3 4 5 ... 37 38)
Helweg / Stendahl value charts (from "Dynamic trading indicators" book) I guess this one was not made for metatrader yet since it was not possible to draw histograms with one end not being zero. With metatrader 5 that is possible, so here it is (it is metatrader 5 version only since some of the...
Hello.  Somebody could explain me why the position is opening out of reach (picture)?? I uinstalled MT4 , i tried my strategy in onother account. I will be grreatfull for explain my question   Best regards.  CODE::  ...    if (MovingAvarage1 > x && MovingAvarage2> y && MovingAvarage3 > z && i==0)...
Hi everyone, I am new to trading and would like to understand how to import live data from MT4 to Excel (Excel 2013). I have looked through other threads posted on here previously that advise on this and still cannot seem to make it work. Thus far I have tried to simply import a bid price to excel,...
All of a sudden one of my FFCal news indicators is giving this error in build 1080 using the EventSetTimer function. It worked perfectly fine in previous builds, was there something change that I am missing?
//+------------------------------------------------------------------+//|                                                      BOCount.mq4 |//|     Copyright © 2019, INSTITUTE OF TECHNICAL ANALYSIS & TRAINING...
  mt4 chart.  (2)
I clked the x on some of my IG mt4 chart. How to get back original chart set up?
  Traders joking, the beginning  (7556   1 2 3 4 5 ... 755 756)
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...
How do I create/assign an alpha name (i.e., MACD EA) so that it appears when I hover the mouse over an open trade?  This applies to EAs that I create and use. 
  Elite indicators :)  (15119   1 2 3 4 5 ... 1511 1512)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert?
  New MetaTrader 4 build 1170  (68   1 2 3 4 5 6 7)
New MetaTrader 4 build 1170 The MetaTrader 4 platform update will be released on December 20, 2018. The update fixes errors and improves the platform stability. We remind you that support for older versions of operating systems, including Windows XP/2003/Vista, has been discontinued. The minimum...
Hello, I'm trying to get an EA to run off of buffers from a custom indicator. The indicator creates arrows indicating long and short, and closes the trades with arrows indicating close. The SL is drawn on the chart with a buffer as well. I want the EA to open trades when a buy/sell arrow is printed...
Hi guys, I just used CHARTEVENT_KEYDOWN this way: if (lparam=="A")... Is it somehow possible to check if SHIFT and A are pressed? I didn't find anything about it in the MQL4 docs.
Hi, Does anyone know if it is possible to pull prices from tradingview into an array on MT4 using mql4 ? I know there is a WebRequest function in mql4 but not sure if that would be able to do things such as above ? Thanks :)
TimeHour function not defined ??? how to fix it ?  Help me guys on macbook pro