To post a new topic, please log in or register
I am picking up missing data from mid october to end jan/early december across all forex pairs. This only applies to the 15min timeframe and below. This data gap is being seen on Oanda, FXPRO and Pepperstone. The same charts on the 30min timeframe and above show all data clearly which is very odd....
  Coding help  (4)
Hello all, I have this indicator which works well for changing chart symbols. I want to use the indicator for monitoring various pairs  by a change of colors of the relevant button. I want to introduce a code which will cycle through the list of pairs and provide a background color for each pair...
  Copier EA  (1)
Hello, What is the best Free EA that I can use to copy the trades between 2 MT4 accounts? Thank you.
How to call the file with CMD or BAT suffix name in MQL language? There are system functions in C language. Does anyone know if MQL has such functions? For example, there is a "1. bat" in my d disk. What should I do when I call it in the script Onstrat?
Hi, I want Zigzag indicator added to the iPad / iPhone version of MT4. Can anyone help me do that? Thanks
  Very important bug in MT5  (11   1 2)
Hi, I've developed a EA on MT5 and I run it on two VPS (same VPS provider, same VPS configuration, same broker, same instrument (DAX)) and I notice some diffence in the entry, that is one EA place the order but the other not. After some debug I discover that the CopyHigh, CopyClose, CopyOpen,...
Hi, i embedded the metatrader in my website. now i want to open the chart of a symbol that i specify. is it even possible to do so? for example if the user opens the website with the embedded metatrader and as soon as he logs in, the metatrader should open the chart of EURUSD. i there any possiblity...
  Indonesian Member  (3683   1 2 3 4 5 ... 368 369)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
I am like super new to programing mql4.  I am trying to make an EA, that will close say a buy order and simultaneously open a short position.  I have the following functions.  int Long()   {      if (OrderType() == OP_SELL)      CloseShort();      b_ticket=OrderSend(Symbol()...
I just saw that MQL5 is now offering the option to move your signal subscription to another broker/server. This is really good news, that we were all asking for a long time and now is available at last. So, if you find out that your broker/server is not suitable for copying your favourite signal,...
What does it mean to have a profile name with the strikethrough on this site? I've seen a number of profiles with that, but I haven't been able to deduce what it means, at first I thought they've been deleted but I started doubting this when I observed the profiles still open and you can even send...
  Forecast and levels for Dollar Index  (130   1 2 3 4 5 ... 12 13)
Dollar Index April-June 2017 Forecast: ranging correction W1 price is located above Ichimoku cloud in the primary area of the chart. The price is on secondary correction which was started in the beginning of this year by bouncing from 103.80/102.27 resistance levels to below. For now, the price is...
  Press review  (6270   1 2 3 4 5 ... 626 627)
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...
  Traders Joking  (11184   1 2 3 4 5 ... 1118 1119)
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.
  Words of Wisdom in Trading books  (182   1 2 3 4 5 ... 18 19)
Hello everybody, While I was studying Technical Analysis I made a lot of Photoshop imagesto show words of wisdom that was said by writers of technical analysis books. Ibuild this thread to share those pictures with you and I hope they could helpyou to find them interesting. I encourage you also to...
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...
Hiya to all, I would like to get opinions form fellow traders , and lots of help !!! I have an EA hedge system that i purchased, it can profit up to 150$ per day depending on markets , but the issue i am having is when i back test this, the trends  blow the account, as its using a trade multiplier...
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...
I currently have my EA calculate values on the last x amount of bars - this however creates a huge lag during back testing - because of the "for loop" it looks like it executes on every tick. This is how the value check stars: //CHECK ID10T VALUES FOR BUY OR SELL if(BUY_ORDER   == 0 && SELL_ORDER...
  BRAINWASHING SYSTEM/ASCTREND SYSTEM  (220   1 2 3 4 5 ... 21 22)
This is the thread about Brainwashing system. We will start with original version of this system and will improve it later. ========== Just something about the history. There are 3 famous signals system (manual trading systems based on signal indicators): Asctrend, BrainTrend and Brainwashing. First...
  Signal Systems  (350   1 2 3 4 5 ... 34 35)
I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS
I have a trading system that i been using for quite sometimes now and its very profitably reliable. This system is very simple and straight, just some simple calculations. I need a good coder/programmer that would be able to convert it to EA. I will share the strategy, trade rules and the EA rules...
I closed my platform to test the VPS operation using mytrade receiver. Once I saw trades placed on another platform, I opened the VPSplatform and the trades did not execute until I opened the VPS platform. I havesynced experts, indicators and signal. Will allowing DLL imports stop the VPSfrom...
How to Trade the Gold Silver Ratio ?
i have an login for an fund management account the problem is i cant see the running trades but the history gets updated even without showing the trades on the terminal window ! is there any ways to see the running trades on terminal window ?
Dear ALL Is backtest using M1 time frame (derived from tick data suite) reliable ?  I mean 99.9% quality ? Is it trustworthy ? 
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...
Hello everyone, Is there a very simple EA that check if there are open orders, and if not, immediately opens one in the trend direction ? So an ea that trades only if there is no open order, quite simply. Thanks for any help about this guys, regards
Hi, I have sreached that many people have asked about the question regarding " symbol found" problem, but didn't found an answer for it. Some of the reply for other people's answer is change broker and many reply regarding to change broker is that it doesn't help Please help or direct me how to...
  Forecast and levels for S&P 500  (453   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...
  Bermaui Analysis  (211   1 2 3 4 5 ... 21 22)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Google  (14   1 2)
Google April-June 2017 Forecast: weekly ranging to be stated or the secondary correction to be continuing; 853 resistance is the key The weekly shares price is on secondary correctional movement within the primary bullish market condition: the price is located above Ichimoku cloud for the correction...
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  (22   1 2 3)
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!
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...
  Apple  (27   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...
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...
New article Creating a trading robot for Moscow Exchange. Where to start? has been published: Many traders on Moscow Exchange would like to automate their trading algorithms, but they do not know where to start. The MQL5 language offers a huge range of trading functions, and it additionally...
  Welcome to the new section!  (21   1 2 3)
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
You must be willing to be open to a good working relationship. I am still somewhat a novice trader but I have two years experience. I'm self taught so just hmu with your cool with this.
Hi, I am quite new to MT4. Trading from the UK, I am more share and stock CFD person than Forex. By this, I would prefer to trade share prices than anything else.  My questions are as follow:  1) Do you guys know any betting companies with a great variety of shares and stocks on the MT4. Noticeably,...
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 was wondering does metatrader 5 support stocks? not cfd stocks.   If so, which brokers supply stocks? 
  Forecast and levels for Nikkei  (30   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...
Hi, i want to ask on how to clear the array. struct TradeData{        string comment;        string symbol;        string ticket;        double lots;        double openprice;        int activated;}TradeData TrdData[11]; After putting data on the array, if all conditions are met, array should clear...
Hi. Last week, I experienced one my subscribed signal made a huge error leading the big loss. The worst part is that somehow it repeated opening and closing the same trade on my end, and if I didn't manually disable the signal, it would have blown my whole account. My question is, is there any way...
Does any one know why is this happening? I have two MT5 instaled with two diferent brokers and neither seem to run anithing on Strategy Tester. My mt5 is connected to the broker and I get this log everytime i run something.
Does anyone compared the backtest time performance, using the same computer EA and database, between Windows and Linux?
Does any one know if there is a way to check the Mql5 username of a logged in user? I realize that we can use the TerminalInfoInteger to retrieve a bool about whether there is a connection to the mql5 community using the TERMINAL_COMMUNITY_CONNECTION identifier and also whether there is any data...
Hi, I am very new on this topic. What I like to do is to write a neural network system, for automated trading on MT5. I know how to write a NN in Matlab or C++, but I don't know is it possible and good idea to learn MQL5 and try to write the NN in this language or not? Is MT5 IDE powerful enough for...
Hi everyone, In an EA using Protrader I have a Dictionary type, that I can store key | value where value can be any type, inclusive arrays. So, I can do something like this: Dictionary<string, bool[]> positionParcial;positionParcial = new Dictionary<string, bool[]>();positionParcial.Add(_ordId,...
  Reports  (1)
If I run multiple EAs on the same MT4 platform will I be able to produce individual reports/graphs for each one or will I only be able to get one with all results combined?
Hello, i have developed this EA that is working on daily charts, i just put my price action concept on EA. I am experienced in trading but Newbie in backtesting. I would like some insight before i put this working. Are there are any other parameters i should investigate? The results are from the...
Windows Update could disables  the EA's  activation every month... If you set the  OS update stopped, the computer will find that and fix it to update "these days"!!( I'm using my home PC , and  also ,sometimes VPS.) The  EA Invalidation occured to  MT4 by the Update of this time! (2018/12/12) Then,...
I implemented a EA that uses OnTradeTransaction on stock markets. My intention was to remove the SLTP check from the OnTick function and improve the speed of my optimizations. Firstly I noticed that the events are extremely different among simulation, demo and real environments. The amount of...
hey :) totsday I observed a massive ddivergence displaying candle patterns in mt4 and mt5.  while mt4 shows a normal bearish trend, mt5 displays a massive gap where candle theory says to be closed again. anyway, if charts do differ so heavily which one to rely on? mt4 or mt5 or neither? please...
is there any broker that Guarantee order opening price? because wen i put a pending order it is possible that my order openes in higher or lower price than i want
Hello, I have bought an EA and it allows me to activate it to 5 devices. I have activated it to my primary device and it has 4 left. I plan to purchase a VPS and plan to transfer the indicator to the said device (VPS). My question is, how do I transfer the EA to the newer device (VPS) without...
This is my first time coding in MQL4 I'm not sure what the error is, I was following a video of youtube, and it seems my code has multiple errors even though it was the same, could this be because it was an old video and mql4 language updated? Here is the code below...
What indicators do you guys use to determine if the volume was a buying volume or selling volume? I'm trading 1 min chart.
Hello, is there a more elegant way to limit the number of bars for calculation , for both counting up and counting down  ?  i.e //---- main indicator calculation loop   for(bar=limit; bar>=0 && !IsStopped(); bar--)     {    if (bar >= MathMin(3-bar, rates_total-1-50)) continue; Please suggest,...
Hello Everyone, If in mt4, to get the value of BearsPower and BullsPower indicator is like:  - double val=iBearsPower(Pair01,PERIOD_H1,13,PRICE_CLOSE,0); - double val=iBullsPower(Pair01,PERIOD_H1,13,PRICE_CLOSE,0); And at the same EA I need to get the value of that indicator for 4 currency pairs at...
Why is it that when my Expert Advisor tries to calculate:    iWPR(S,PERIOD_M1,3000,0);    iStdDev(S,PERIOD_M1,3000,0,MODE_SMA,PRICE_WEIGHTED,0); It gives zero? Periods below 3000 seem to be fine. Is it possible to extend the period above 3000?
  Fibo & Gann variations  (340   1 2 3 4 5 ... 33 34)
Fibo Levels indicator. Fully forecasting.
Hello, I've been modifying the dema example indicator and I dont understand what I'm doing wrong, I've read and re-read references but I still dont get it. Please help! I've tried both  setting #property   parameters and what you see in the code below, what am I doing wrong ?...
Hi. From your experience. What tools are the most useful since developed by John Ehlers? Regards.
Hi guys, I wrote a test indicator and every start I got an error message (CopyBuffer 4806 error), I don't know why and hope, You can help me to solve it. The code: int macd_handle_m5, macd_handle_m10;double macd_values_m5[], macd_values_m10[];int OnInit()  {   ArraySetAsSeries(macd_values_m5,...
  Indicators with alerts/signal  (15806   1 2 3 4 5 ... 1580 1581)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
Obviously length and offset can me changed, but I was thinking about changing the curve "on-the-go". Is that even possible? Why? When a fast trend reaches its peak, linear regression curve will cut it nicely, but if an opposite trend goes fast too (and right after previous peak), linear curve will...
Guys, what is the best indicator showing trend? I tried many and either they are too delayed or too vulnerable to pullbacks. I've have best experience building my own trendiness using - ADX 15x higher timeframe - CCI 15x higher timeframe I'm working with 1m timeframe. A trick which also works great...
  Which is a better indicator ?  (70   1 2 3 4 5 6 7)
Which is a better indicator ?
Hi there guys, Does anyone have this indicator to share? Where you can choose the type of MAs? I wanted one with VWMA (volume weighted moving average) crossing over SMA. Something similar to the indicator attached to this post. thanks
Hello, I'm in the process of writing an indicator with Moving Averages. The goal should be that the indicator will give an alert as soon as the wick of a closed candle touches a moving average. Roughly speaking, it should give a signal as soon as a retest has been done on a Moving Average candle by...
Hi. I am creating an indicator called Squeeze that uses the Bollinger Band and Keltner Channel. The Keltner Channel indicator is one that I got from the internet (for now), since it's not included in MQL5. https://gist.github.com/Industrial/8f98a5e360132a6faba38e02a137f6c0 I have several questions:...
New article Embed MetaTrader 4/5 WebTerminal on your website for free and make a profit has been published: Traders are well familiar with the WebTerminal, which allows trading on financial markets straight from the browser. Add the WebTerminal widget to your website — you can do it absolutely free....
  Experts: Proper Bot  (55   1 2 3 4 5 6)
Proper Bot: The Proper Bot is for those who like Martingale style trading. Features: Stop Loss, Take Profit, Trailing Stop Loss functions. All are calculated in POINTS. Author: Patrick Burns
New article Universal Expert Advisor: the Event Model and Trading Strategy Prototype (Part 2) has been published: This article continues the series of publications on a universal Expert Advisor model. This part describes in detail the original event model based on centralized data processing, and...
Hedging Martingale: Hedging Martingale opens two trades of buy and sell together,and uses the martingale method. Author: Aharon Tzadik
Accelerator Trailing SL&TP: "Accelerator Trailing SL&TP" EA trades with "Accelerator" indicator and has Trailing Stop Loss &Take Profit works on all time frames major forex pairs. Author: Aharon Tzadik
New article An Example of Developing a Spread Strategy for Moscow Exchange Futures has been published: The MetaTrader 5 platform allows developing and testing trading robots that simultaneously trade multiple financial instruments. The built-in Strategy Tester automatically downloads required tick...
Support and Resistance Trader: Expert adviser scans past 500 closing bars and looks for common closing regions as entries. Author: QuantStrategies
New article How to Become a Signals Provider for MetaTrader 4 and MetaTrader 5 is published: Do you want to offer your trading signals and make profit? Register on MQL5.com website as a Seller and specify your trading account to offer your signals to traders. Keep in mind that you can create only...
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published: In this article I will consider Price Histogram - a simplified model of Market Profile, and will describe its implementation in MQL5. Author: Dmitry
Multi Time Frame Trader: The Expert Advisor trades based on the i-Regr indicator signals. Author: Vladimir Karputov
  Libraries: CDictionary class  (11   1 2)
CDictionary class: An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList. Hash Function FNV-1a Usage Primitives: CDictionary *dict=new CDictionary();//settingdict.Set<string>("costarring","liquid");dict.Set<double>("liquid",0.1);//getting -...
Moving Average EA: Open and close when fast moving average line cross slow moving average line. Author: luo jun
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...
VHF adaptive ADXm: Short description. Author: Mladen Rakic
RAD - Rapid Application Development library: Rapid Application Development library. Author: Andrew Gomanchuk
Hi,  I am developing an algo based on Excel and VBA however I am finding some difficulties to code on MQL4. Can someone guide me how I can extract raw prices past data of all time-frames for all symbols into excel, please? Much Appreciated.
  New MetaTrader 4 build 1160  (40   1 2 3 4)
New MetaTrader 4 build 1160 The updated version of the MetaTrader 4 platform will be released on December 14, 2018. The update will feature the following changes: Changed MQL5 Storage operation protocol in MetaEditor To support shared projects, we have updated the protocol of operation with the...
Hello everyone, Its been a long time since my OS forced a shutdown/restarted.  After I realized the problem, I ran a part of the code I never run. void CheckUp()  {   Alert("Start");   Total_Orders=OrdersTotal();   for(Total_Tickets=0; Total_Tickets < Total_Orders; Total_Tickets++)...
Hello everyone - sorry my first post is one asking for help! There is an indicator that I would like to add a simple alert to (for trading manually). 2 lines are drawn on the chart, and all I want is an alert when the current price either goes above 1 line, or below the other line. I know very...
  MQL4  (2)
I just have a basic question cause I'm new in programming... Is there any way to arrange lines in mql4 when nested operation is used? for example in MatLab when you press ctrl+i all "if" ,"for" and... that are inside each other would be arranged. 
  Traders joking, the beginning  (7351   1 2 3 4 5 ... 735 736)
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 just want to place order when arrow signal (object ) appear on a current bar since I can not use icustom. I think I can check object to find arrow and if arrow signal time=Time[0], then place order. Is this correct? void get_signal(){      if (ObjectsTotal() == 0) { return(0); }     int i;...
Is it possible to know if the order was closed by 1. normal tp/sl 2. Manual close 3. closed by **pip 4. closed by profit dollers. etc..... Is it possible to put mark (comments?) when CloseOrder? If it is possible to leave a foot print, I think I can know the order was closed by 1 or 2 or 3. Any good...
hi. as you see in below pic. when they are on top together , the color will change in common area. if we create them by using code , is there ability to : ( fore example / some like /  by using  /   ObjectSetInteger(chart_ID,name,OBJPROP_ ) 1-  for  type1 : have the same color in common area? 2-...
hi, can someone help me to insert a rectangle coloured object area on this indicator attached like my image?the condition must be this -The rectangle must be with the same withd of the ma segment line(adapt on each timeframe) -height of rectangle is given by the distance between the two lines...
Hello everybody, I am trying to find out the exact formula allowing to compute the required margin to open a trade, given a certain size (especially for what regards metals). I already looked around the web and forum's topics and I found examples. Unfortunately all of them, in some cases, does not...
  MQL4 CheatSheet  (1)
Introduction Hello MQL5 Community, I am here to share a small amount of knowledge with anyone who may find it useful. Below, you will find a large list of code snippets that can be used to make your first EA! 90% of this has been sourced from online blogs, here in the forum, or the MQL4...
Hello all With regard to the protocol for communicating to a broker from MT4 - ie the communication side of what happens when you place a trade and close a trade, is this documented anywhere? I am trying to find out if there is any difference between trading manually and trading via an EA - ie...
The live update for the build 1160 do not work. Can you help me.