To post a new topic, please log in or register
Hi, this is my first thread, so I hope I will try to do my best to explain my problem and hope that somebody will be able to help me. Here it is, I have lost the chart switching bar on my MT4 platform and I don't know how to make it appearing again. I work with renko chart and follow around 8 pairs...
hello im working with a code using arrays i need to save the equal values from 2 arrays to another one to use it after i search every where but didnt found such subject here is the code bellow any help? int Array1[5] = {1, 2, 3, 4, 5};int Array2[8] = {22, 8, 32, 5, 15, 65, 4, 13};for(int x = 0; x <...
  Indonesian Member  (3825   1 2 3 4 5 ... 382 383)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
bool Profit()  {   bool exist =false;  int orderstotal=OrdersTotal();   int orders=0;   double ordticket[30][4];      ArrayInitialize(ordticket,EMPTY_VALUE);   bool Profits=posType==OP_BUY ? Ask-OrderOpenPrice()>(OrderTakeProfit()-OrderOpenPrice()) :...
  My Seller Account Not Approve  (99   1 2 3 4 5 ... 9 10)
I have opened my account in mql5 which has been more than 6 months and has not been opened yet, I have completed all the document and multi, still my account is still unapproved, Please Solution
  Recovery EA  (4)
I purchased today the above EA. I placed it in the required EA folder. It was not working and I deleted it. How can i upload the .exe file again? thanks
Hi, What does ArraySetAsSeries? I read the documentation but i have not grasped full its potential. Sometimes buffers in indicators work only when transforming them e.g ArraySetAsSeries(myBuffer,false) What does it do?
  Traders Joking  (11347   1 2 3 4 5 ... 1134 1135)
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  (196   1 2 3 4 5 ... 19 20)
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...
Hi! I´m new to mql5 programming, and still learning. I´ve been trying to create a very simple mt5 expert advisor, with no success. It works like this: If candle0 low <= candle1 low, than buy 200 lots at market price, with a stop loss and take profit of 1 point. Could someone send me a code for this,...
  mt5 app mobile  (1)
Hello all, I dont receive any messages on my mt5 mobile app when one of my accounts make a trade. Also the test message i dont see. ID metaquotes is correct. Does somebody know what the problem can be? Thanks!
When we optimize on Metatrader 5, we can choose to make a Forward Analysis on a part of the history. The results apear on "Forward Results" tab. What is the meaning of the first 3 columns in that Tab? Forward: I guess is the profit or loss in the forward period we choose before. Backtest: The...
I start to use the RegEx library https://www.mql5.com/en/code/15242 and get memory leaks and errors in the debbuger. I do not see the difference of my first try ex02(). I copied from Test.mqh Example1_1(). Example1_1() works fine. enum enum_example  {   Example1_1=0,   ex02=1,  };input enum_example...
https://www.mql5.com/en/signals/[...] I wonder if I must verified seller status to buy a signal here because last time I tried to buy the signal above but It's nothing happened when I clicked on Subcribe button in Signal tab in MT4. The signal is from ICMarket and my MT4 from Exness so is that the...
I subscribed one signal last week from one VPS and now going to use another new VPS. How to continue such?
hello Does anyone know what wrong when all paid indicators do not download the free demo version of all paid indicators?
  Mr.Nims, Renko Ashi Scalping System.  (3537   1 2 3 4 5 ... 353 354)
Renko Ashi Trading System 2 Please read the pdf manual for this system. Good luck everyone. PS: Reuploaded the fixed ma in applied price indicator. Special thanks to FXchaser PS: Reuploaded the fixed macd alert indicator. Special thanks to Puzzlebird PS: Reuploaded a Special Settings Template for...
I'm developing a trend following system. So far is good, but I need to make better filters for the trades. As any trend following system, the win rate is bellow 50% (way bellow) but Risk to Reward compensate for the losses. I want to apply simple filters (no more than 3 input variables) in order to...
Hi, I have developed asoftware that finds patterns and trends in big data. Currently, I have try iton the Future Markets and it finds “tons” of interesting backtesting results. However, I have no experience in Live Trading – Can I trust thebacktesting results or is there something else I should...
What are the best exit strategies for trading 1m chart? In short - how to not exit if you shouldn't. The first one that comes to my mind is a return from overbought/oversold territory, but sometimes such return doesn't even mark a retracement and the trend keeps going. So is there a way to tell the...
  Multi currency EA ideas  (18   1 2)
For quite some time I have been working on a multi currency EA. It is a trend following architecture  that buys dips in an uptrend and sells peaks in a downtrend. A lot of work has gone into the code. It si built so as to run optimzation one pair at the time and then when running in "multi" reading...
  Something Interesting to Read  (40   1 2 3 4)
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...
I asked this stupid question in r/forex,no response. If you are using tick data but set your ea to only open and close trades when it normally would but you wait for the 1min candle close and then take the trade, is that the same as using the default 1min candle closes on mt4? I hope that makes...
  20 pips system  (278   1 2 3 4 5 ... 27 28)
It is 20 pips per day per pair trading system. It means you may have 20 pips every day from one pair only. Or you may generate the trading signals. It is EA. But this EA is not for autotrading. This EA is for trading manually or to generate the trading signals for you or for everybody. You will have...
Hello dear friends I'm looking for a system Which I can work with 20 pip Who could also work in the any  market condition do not matter in sideway ,trending  weak market  if u have this any system ,indicator, logic ,  pls sharing me 
Hi. I want to try the signal subscription feature, but I can't get it to work. 1) I went to the signal subscription website, and looked for one I liked. I subscribed with my login: 2) But when I go into my terminal, to enable "Signal subscriptions", I get: "not connected, select from the...
Dear ALL Is backtest using M1 time frame (derived from tick data suite) reliable ?  I mean 99.9% quality ? Is it trustworthy ? 
Hi, I have an EA that should be used on netting, due to coding specifications , what should i change to make it run on a hedging account exactly equal it runs on netting? Thanks!
Hi, In the Stochastic Indicator that you can find in MT4, there is a recurring if statement  pos=InpKPeriod-1; if(pos+1<prev_calculated)      pos=prev_calculated-2; which I do not understand. Why does it subtract -2 ? what the point of the code above? This is the onCalculate() function to give a bit...
  Trading System by Xard777  (3882   1 2 3 4 5 ... 388 389)
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
  Bermaui Analysis  (239   1 2 3 4 5 ... 23 24)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
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 Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
  McDonald's  (13   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
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...
  Forecast and levels for S&P 500  (454   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...
haii .. i have 2 problems i ask for help .. first i want to know why mt4 / 5 on pc can not be used to open an account InstaForex-USA2.com .. i new trader and real account is an InstaForex broker..when i open my account at MT5 pc, MT5 can not read my account ......... my second problem is demo...
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...
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...
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
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 all,    In my search for option stragy builders i came across this link HERE but i just cant find in my MT5 platform this option. I cant find in builds news any update disabling this functionality. So... How can i use the Option Strategy Builder in MT5 ?? Thank you guys
  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...
  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!
I converted my code from MT4 to MT5. I just discovered that something was not working like it was supposed to do... I put a lot of stuff in my magic number, when I parse the order, I validate if the magic is fitting with my current executioner. This code was working on MT4, on MT5 it return false...
Hi all, It's possible to rent 2 signals and use them on a single MT4 account? thanks
Hello everyone! I have developed and algorithm and actually it's a 2 part question: 1. when testing it using real tick data i get some setups give me better profits 2003-2009 and some give me better profits in recent years - what should be my focus when optimizing? is it correct to assume that the...
 I rented VPS for 1 month. But MT 4 does not copy the signals. Someone help me pls..
Hi, WHat is the replaced function of WindowExpertName() in MQL5 ? How can i get expert name in MQL5? Thanks
Hi, I wonder if I can test a signal, with like 50 or 100 US$? This signal <deleted>) does not say how much you need but I was thinking to allocate a percentage of money that will result in 50 or 100 US$ Is this posible or do I need to invest 1000 US$ or more in a signal? Regards, Oliver
Hi there! I've been trying to create my first EA without much success. I'm not an expert in programming and my almost forgotten php programming skills doesn't help either because I have the feeling that I'm trying to program my EA the way I would program a php so apologies for the mistakes both in...
I'm using MT5 hedging account and I'm trying to open an opposite market order (hedging order). I'm using MT5 hedging platform. The problem is when I open the hedging order the existing order gets closed, why is that? Here is my order opening code. // Open buy market order   if(close[0] > ma[0] &&...
I have a working EA on MT4, I decided to test my broker with MT5. So I made the new EA with MT5 with success, however all pending order are not working in backtesting... So I used one of the MT5 sample and made a EA just to test pending order using this:...
Hi  I 've Imported "user32.DLL" to my expert . It has a class by the name of " SendKey" . How can I use this class in my expert ??!! MQL5 does not recognize the class in this DLL . Please Help . Thanks .
Hi all, I am posting a question here because this seems like a place where people would have some answers. So I have developed an automated system, which I now run on a VPS, I have back-tested the strategy using the Ctrader platform and the system has produced promising results: Now the percentage...
Hello Everyone I have a problem in optimization passes. I've searched a lot but non of questions nor the answers in the forum was the one solving this problem. The problem is that i have some bool parameters in my inputs which when they are set as false there is no need to optimize some other...
Strategy Tester does not show all the symbols in Market Watch, what should I do?
Hi everybody, I want to solve one task with linear regression: I have the function y = ax1 + bx2 + cx3 + dx4 + ex5 + fx6 y and x1 to x6 are known and I have the matrix with their empiric values (100 examples). I want to calculate the approximation of a to f. I download the library "alglib.mqh" which...
Hello EA Gurus... I have written an EA and tested it, found working fine. Now, I am testing this EA in real environment on demo account. I am running this EA on virtual machine (VM available 24 x 7) and on personal computer (not available 24 x 7) with same broker. Issue I am facing is, I noticed...
Hi all, I'm a newbie to forex, Who can explain for me the progress of creating Highs/Lows on the standard ZiZag indicator on MetaTrader4? How to the depth parameter used from very startup of ZigZag indicator on MetaTrader4 with default setting (12,5,3)? I've attached here two pictures of that,...
Hi, I am trying to get the occurrence number 3.  the one with the number 3. However when using 3 in the indexing of a buffer, it shifts the blue star by 3. if(ExtMainBuffer[i]<20)            counter[i]=i; //count the index of the Numbers below 20.        };          for(i=limit;i<Bars;i++){...
Hello guys; I have an issue, I am trying to code an Arrow indicator for Moving Average crossover, but I always encounter an "Array out of Range Error" on any line with [i+2], and when i cooment out this lines, I later have the same "Array out of Range Error" on any line with [i+1] && [i+3]. I have...
Hey, I have some calculations to do on a pre-determined number of M1 bars. (120, 240, 360 or 480 or... based on input) and I want to write my first indicator ever. from the new indicator wizard, I have created the source file. added my codes and functions to calculate my variables. but there's...
Hello, I have a serious problem with ccanvas If I use mycanvas.Destroy() in OnDeinit() it will reset all my globals variables. If I don't use it I will keep all in same place but I loose all information about my canvas ofcourse. It must be created a new time by OnInit with a new object because it...
Hi! I'm trying to get some candle colors, if there is any gap higher or lower, the candle shows up as red or blue, but the chart are not coloring all the candle body, instead there are creating a new candle next to the original. The idea is just get differente between open/close values and color...
I need some help. I did convert the most of codes from mql4 to mql5 but there are still some problems.  Errors: 'IndicatorBuffers' - function not defined test.mq5 33 5 'High' - undeclared identifier test.mq5 113 18 'Low' - undeclared identifier test.mq5 113 50 'High' - undeclared identifier test...
Hello all pro Coders, Im new to coding & just wondering that: IS IT POSSIBLE to code an Indicator that will open a  profile with selected name by clicking on a button created on current chart when the indi is attached ? so when I want to change to the other profile ... I just have to click on the...
  fibonacci tools  (1)
Hello, does anyone know away to save and load settings for mt4 or mt5 fib tools (ret, fan, channels, timezone and arcs), please regards,
What are some well-known RSI modifications or adaptations? What could be added to this list? * Laguerre RSI * Apirine Slow RSI * RSI within Bollinger Bands.
hi any body help me to calculation about correlation in the code. for example EURUSD, USDCHF How much percentage correlated to each other. Regards Muhammad Mudasir
Hello, does anyone should share (or code) this such simple indicator for MT5? I just would like to add to the standard ATR oscillator 1 more ATR line of an ATR value multiplied by n. . Does anyone can help me? Many many thanks.
hey all.. i am new to trading and since i do not have a back ground in programming can anyone help in converting the below linked indicator from MT4 to MT5? https://www.mql5.com/en/code/7786 thank in advance.
Does anyone have an Awesome Oscillator scanner, which could scan all symbols from the market watch and alert in case of zero line cross or signal line cross. Any scanner or dashboard will be great.
  Trend indicators  (506   1 2 3 4 5 ... 50 51)
All the indicators which are helping the detection the trend please post here. The first indicator is sinTrend. The value of about zero is the float, the trend is started if the value of indicator is equal or above 0.0015 or minus 0.0015, the value of above 0 is uptrend, below 0 - downtrend.
Calculate Fibo Retrace Levels: here a simple function that calculates FIBO retrace levels for further development stepshope this will help you ;) Author: Christian Opperskalski
  Experts: Sophia1_1  (21   1 2 3)
Sophia1_1: My first trading System using simple pattern. Author: Giulio Bucci
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
New article DIY multi-threaded asynchronous MQL5 WebRequest has been published: The article describes the library allowing you to increase the efficiency of working with HTTP requests in MQL5. Execution of WebRequest in non-blocking mode is implemented in additional threads that use auxiliary charts...
Init_Sync: The library makes indicators' Init/Deinit synchronized Author: fxsaber
  Experts: Currency Strength EA  (39   1 2 3 4)
Currency Strength EA: This EA opens Buy or Sell trades in strongest or weakest pair. It cannot be backtested. Author: jp_forex
  Experts: FIBONACCI  (14   1 2)
FIBONACCI: "FIBONACCI" EA Trades when there is a retracement from "FIBONACCI" levels. Author: Aharon Tzadik
New article Integrating MQL-based Expert Advisors and databases (SQL Server, .NET and C#) has been published: The article describes how to add the ability to work with Microsoft SQL Server database server to MQL5-based Expert Advisors. Import of functions from a DLL is used. The DLL is created using...
Position Size Calculator - Based on VP money Management rules: This indicator is based on the Money Management approach used by VP from <deleted> It uses ATR to calculate Stop Loss, Take Profit and Volume you should enter into a trade based on the percentage of your Equity you want to risk. Author:...
Ehlers Fisher transform: Ehleres Fisher transform Author: Mladen Rakic
ThreeBreaky: Multisystem of Volatility Breakout Author: Fabio Cavalloni
ms-Candle-Index. Indicator of the strength of the direction of the candle.: The indicator determines the index of the direction of the bar prices and the Gap/breaks in them.It is a logical continuation of the ms-Candle indicator. Author: Sergey Tselikov
  Indicators: QQE  (3)
QQE: The QQE (Quantitative Qualitative Estimator) indicator consists of a smoothed Relative Strength Index (RSI) indicator and two volatility-based trailing levels (fast and slow). The Fast Trailing Level (TL) and Slow TL are constructed by calculating the average range of the smoothed RSI...
Dual differentiator: Dual differentiator Author: Mladen Rakic
New article Interview with Andrey Barinov (ATC 2012) is published: It was on Friday of the Championship's first week that the trading robot of Andrey Barinov (Wahoo) occupied the fifth place in TOP-10. Andrey is a newcomer in the Championship but he has already managed to execute more than 100...
Hi, I have Metatrader 4, (which is compatible with my broker account), but can't trade multiple accounts. Does anyone know how to do this?
  Traders joking, the beginning  (7383   1 2 3 4 5 ... 738 739)
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, This is the first time im posting here as it's my first time doing ANY coding, i seriously didnt know anything about coding since 2 days ago. I must say, it's pretty fun. I have learned quite a bit by trial and error and reading the articles here. Anyways this bot is still a work in progress...
Hello, There are  MT5 programs  where OnChartEvent() and EventChartCustom() are used to get multicurrency  datas  The program is explained in this article  Is it possible to adapt it for MT4 ...because what i tried is bugging
Good morning everyone, I wrote an expert Advisor in mql4 format which open position at certain time of the day, it calculate number of lots, take profit and stop loss. Now I want to change it because it doesn’t work very well and I want that it open position when the candle start (in the timeframe I...
  Elite indicators :)  (15100   1 2 3 4 5 ... 1509 1510)
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?
Hi,  does anybody knows if we have limitation in the History download on MT4? i have downloaded a history for SP500 from 1950 but the history center on MT4 has taken only candles from 1970 ignoring all earlier prices !
Hey guys, is that somehow possible to save the screenshots made by ChartScreenshot() to a different folder?
Hi guys, Im struggling with a simple string find function. I am using OnChartEvent handler, and my idea is to take the sparam and search it for a string, for example search for "Remove" in the object name, if there was a click on an object(button) on the chart. But the string find always returns 0 !...
This is one of the most common errors I see, probably due in part to the likes of garbage such as Expert Advisor Builder. So I thought it was time for a thread dedicated to the subject so that it can be linked to for future reference. The Problem Let's take a simple example; we want a function to...
Hi,Today I accidentally find a code by @futurespec, which makes hand drawing a segment line on chart very easy. Thanks @futurespec!It's what I have been dreaming of, for a long time !I spend a little time to transform this segment line indi into a polygonal line indi.Now it's usable. But wait,...
Hi, I'm new to this and just wondering what functions in MQL4 I could use to make an EA place a stop loss above/below a reversal candle before the entry order is placed? Does anyone have some example code maybe? All help much appreciated, thank you!
Hi I have 2 questions. 1-How can I check the last order ,closed with takeprofit or closed manually ? if closed with take profit, for example do something . 2-for every new order , ea check the other open orders ,if difference between ASK price and any order open price is higher than certain amount ,...
Hi everyone, I'm a beginner and I'm trying to learn. I have a problem, in this practice expert, I insert the stop loss exactly on the minimum of the candle and I would like the RR ratio to be 1 to 1. I'm trying to calculate the difference in pips between the maximum and the minimum and then add it...