MQL5.community forex forum for traders and developers

From July 1, 2021, we introduce additional requirements for products offered via the Market. Dozens of new applications are published in the Market every day. However, many sellers do not think about how their products appear to users and how customers feel about using their apps. Some descriptions
  Posting signals  (2)
Hi, i have created a signal so traders would copy my trades but the problem is i cannot find my user when searching signals, any idea please. Thanks
I notice that my trade sizes are 10x the size of my signal providers trade size, in my demo account. How do I adjust my trade sizes in relation to that of the signal provider
Dear Friends, i think everyone know that when we trade by experts , our broker know that this account is being treated by experts and when we trade manually broker find this account as a mnually trading account. i found an issue in my account that when i try my expert with my account i usually get
Strategy tester stops before it finishes the custom test date . it shows Thread finished as shown in the pic attached
Hi, I have googled all night, I still seem not to find the right code. The MetaEditor does not have the previous indicator. I am trying to build a MA EA but now I need the previous Indicator. This is what I got off the internet and cant figure out how to use it. double iMAOnArray( double array[], //
Hi friends i cant deposit since last 10days via visa card n i cant pay now for jobs i gave in freelance, it says Declined by issuing bank, but bank says we dont decline and there is No attempt being shown here for deposit in mql5, they say contact mql5.com
Hi, My broker told that has no support from MQ to supply ORDER_TIME_SPECIFIED. Someone can help explain me why
Hello guys During hundreds of test run recently I faced array out of range in a function immedaitely after calling ArrayResize. So the quesion is, is it necessary to put a control to avoid this. Example if ( ArrayResize (Array,size, 1000 )==size); { // code } // instead of
  Withdrawal FUnds  (13   1 2)
Hi, Anybody help me to solve my problem? coz service desk never respon my request... Thanks
Hey everyone. Greetings from Down Under. I have been trying to implement an indicator that downloads higher timeframe price data in MQL5. I have used various versions of the CheckLoadHistory() functions, including this one https://www.mql5.com/en/docs/series/timeseries_access and this one
I have a file with 1000 line such as : 1;2;1;3 2;5;8;6 6;3 ;1;2 1;8;2;8 2;4;1;4 2;7;2;3 I wnat to search for a row that : the first column is 6 and second column is 3 (Here is the third row ) and then I must add a number 8 to end of the file : 6;3 ;1;2 ;8 How can I do this and go the pointer to end
I am experiencing an issue regarding the fund withdrawal from many days now. Any Idea what can be done for this case? Here is a Screenshot of the error
Hello, Can someone guide me how to setup a VPS without GUI (same as MQL5's VPS service ) on Linux? Thanks
About 1 month I can't withdraw and the support is not responding. I got this text at withdraw section: Withdrawal unavailable: We need to perform additional verification of your account. This is a standard procedure meant to ensure the security of all MQL5.community members. Currently, no action is
  Trading System by Xard777  (3887   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
  Something Interesting to Read  (78   1 2 3 4 5 ... 7 8)
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...
blblablabl Hello, I use MetaTrader5 library for python. I call connectToAccount from main function. I don't understand why MetaTrader5's window needs to be open. If I block this opening my script sleeps until the window is opened. Is there a way to make it work without opening the Mt5 window ? Thank
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...
With everything working for months, VPS still on, subscription paid for, why did my trades that were opened by a Provider not closed today when Provider closed the trades? Blackwave Pacfic, USDJPY trades. How does one get direct support from here
  For "Solar wind" believers  (398   1 2 3 4 5 ... 39 40)
Since it seems that some new reincarnation of "Solar wind" is appearing at least on a weekly basis, and since it seems that is useless to repeat over and over that it is a wrongly coded Ehlers fisher transform and that it is one of the most famous re painters, here is this nice little thread in
  PriceChannel Parabolic system  (298   1 2 3 4 5 ... 29 30)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
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...
  Daily Breakout EA  (146   1 2 3 4 5 ... 14 15)
Hello Trading Fellows. First, look on my strategy: - Everyday on 0:00 GMT I make two pending orders: 1. Buy @ yesterday high 2. Sell @ yesterday low TP and SL for example: TP:20pips SL:15pips end. On GBP/USD, TP: 20pips, SL: 15pips in 32 days I have: 8 loss = -120 pips 25 win = +500 pips On another...
  Harmonic Trading  (5982   1 2 3 4 5 ... 598 599)
Hello all I have tested many strategies and many other stuff but i did not found them more accurant then basic analysis of the market. i mean,the Price Patterns. 1. harmony indicators: here and here. 2. candelsticks reversal patternsis here. 3. Price Patterns: - Price Patterns (Gartley,Butterfly,Bat...
Hello.I hope you are good.Am new in programing and i have problem about crossover. I use two différent crossover of moving average.I would to code in EA after the first crossing the robot waits for the second crossing to open a position. If after the first purchase crossing the second crossing which
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
  Stochastic  (85   1 2 3 4 5 ... 8 9)
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...
  Scalping system  (183   1 2 3 4 5 ... 18 19)
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
I'm new to forex trading and trying to build a portfolio of different strategies in order to not worry about single EA results too much. I'm trying to immitate quantitave investing methods from stocks. My question is - how could I do this with reasonable costs and if someone has ideas on how to set
The international broker has expanded its exchange trading offering. Using the multi-asset platform, traders can invest in securities of global corporations, such as Allianz, BMW, Bayer, Siemens, Heineken and Royal Dutch Shell. This addition to the previously available portfolio of US stocks, brings...
  Trading stocks  (3)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
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...
  Autotrading Help  (8)
Hi all, I am a trader who would like my followers to copy my trades in the US stocks market. I am wondering if I could get any information on Auto/Copy trading please? I am new here and greatly appreciate any help given. Thank you
  We use Bitcoin ;)  (481   1 2 3 4 5 ... 48 49)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
  Forecast and levels for Nikkei  (36   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...
hi , i'm wondering if i short the bitcoin at 35000 and my target the price crush to 1 dollar , how much i'm gonna earn
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
Crypto Currency. What is the reason for BITCOIN fall? Is it China Beijing on Tuesday ban financial institutions and payment companies to provide cryptocurrency-related transactions? Elon Musk statements about Bitcoin? Or because its a Beast of No nation? To avoid virtual e currency, stop money
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...
Moderator's note. Recommendations are not allowed in the forum
Dear ALL I find that if I use MT5 for trading the futures, I can't separate multi-strategies independent in the futures symbol. For example: I have 5 strategies with five different magicnumber but all trading in s&p 500. In MT5, it will combine the order to one. And it will rewrite the magicnumber
  Forecast and levels for CAC 40  (22   1 2 3)
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
Hi sorry but I'm really in the beginning ... I can't see the stock market but only currency exchange. Depends on the server where I am connected or wrong? Thank you
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...
Dear Members I have come across an indicator which does not have buffer array(s). It has only calculated variables. How can I fetch these values into EA, as iCustom requires buffer number of indicator to copy data ? Thanks in advance
Dear Forum Members I have created a class to calculate Camarilla Pivots. It does calculate for the first day of running it, but then it same first days values, when Get_Pivot() method is called on IsNewDay() in the EA . Please help me locate the problem in the code. EO 0 13:21:53.875
Hi, I'm using MT5 terminal build 1730 64-bit. I'm running EA in strategy tester (visual mode). This EA has panel with buttons BUY and SELL for manual trading. Why buttons aren't changing state (pressed or not) when I'm clicking it during testing as it works in MT4?
Hi, I'm new to Forex, and I'm adapting my Day-trade EA to Swing trade on Forex (Exness Broker). What I know is that Forex closes during weekend, right? I don't really understand if I can't operate during weekends. If so, That would result on false results and reports while I'm doing backtests. As
Hi an amateur here As the title goes I would like to know if there is any possibility of using an ex.5 file indicator to reference using the iCustom functionality in EA scripts to be written in MetaEditor4. I currently use MetaTrader4 and thought to retrieve values using iCustom from an indicator
In the agents tab all cores are "ready" and enabled but I can only select one of them, it doesn't give me the option to select more than one core. I searched everywhere but couldn't find any solution
Hi, I would expect the following code to work. But MQL giving "'Order' - illegal returned type". Any idea why? C # namespace ExpertAdvisor { public class ExpertAdvisor { [DllExport] public static Order Order() { Order Order = new Order();
hey, is there any script for closing half and Stop loss to Break Even point? im a scalper and that scripts will be life saver
Hello MQL5 community Can someone please help me, by example; how do i close an open trade, either through a function or TP amount? I tried this: double myAccountProfit = AccountInfoDouble ( ACCOUNT_PROFIT ); double myAccountEquity = AccountInfoDouble ( ACCOUNT_EQUITY ); if (myAccountEquity -
Dear Members I am stuck as how to initialize member array of a Class with fixed values in constructor method. please help me out. //+----------------------------------------------------------------------------------------------------------+ //| CLASS: CFibonacci //| APPLICATION: to define
HI, everyone Please help to advise. My optimization too long waiting time, now MT5 agent can calculate at 27905 of 129024 steps use time feel day 20:42:52/95:44:21 time remain for 4 days (I think time 95 hour for my cpu 8 core right?) My laptop is core i7 2.8 MHz processor local 8 core agent, it
  EA Rename EA  (2)
Hi, It is possible to have a EA to rename a .EX5 file? Or copy/move a .EX5 file? I tried but got no success
Whenever I use S tart/resume debugging on Real Data button from MQL5 Editor, expert or script initiates on EURUSD / H1, I have closed All chart even then its same. Is is possible to change this
hello guys can someone please send me a mq5 code where all current opened trades close when daily total target profit has been reached(as an input) ,then the Ea opens new trades the next day ! thanks
I have a mql5  EA which sends market orders with the command OrderSend(request,result) The MqlTradeRequest request object has the following attributes: request.action = TRADE_ACTION_DEAL; (market execution) request.deviation=0; (I prefer not executing the trade rather than executing it with any...
Hi. I Have 2 Button on my chart and I want calculate and draw something base on the candles high and low when the button state is true or false. I want use this code in OnCalculate fanction so i can access to high and low of every candles and draw my shapes until the button state is true, but this
Hello dear, I am new mq5 developer. I am trying to convert one good indicator to mq5 but I am facing problems. I attached the equivalence mq4 file. The mq5 file is what I did. Can someone help me please to fix the mq5 file? The label (HH HL LL LH) is not updating when you loaded in the chart Many
  Market Hours Indicators  (169   1 2 3 4 5 ... 16 17)
Does anyone have an indicator that will highlight the major market hours for London, New York, Tokyo... etc. The only similar indicator I have will only let you highlight 2 zones. Any help is appretiated.
Could someone put the option "minutes" in the parameters in this indicator? For example: so that we can put the time span between 10:30 and 15:30. I would be very grateful
Hi! Most of the time, custom indicators will require some basic structure with code that are so common that can be used for ctrl+c/ctrl+v purposes. Up until now, the basic structure I've been using for the OnCalculate is as follows: int OnCalculate ( const int rates_total, const int
Hello guys, i'm new to MQL5/4 and i'm doing my best learning by doing i'm trying to convert an indicator from MT4 to MT5, i managed to solve all errors and added most of the required parts, but still, i don't see the indicator when i attach it to chart. the indicator file is attached below could you
Hello guys, i managed to add a MA to an indicator, using the MAOnBuffer, now i need to create a MACD of the same buffer, so i want to have an MA and a MACD on the same indicator i tried the iMACD, but i'm getting weird results, i'm not sure if iMACD can be applied to indictor buffers anyone can give
Hello to the forum I recently learned the mql5 programming language. I needed to create a Hall Moving Average indicator with the ability to adjust the average type. I made it with difficulty, but the indicator does not draw the next points after the first candlestick. Can anyone help me
  Demark (TD) Moving Average  (48   1 2 3 4 5)
Hi everyone, First off I just want to say that I'm not a fan of anything that lags, and that includes (most) moving averages. I had the luxury of using the below described at my last job, but not anymore. I was surprised to see that I couldn't find it anywhere for metatrader, so I was hoping someone
  TD Sequential  (22   1 2 3)
Hi Guys, Has anyone got DeMark 's TD Sequential indicators with full setup instructions Thanks Babar
[Deleted]
Dear Members and Administration of Forum 22-03-2012 on one of the Western Forex forum there was placed during one day screenshots of indicator, which is able to predict price movement on 1H charts (and any others!!!) up to 12 bars upfront... During the trading (22-03-2012) day we published our...
I have a very simple indicator I would like to MQL5 but, I don't know MQL5. Are there any people who can help me with this or, will I need to study a tutorial to learn
Hi guys, i'm trying to convert an indicator from mt4 to mt5 i managed to solve all error, and compiled the code, but when i attach the indicator on chart i get a blank indicator window could you plz help me .. it's really urgent and important for me, Thanks in Advance #property copyright ""
  Daily Vertical Lines in MT5  (16   1 2)
Hello altogether, I used to trade via MT4 (that was a while back). Now I wanted to start trading again and installed the MT5 Software. Back in my MT4 times I used this indicator --> https://www.mql5.com/de/code/12266 <-- to display certain times in my chart, which was (and hopefully will be again)...
hi, some indicators like ADX have variant maximum level in their subwindow,does anyone knows a way to get maximum level of subwindow of an indicator for the last bar
New article 50,000 completed orders in the MQL5.com Freelance service has been published: Members of the official MetaTrader Freelance service have completed more than 50,000 orders as at October 2018. This is the world's largest Freelance site for MQL programmers: more than a thousand developers,...
New article The Implementation of Automatic Analysis of the Elliott Waves in MQL5 is published: One of the most popular methods of market analysis is the Elliott Wave Principle. However, this process is quite complicated, which leads us to the use of additional tools. One of such instruments is the...
Volume Profile + Range v6.0: Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. Author: Olexiy Polyakov
macd divergence : with candle direction Author: yamazakinorio
New article MQL5 Wizard: Placing Orders, Stop-Losses and Take Profits on Calculated Prices. Standard Library Extension has been published: This article describes the MQL5 Standard Library extension, which allows to create Expert Advisors, place orders, Stop Losses and Take Profits using the MQL5...
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
Flat Trend EA: EA based on FlatTrend indicator. You can also include working time. Author: Vladimir Karputov
Exp_Ozymandias: A trading system using the Ozymandias indicator. Author: Nikolay Kositsin
Volume Profile + Range v6.0 - indicator for MetaTrader 5 (Fixed iBarShift Issue): Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out
MAMA + FAMA Multi Timeframe: The MESA Adaptive Moving Average (MAMA) and the Following Adaptive Moving Average (FAMA) combination (originally published here MAMA + FAMA) made to be multi timeframe. Timeframes supported are all the possible timeframes supported by MetaTrader 5 and it has 3...
  Indicators: MA_BBands_YXF  (39   1 2 3 4)
MA_BBands_YXF: The indicator is a combination of MA channels and Bollinger Bands. Author: johnsun888
Scalper Assistant v1.0 : When you scalp manually, a simple EA could be an assistant to set StopLoss / TakeProfit for each trade you open. Author: Mohsen Nazari
New article Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5 is published: One of the most interesting aspects of Self-Organizing Feature Maps (Kohonen maps) is that they learn to classify data without supervision. In its basic form it produces a similarity map of input data...
Trendline wicks EA : draw your own trendline Author: yamazakinorio
New article Graphical Interfaces VII: The Tabs Control (Chapter 2) has been published: The first chapter of seventh part introduced three classes of controls for creating tables: text label table (CLabelsTable), edit box table (CTable) and rendered table (CCanvasTable). In this article (chapter...
I have had no luck with MUTEX so I thought this might work. I wrote a ''Master" ea that cycles through my 10 preferred symbols three times each before moving on to the 18 lesser symbols. The code writes to a global variable every half a second, each time representing the next symbol in the
Hello MQL community , I want to know ,am I allowed to code TerminalInfoInteger(TERMINAL_BUILD) to limit the build of MT4 to use ? Only the newest version of metaTrader can be used the EA on the market ? Best regard
I am wondering if it is possible to have non-drawn buffers which are not shown in the color tab, but their value is shown in the data window. Below is a detailed description of the problem. I have an indicator which has four buffers. Two of them are drawn on the chart, showing some arrows. Indeed
Sometimes I got "On Update" for charts. Do you have mq4 script to update currency's all time frames? So that I can get the data and display properly on chart, thanks
  Astro...  (226   1 2 3 4 5 ... 22 23)
Hi guys, I was wondering if anybody in this forum is interested in searching of connetion among planets,moon and other movements in space. We can share our experiance and learn more and more... All you know that the most famous and successful trader/W.D.Gann/ is used astrology and other technics to...
Hello, I need some help please. I have download this expert advisor a few weeks ago, and i don't know why, but the trailing stop does'nt work. Even if i configure any value, the trailing stop never start. If you have any idea why, thanks. Best regards
Hello. I am looking to implement a code into an existing EA (Scalper) to close all trades on X amount loss floating and start over again from beginning. Someone can help me out? Cheers :)
Hi , I am using an indicator (MQL4) which one of its input argument is mystery Enum! I could not figure out how to input its value I thinks it is something like this : enum ENUM_NAME{ item1 = 50 , item2 = 100 , . . . } as you can see items value are secret! second can I at list choose between items
I am trying to write MQL4 code to modify .tpl file from templates directory. However, I am not able to open any .tpl file from template directory using FileOpen() function. file name specified in FileOpen only opens files from MQL4/File directory but it can NOT open file from templates. Can someone
void OnTick () { Count(); if (Automated== true ){ if (count1== 0 ){ int ticket= OrderSend ( Symbol (),OP_BUY, 0.01 ,Ask, 3 , 0 , 0 , "My order" , 0 , 0 , clrGreen ); if (ticket< 0 ) { Print ( "OrderSend failed with error #" , GetLastError ()); } else Print (
I want to define variables depending on a condition so I write if (CONDITION== 0 ){ double vol0 = AAAAAAA , vol1 = BBBBBBBBB , vol2 = CCCCCCCCC ; } else { double vol0 = DDDDDDDDD , vol1 = EEEEEEEEEE , vol2 = FFFFFFFFFFF
  Lot size  (28   1 2 3)
I need help for my code plz I want to increase the lot size every month only For eg: This code should be calculated from the initial balance of the month If the initial balance is 1000usd in 1january 1050usd in 2 january ......... 2100usd in 31
Dear sir & madam I see Fx divergence and it's so amazing. Is there anyone help me to translate to a variabel that signal? Red arrow is upper the line is sell signal, how to translate to variabel. and green arrow is below the line is buy signal, how to translate to variabel. and make a simple...
Hi All, I am creating a a simple manual trader with buy and sell buttons but cannot get the buttons to work in the tester.  I'm sure there is a secret to this.  Anyone that can help?
void trailingstop_check( int trail, int magic=- 1 ) { for ( int i= 0 ; i< OrdersTotal ();i++) { if ( OrderSelect (i,SELECT_BY_POS)) { if (magic == - 1 || magic == OrderMagicNumber()) trailingstop_check_order(OrderTicket(),trail);}} } bool trailingstop_check_order( int ticket, int