To post a new topic, please log in or register
Hi This mql5 code is giving a run time error "invalid pointer access", Not sure why and how to fix it, please? Thank you News              *news[];                        // at the start of the fileArrayResize(news, 82);// then in a loop      for(int i=0; i<82; i++){      news[i] = new News(some...
Hi I am trying to write a very simple ea(with mql4) after about 8 years and it seems that I have severe problem and I should call myself a newbie again. while testing the first part, I am facing "Unexpected Token" ERROR, I tried to find any missing ";" or parenthesis or any reserved word but I...
The updated version of the MetaTrader 5 platform will be released on October 26, 2018. The update will feature the following changes: Terminal: Now you can detach financial symbol charts from the trading terminal window. This feature is convenient when using multiple monitors. Thus, you...
Dear all, Strategy testing with reasonable enough while testing specially when I am using open price only on M1 time frame, but all of a sudden it became too too slow while testing specially when I use the visualization mode, any one knows why ? I didn't change anything in its setting !!
Hy, i am working for a year on my first ea...its a complete virtual trailing stop....there is a problem: the ea shall stalk each order separate and nor cumulated... lets say we buy at broken Hjgh[1] and with new candle we buy again at broken High[1]....Now we got two open Buys with different prices....
  Please help me.  (6)
I need some help here, I'm a novice at building EAs and I don't know, what I don't know. I'm using: MetaTrader4 version:4.00 Build 1090 (19May2017)  and  MetaEditor version: 5.00 Build 1601 (19May 2017). I've built the following, very simple EA, and can't figure out why I keep getting errors when...
Hi, how can I can read a file with the order information and place the order in a automatic way? 
Hi all! Does anyone uses Metatrader on a Stick? And no, it's not for barbecuing :P. It's like having a Windows 10 with Metatrader installed so you can just plug into a monitor, desktop or a laptop to use it at cyber cafes, library computers, friend's house and other places. I've seen products like...
I will report it here when I find something to fix or clarify about the site.
  GBP/USD forecast  (1248   1 2 3 4 5 ... 124 125)
I’m having a little loss right now, but I think I’ll close the deal with profit.  
  Traders Joking  (11140   1 2 3 4 5 ... 1113 1114)
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.
On Recent updates Metatrader 5 allow us to create custom symbols (Synthetic Instruments Formula ) I ve already created USDX and EURX myself but GBPX and JPX are little tricky I guess Since I dont have any programing background could some one tell me how to rewrite the formulas accordingly on MT5...
I just wonder what may be the source of this error. I am porting indicators with rather simple graphics (mostly editboxes) from MT4 to MT5, and (in addition to the MT5 performance, which is unbelievable slow and blocks the candle chart often) I am getting that error. It appears randomly, but still...
I wonder what is the point of the green  Copy for ** USD  button in all MT4 signals here in MQL5.com, if when you click it, it downloads the MT5 installer. I think that MQL5 has overdone it with this obsession for abandoning MT4 and embrace MT5. Can MQL5 technicians think of a better way to help...
Hello, I would like to know if there is any pre-programmed EA that can show you all your profiles in a window such as market watch and lets you choose to which profile you want to change? The reason I am asking for such a tool is because I would like to make use of the 8 hour offline chart since it...
I'm looking for an EA or utility that would allow me to place an order in multiple currency pairs of my choosing at the same time. Does anyone know if something like this is available?
Hello I am trying to add order modify to my EA and when I compile my code it does not give any errors. However on live/demo terminal modify order does not function at all. I am attaching my sample code for any one likes to help. Thanks in advance.
  CENT Signal  (4)
help!! what is cent signal in this case?  I cannot follow the signal using a real account.  btw there are so many terms in meta4 but few prof explanations found. it is killing 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 all, I've been trading a live account for just about 4 weeks now and managed to tripple my account. I started with a $100 account at FXDD and my account balance is now $312.65 with a Floating P/L of -$48.50. This does not bother me much, because I'm sure the EURUSD will go down on Monday. I'm...
Hi All, It has taken me over 6 years and I've finally become a consistent profitable full time trader thanks to this strategy. The strategy is very simple and would only take a few minutes of screen time per day (using 4HR candles). I'd like to thank 'bigbear3391' for his guidance and inspiration!...
In the future, when spanA cuts up on spanB THEN execute buy, when spanA cuts below spanB then executes sell.
  Zerolag systems  (101   1 2 3 4 5 ... 10 11)
Simple zerolagstochs system of two indicators with alert.
I am using this method to catch only big moves. It works well but needs some tweaking espescially for exit. 30 Min and 1 Hr time frames are suitable. Indicator Setup Bullspower default setting (13) Bears Powerdefault setting (13) Accelerator default setting Buy Rules Bulls Power increasing and...
  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...
Hi experts After I read this book.  encyclopedia of chart patterns  by Thomas N. Bulkowski  It tells statistic (frequency, %winning, performance) for each pattern. It is too interesting. But we know the history data of each broker is different.   So, I 'd like to analyze any pattern or candlestick...
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...
I am embarking on developing an EA to trade a renko chart. From what I've read it appears I will need an ea placed on a live chart whose function is to send price information to an offline renko chart. Then a second EA sitting on the renko chart which will analyse trade criteria, place and manage...
  Signal trading  (26   1 2 3)
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...
  PANTHERea.....100% win ratio  (104   1 2 3 4 5 ... 10 11)
Ok guys, this is the end of my forex path...... It took me 5 years to make this(coding lasted for few days), but the method itself was developed for years. Bassicaly I took all of my knowledge, mixed it, coded it, optimize it........and done that for last 3 years. This ea is something with the...
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.
  Bermaui Analysis  (185   1 2 3 4 5 ... 18 19)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Forecast and levels for S&P 500  (447   1 2 3 4 5 ... 44 45)
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...
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...
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...
I was wondering does metatrader 5 support stocks? not cfd stocks.   If so, which brokers supply stocks? 
  Apple  (26   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  (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 know how to change my demo account to real account and also  trade with it directly.  By the way well I need a broker
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...
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...
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...
Was trying to work on something and I was stuck because I couldn't really understand what volume on Mt4 platform truly represent . Don't get me wrong, I know volume represents the average trade activities for a particular period of time . But my question, does volume simply represent the number of...
  Volume and Tick chart  (21   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!
  Forecast and levels for Dax Index  (50   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...
My opening and closing loops, despite being exact to the point never work. Please help
I'm new to forex and MQL5 (but have a software background) so I apologize in advance if this is posted in the wrong forum. I'm writing an EA but am struggling a little with the terminology and workings of the forex market. Take the currency pair EURUSD at a bid of 1.14131 and an ask of 1.14161. I...
Hi, I have a variable called switch_action in my OnTick function, you can see below how it is calculated. void OnTick()  {   int switch_action;   int ticket=-1;   double price;   double TradeSize;   double SL;//---//Open Buy Order, instant signal is tested first   RefreshRates();   if(Cross(0...
This strategy works well. It's Ema confluence strategy
Hello. Can Anybody help me? I found the following code that works on MT4 to toggle AutoTrading button: #include <WinUser32.mqh>#import "user32.dll"int GetAncestor(int,int);#define MT4_WMCMD_EXPERTS  33020#importvoid OnTick()  {   int main=GetAncestor(WindowHandle(Symbol(),Period()),2/GA_ROOT/);...
Hello guys, does anyone have an ea to make me open pending orders at a certain time?     For example I open a pending order buy or sell, on Monday morning at 00.01.
Hi all, I try to insert my EA called The Pearson EA into the Market. I get an error called no trding operations on automatic validation. However, the EA opens only 6 trades in a year, generally. What should I do? Best.
How many individual robots (or instances of the same robot on different currency pairs) is it possible to run simultaneously on an MT4 platform?
When stop loss is triggered, the following log is generated by MT5. 2015.04.10 16:22:14 Core 1 2015.01.19 11:35:29 stop loss triggered sell 1.00 EURUSD 1.15417 sl: 1.16217 tp: 1.15317 [#5 buy 1.00 EURUSD at 1.16217] This is exactly the info I need in EA, getting price volume, against which...
I've read this post. But I am still not clear. Here is my log when stop loss is executed in strategy tester. Now I have a position. It looks like OnTradeTransaction() is triggered 3 times. The MqlTradeTransaction is: TRADE_TRANSACTION_HISTORY_ADD The MqlTradeTransaction is:...
Hi  Does MT4 demo tester has a tab to view active trades similar to what mt5 has? If so, could someone show me how to open it? I cant seem to find it.. :)
This is the code I have so far but for the sharpe ratio. int OnInit () {   if (IsTesting () || IsOptimization ()) GlobalVariableSet ("InitialBalance", AccountBalance ());   return (0);}void OnDeinit (const int reason) {   if (IsTesting () || IsOptimization ()) GlobalVariableDel...
can anyone tell me what is wrong in my trailing function it works with Buy only !!!!! //+------------------------------------------------------------------+//| (My)Trailing Stop...
Hi everybody, I need to draw a graph of specific data Which I have, instead of the chart price of a symbol. Is it possible to do it by ObjectCreate/OBJ_CHART?  remember! I am writing an expert not an indicator.  Really appreciated! 
Hi there, I would like to contract a programmer to provide me with an indicator which notifies me in case of an EMA crossover on a given currency chart. Since I have no clue about appropriate prices for such a service, including some support when applying the indicator on mt4, I would like to ask...
As shown in the red box, the 0th value is the current value. I only want to show values for full D1 bars, not the currently filling bar. As you can see, I am currently setting HistoBuffer[0] = 0., which causes all the lines to converge to 0. One thought is to simply set the value of each to the 1st...
  Stochastic  (75   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...
  MTF HMA  (1)
Hi, is anyone able to make this normal HMA to a MTF indicator? I´d like to trade for example on M15 candles showing the HMA in 1H. Any help is highly appreciated.
Using  #property indicator_type1 DRAW_COLOR_ARROW the arrow symbol (https://www.mql5.com/en/docs/constants/objectconstants/wingdings) is specified via PlotIndexSetInteger(0,PLOT_ARROW,arrow_code); //arrow_code != 159 However, this works only with a single plot. Adding a second DRAW_COLOR_ARROW plot...
Hi, I got a csv file with a list of data: Datetime, and values. These are the values of an indicator at certain moments, calculated in excel/mathlab. How can I import these data to appear on my screen (either oin the main window or separate one) ? Thnx in advance for you help ! Twoci
hi in mt4 terminal, i know that we can use moving average over other indicator by select apply to previous or first indicator. if i am writing my own indicator or EA, and would like to do the same, how should the code be please?
Hi guys, Here you have an indicator for MT4 to see the real ask and bid prices that your broker is appliying to you. Some brokers try to cheat on you by "manipulating" the ask/bid lines on the chart. In my case, I was confused because my limit orders were triggered before the bid/ask line got the...
I needed to advise how to adjust the indicator to show just one day in the past and not all, some idea, thank you
My account on the app shows that there is money in the account be every time I try to execute an order it says not enough money. In addition can anyone get their TradersWay Live account to work on the terminal?  
Hi Everyone, I have a copy of MT4 sat on a windows server 2012 VPS. After an windows update today an indicator TMA.mq4 won't display, its either grey out in the navigator menu or it just won't load but is visible under indicators on the chart. Can anyone help or provide a work around. Jay
I am building an EA based on my trading strategy. It should work at any entry point, but will be more profitable if it selects a point in the market (for it's initial purchase), to buy low. What is a good indicator to use that will allow me to buy low and to have good bottom resistance? Thanks.
  Strange division problem  (11   1 2)
Hi All I am coding the following, the code returns no error but doesn't seem to do the calculation.        double Top =(iClose(Symbol(),0,i)-iOpen(Symbol(),0,i));      double Bottom = (iHigh(Symbol(),0,i)-iLow(Symbol(),0,i));      WVAD[i]=Top*iVolume(Symbol(),0,i)/Bottom; I tried to debug it by...
I have only programmed the properties for each line, but yet somehow when I attach the indicator to the chart, I get a red and a blue line running across the chart, mimicking that of the Kijunsen and Tenkansen. How on earth is this possible? I am using the latest compiled version but somehow the...
  MACD indicator  (1502   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...
The indicator is the FL11 indicator. Can anyone help me with this?
VFX New Order: This tool is designed to open positions in MetaTrader 4 terminals with absolute control of the risk / reward ratio, automatically calculating the lot size (without the need for manual calculations and/or spreadsheets) according to Risk and Stop Loss defined in the input parameters,...
Double smoothed stochastic Blau: Double smoothed stochastic Blau Author: Mladen Rakic
CycleMarketOrder(GRID TRADE CODE): This Expert Advisor is for the grid trade.Market order is repeated in a single direction at fixed intervals. Author: Ryutaro Yumoto
Double smoothed stochastic of ratio: Double smoothed stochastic of ratio Author: Mladen Rakic
Double smoothed stochastic: Double smoothed stochastic Author: Mladen Rakic
Harmonic Pattern Finder V3: Indicator to display existent and emerging harmonic chart patterns. Author: Andre Enger
New article MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
BB SWING: BB SWING EA trades with "BOLINGER BANDS" indicator and swing strategy works best on 1H & 4H time frame major forex pairs. Author: Aharon Tzadik
New article Tips for an Effective Product Presentation on the Market has been published: Selling programs to traders effectively does not only require writing an efficient and useful product and then publishing it on the Market. It is vital to provide a comprehensive, detailed description and good...
XIT Three Moving Average Cross: This is a simple but pretty effective EA I have been working on. It is a basic three moving average cross for opening orders, and it uses MACD as verification before opening. Orders are closed when the fast moving average crosses back over the intermediate...
New article 100 best optimization passes (part 1). Developing optimization analyzer has been published: The article dwells on the development of an application for selecting the best optimization passes using several possible options. The application is able to sort out the optimization results by a...
  Experts: ADX EA  (2)
ADX EA: ADX EA trades with ADX indicator strategies. Author: Aharon Tzadik
ADX trend - smoothed: ADX trend - smoothed ADX trend (that is a part of adxvma calculation) made as standalone indicator and using Jurik smoothing for result smoothing (in order to lessen the false signals) It is in a same way as any trend assessment indicator: when the color is changed, the...
TrendLine Touch Alert: This indicator simply alerts and sends email every time the trend line touched by the price. Fig.1 Price touches the trendline down. Author: Ahmed Soliman
Filtered price: Filtered price using self adjusting deviation for price filtering Author: Mladen Rakic
Just thought I'd post here to let ppl know about a C# API I'm working on for Metatrader. It is in early stage development, and not fully tested, but if anyone is interested, checkout the install/source here: https://github.com/jseparovic/MQL4CSharp/ It is not designed to be a multi-terminal tool,...
Hi, i have one multiple horizontal line indicator which able to plot 10 or more horizontal line in the chart.my problem with this indicator is i can't choose the color thickness level. The creator fixed permanently to 2nd level thickness which make me uncomfortable in the MT4 chart.Please help to...
I can code your MT4 strategy for free if I think it can win. The code is yours, but I can use it personaly. Please explain clearly your strategy
Hi - I want to learn , if anyone experienced here tell me about the CCI indicator I have one question , while adding this indicator inside the Meta Trader - there's option called "period" , changing this option leads to different results (the drawn line) anyone explain what is this option and how...
Hi, all. I want my named pipes to be asynchronous. So I need to use _OVERLAPPED structure as a buffer. here is MSDN description of process: https://msdn.microsoft.com/en-us/50f6680f-900e-4411-a849-ec9a911c9e32 My current implementation does not even compile: //-MS Types:#define PVOID int#define...
Hey guys, a picture says more than 1000 words. Please have a look at both charts. The script works when I use 30 rows but when I use 100 the height of the rows is wrong. But I don't see an error in the calculation. Can someone help me with this issue? This is the script:...
  MT4  (1)
Dear Colleagues, Where can I download broker-neutral Meta Trader 4 and use it with several trading accounts from different brokers? Is that even possible? Thank you.
Hi. After last update build 1147 of MT4 , I want to make some modification to my EA and as you see bellow everything is OK after compiling the EA but when I try to drag it to the chart I got this message "the EA is not expert and cannot be executed" Could you help me to know what happen with the...
  Elite indicators :)  (15082   1 2 3 4 5 ... 1508 1509)
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?
  Traders joking, the beginning  (7316   1 2 3 4 5 ... 731 732)
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 all,I am a beginner at coding and trying to write an percentage SL indicator of MA at mql4. The percentage (double) and MA period (int) will be changable. I take the percentage But i couldnt make it act as SL. Could anyone help me? I want it act as picture.  Thanx P.S: computer is not with me so...
Hello all! I'm trying to make a custom indicator that's able to plot RSI and OBV on the same window so I don't have to load those indicators again and again but I'm having trouble to normalize the value of OBV to fit the range of RSI or ignoring the range of the RSI and just show it relative to its...
  Arrow inside button?  (13   1 2)
Never succeeded and tried everything (at least I think so), to create some kind of arrows for up and down instead of texts, inside of a button. I have other text in, in separate button it would not be problem. Is it possible in same button with other text? Here image speaks more ... about the wish....
  SnakeForce.mq4  (2)
void Drawing( int Shift){   double val,Dval;   val = 5 * (Mart[Shift] - Mart[ ArrayMinimum (Mart,cPeriod,Shift)]) / 9 ;   Dval = 5 * (Mart[Shift] -            Mart[Shift + 1 ] +            Mart[ ArrayMinimum (Mart,cPeriod,Shift + 1 )] -            Mart[ ArrayMinimum (Mart,cPeriod,Shift)]   ) / 9 ;...
Hi, I am new to the metaquote language and have problems with programing a trailingstop that works. Can anybody help me with the code. Mine is changing the stop correctly when themarket moves up but it also changes it when it moves down even if it shouldn't,this in the case of a Long position....