MQL5.community forex forum for traders and developers

I recently signed up for MQL5's VPS plan at $15 a month. I've migrated all and it seems to be up and running with a ping less than 3 ms. Nonetheless, when I look at the ms on my MT5 platform it is still the same as before installing the vps, around 93ms. What am I doing wrong? Why am I not getting
  Artificial Intelligence  (17   1 2)
Do you have any experience in Neural Networking or Machine Learning Trading
the indicator shows in the terminal /market /purchased but next to the install button it says "product is purchased but not downloaded yet" . When I click install nothing happens . Am I doing something wrong here
Please refer to my screenshot below. The currentOpen is the opening price of the current candle. The OHLC that I print on the chart is for the candle-1 or the previous candle. The OHLC values I'm getting is different for each candle on the chart. As an example, I hovered my cursor on the candle-1
Anyone to assist with rectification of this error
I want to know if my balance will have the same risk a signal provider or can i change the parameters? The signal provider is $10,000 of equity and my balance is $500
Hi, i just bought an EA and i was chatting with the seller because he was helping me set it up. suddenly i can't send him a screenshot anymore ; its says: User banned temporary for too many messages or assigning
  Become an Author at MQL5.com!  (170   1 2 3 4 5 ... 16 17)
The new MQL5 Community website at http://www.mql5.com keeps developing. We invite all of you to make your contribution to this development. The new MQL5 is the evolutionary continuation of MQL4. The new language is characterized by the support of object oriented programming, by a higher code
Hey, I run into a business by chance that they claim themselves to be based in Hong kong, can operate my MQL5 account to trade because they have experienced trader that is more likely to make money than I do. Now they ask me to wire money to their account (it's a personal bank account with Standard
Good evening Im new using XM Global platform. My New order button is greyed out, I can't place an order. how do i reactivate the button. From Papi
  Nasdaq Chatroom  (2)
Do I just feel that, but this forum looks like from the last century. Is there a chat room here where the Nasdaq is discussed
Hello, Do you listen any music while you trade? I have tried with many different kinds, but I think classical music is the most appropriate to remain discipline focus and calm . Any replies are appreciated. Let's start
A friend is starting a signal on MQL5. We searched under Articles for how to subscribe. This was in the article: "Rating To help users choose the best signals, we compile a rating of signals based on various criteria. Top ranked signals show up first in the list. And vice versa, low rated signals
Hello, does anyone know how to change the trading account password (master and investor) via some web service or website? In the web terminal https://trade.mql5.com I could not find this feature. It is only existing in the desktop terminal. But I would like to change my password via web browser
I have a semi-auto EA and I'm willing to sell it on the MQL5 market , this EA doesn't automatically open or close order until user order it to. The test system rejected my post as the EA doesn't open order automatically. Is there any possibility for these type of assistant EA to be sold on the
  What is your favorite strategy ?  (47   1 2 3 4 5)
MartingaleGridHedgingScalpingNewsTrendOther ( write in comments )
Hello Scalpers, I am wondering if scalping can be profitably due to slippage using one of the major CFD brokers out there scalping indices such as the SP500 or the NASDAQ on a 5 seconds timeframe? Any experiences? Also, if one is using BuyStop orders do they really have a chance to be executed at
  LabTrend  (275   1 2 3 4 5 ... 27 28)
LabTrend is a complete trading system developed by Igorad and is based on the popular ASCTrend. LabTrend is Forex TSD system because the indicators have origin in our forum. Being a complete trading system it could be traded alone or with the help of some extra indicators. In the following post we...
  Daily Breakout EA  (151   1 2 3 4 5 ... 15 16)
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...
Both “Boom” and “Crash”, “Boom” only (not “Crash”), “Crash” only (not “Boom”), No, but I’m interested in knowing more, Never! I don’t have any interest
Hi, Can any one expert trader help me out to share their experience in hedging on correlated pairs both positevely and negatively. Also tell is their any way to have correlation coefficient on MT4
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
  Something Interesting to Read  (100   1 2 3 4 5 ... 9 10)
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...
Please, help me with this strategy. At H4 TimeFrame, it closes Engulfing in the trend, and at M15 it returns to SR, and then rebounds from it. SL = 18 Pips TP = 75 Pips Is this a good idea? Is it realistic to trade like this
Hello all, I have been reading into 'Latency Arbitrage' recently and I am curious to know what your thoughts and/or experience was like? I am interested in gaining knowledge as to what the pros and cons are to this method of trading, its sustainability, and what is actually required for a
Hi folks! I am student and new in the forex market. I just want to earn 5$ per day because I have not big investment. I got confused by seeing YT video and nothing works for me. If anybody share his/her strategy then I will be very thankful
5%10%20%30%40%50%50% - 100%
  Trading System by Xard777  (3889   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
do you have a strategy that you would like to share..? Test, or for any reason for that matter. this is the place to show off your talent
  futures  (4)
As I know if I buy a futures instrumentum on the stock exchange, as the expiration date approaches, it converges more and more to the price of the original instrument, but this is not the case at my brokerage company. Can anyone tell me what is the reason for this
Do you have a simple solution to check cryptocurrency charts in Metatrader5? For example, how to open the Dogecoin chart for analysis in Metatrader5
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
Hello, so i wanna scalp on binance like this guy on https://youtu.be/GmTxWxhiC2c?t=903 he is using ninja trader it's called " ATM Strategy " and as he places an order automatically are placed two more orders for stop loss and take profit on a pre defined ratio. Sadly binance don't support this
  MT5 real FUTURES broker  (26   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform ? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you
Dear all, Please let me know which broker offers Crash300 Index as instrument to trade ? I open many forex accounts but cannot find this symbol. Thank you
Hi Starting to look into MT5, have some experience with MT4 for FOREX but would like to start to use EA for stocks. As how, I cant really find if MT5 can help me to achieve what I have been looking for. I want to (and I have some basic programming skills, so I intend to do it myself) an EA that can
If anyone here expert in crypto currencies and having any idea of pi coin's future then please share
  Forecast and levels for CAC 40  (26   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...
Which Stock Brokers offer MetaTrader 5 platform? Anybody know
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
  Crypto Currencies  (26   1 2 3)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
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...
  Forecast and levels for S&P 500  (471   1 2 3 4 5 ... 47 48)
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...
Yes, No, Interested, Not anymore
I have a background in C#, and wondering how I can get a list of type T in MQL5. For example, if I have the below class: class Person { public : Person(); ~ Person(); private : }; In C#, I could easily get a list by using : List < Person > myList = new List < Person > (); How can I achieve this
  Better NN EA development  (839   1 2 3 4 5 ... 83 84)
Hello everyone, I will start this thread by first stating that if you are a beginner and have no high level programming experience you are better off reading other threads. I intend this thread to be for the very experienced programmers with some Artificial Intelligence background. I am attaching...
  Better NN EA  (113   1 2 3 4 5 ... 11 12)
Hi Better has really good EA and is winning the championship Participants - Automated Trading Championship 2007 Profile Better - Automated Trading Championship 2007 What is NN ? Where are the NN threads in this forum? Can anyone here make this EA El cid
  OnTick does not execute  (14   1 2)
Hi, I'm new to this and I'm stuck. My code does not seem to execute at all. Here my very simple code : void OnTick() { //--- Print("OnTick"); } Nothing appears in the "Experts" log when I run my EA. I don't know where to look or what to look for
Please I am trying to write a code in mt4 or mql5 that will: Have a static line of high and low TrendLine These lines will only be drawn when TimeCurrent is > 00:01gmt And will be deleted at midnight when TimeCurrent > 23:55gmt The upper line will have two anchor point 1. it will pick out the
I need an EA that stops the session and disconnects autotrading, but that takes into account the different trades of the day, that is, that the objective can be marked (ex. 20% of the balance ) with a start of balance of 10,000,if the trades are -40,100,60,-80,180,stop when the balance is 10200 and
Hi How calculate resistance and support of current time-frame!? I don't want indicator! I want calculate resistance and support within EA..... BR J
Hi, When I'm testing experts advisors, some of them use 100% of my core. And some, doesn't use more than 8% of capability. Actually, both experts are almost the sames, only few lines and indicators changes. Do someone have an idea of what cause this problem ? And how could I fix it
Hey, thanks for taking the time to read my question, I don’t have any problems compiling the entire EA, but I noticed my EA was showing up as an indicator in the MetaTrader environment and not as an EA. Could this be because my Buy and Sell orders are incorrect? CTrade m_trade; // trading object
  EA and VPS  (2)
Hello. If I rent VPS from metatrader terminal..can I run 2 metatraders on the same VPS which I rent from there? I am running an EA on a metatrader 1 and I want to copy the trades to metatrader 2.. S o if I rent VPS from here can I run 2 metatraders on that VPS? Thank you
Hello guys, I need a bit of guidance to learn how to test my strategy. I have made up my own strategy, with know indicators and i want to back test it on MT5. I tried the strategy tester, but it is very weak : 1. It shows the evolution of the price not the conditions 2. it does not allow you to
I find these errors test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1 (netting) strategy tester report 162 total trades test on GBPUSD,M30 (netting) strategy tester report 1 total trades test on EURUSD,M1 (netting) 2020.02 . 18 23 : 09 : 40 current account state
  EA expired  (5)
Hi everybody i have download one EA in somewhere, for me is good because i follow his work and sometimes i close or i move TP in manual ..problem is this : at the end of the 2017 EA is expired there is someone that can do reverse engineering and cut off or move foward the date of expiring ?? I have
Hi all, the example is generic, since I have no idea how to overload the indexed assignment ... does anyone know how to do? class CIntArray { int array[]; ... public : void Set( int index, int value ) { array[index]= value ;
Hello,  How can I set fixed spreads in MT5 backtesting ? It's always floating? Thank you.
For example, I want to connect any two points of the A/D indicator (my purpose is to detect divergence), but if there is a dip/top that exceeds the "trendline" between these two points, this drawing should not be accepted. Same goes for both prices. What I am trying to do is to create a trendline
Hi I wanted a script to open charts for all the "Unhidden" symbols in the Market watch. With some help, I tried the following code. But it opens all the symbols in the Market watch including the hidden ones. Could someone please help to filter only the "Unhidden (Showing)" symbols in the Market
One issue I'm having modifying pre-existing indicators is the indicator plot on the graph will stop updating and return to zero, until I recompile or change timeframes and back again. I've been trying everything. What's the best code for an indicator loop? Here's my code, trying to combine Bears and
How can I create an indicator that has multiple MAs, but not showing all the MA options at once, but instead revealing the settings for the MA chosen by the first drop down menu? Would I use something like this? enum MAchoice { MA1, // blah MA2, // blah MA3, // blah }; input MAchoice MAmethod = MA1;
Why is this happening? do I need to re-install Metatrader/MetaEditor completely from scratch? Am I supposed to add an #include file? What's going on here? I searched the internet and I can't seem to find a similar issue anywhere. I'm using it in the OnCalculate area. I've tried typing it in other
I have attached two order block scripts that I coded. Any kind soul willing to help turn it into a indicator. Am sure the community will benefit from such kindness
im trying to add this value of the indicator: speed as buffer , please help! i did SetIndexBuffer , but then what i have to do ? //+------------------------------------------------------------------+ //| Speedometr.mq5 | //|
Hello, my MTF (multi-timeframe) indicator works fine on opened market (when new ticks are received -> starting OnCalculate() function). E.g.: I see D1 moving average values on 10min chart... Problem is on the closed market where no new ticks are received. I get error 4806 (BarsCalculated function...
Please how can I fix the following errors in the below code? 1.'if' expressions are not allowed on a global scope. 2.'}'expressions are not allowed on a global scope. 3.'if'open parentheses expected. 4.'first'-undeclared identifier 5.'}'-not all control paths return a value
I used the default MetaTrader Parabolic SAR and ADX in an EA but wasn’t working. Then I backtests each indicator and observed that neither of the indicators are reading data. The data window is blank even the ADX didn’t load at all only the ADXW did. What could be wrong
Hi there? Please inform me how I can solve these 9 errors Line 1: OnCalculate function not found in the custom indicator Line 52: 'AbsMOMBuffer'- undeclared identifier Line:52: ' AbsMOMBuffer'- variable expected Line 52
This indicator will simply be a list of 5-6 different indicator values, each followed by a Green up arrow or a Red down arrow. This indicator should show in the window below the chart
  beginner  (2)
Hello I start in programming mode under mql5 I look at the following code https://www.mql5.com/en/code/491 and I look for the line number where the program draws the blue or pink point in the function int OnCalculate(const int... thanks
Hi, I use daily timeframe to display indicators like MACD etc. For this purpose the iMACD-function uses the daily bars of the underlying equity. How do I calculate a new MACD that uses daily bars (24h) where the bar starts at an arbitrary hour, e.g. 10:00 and lasts until 09:59 the next day? Thanks
Good Day all, So I've plotted an RSI indicator to the main chart and on the same window (of the RSI), I've plotted several MA's. Anyone know if there's a way of getting the MA values relative to the subwindow? I was able to get the MA handles from the subwindow but when retrieving the values, I get
New article MetaTrader 5 on Linux is published: In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers. Author: MetaQuotes
New article A Universal Oscillator with a GUI has been published: The article describes the process of creation of a universal indicator based on all oscillators available in the terminal, with its own graphical interface. The GUI allows users to quickly and easily change settings of each oscillator...
New article How to Install and Use OpenCL for Calculations is published: It has been over a year since MQL5 started providing native support for OpenCL. However not many users have seen the true value of using parallel computing in their Expert Advisors, indicators or scripts. This article serves...
Radix sort (The fastest numeric sort) : Sorts the values of a one-dimensional numeric array in the ascending order. It is 3-10 times faster than any other sorting algorithm. Author: amrali
Rapid Doji EA: The Rapid Doji EA is a fully functional MetaTrader 5 Expert Advisor that uses pending orders (one BUY and one STOP) around each Doji candlestick on the Daily (PERIOD_D1) time frame.This is a great introduction to how to build a simple, profitable EA.You can watch, step-by-step, how
Flat_Trend: A market state indicator. Author: Scriptor
New article Neural networks made easy (Part 29): Advantage Actor-Critic algorithm has been published: In the previous articles of this series, we have seen two reinforced learning algorithms. Each of them has its own advantages and disadvantages. As often happens in such cases, next comes the idea
PriceChannel Signal: This indicator is the conversion of famous Igorad's indicator namely PriceChannel_Signal_v1 with re-enter feature. Author: Sergey Golubev
Binary DOT Signal 60 second expired : Binary Option Signal Author: Denis Adha
New article Use MQL5.community channels and group chats has been published: The MQL5.com website brings together traders from all over the world. Users publish articles, share free codes, sell products in the Market, perform Freelance orders and copy trading signals. You can communicate with them on
Binance Spot Library : Short description. Author: Hadil Mutaqin SE
Detecting the start of a new bar or candle : Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor. Author: Fernando Carreiro
Detecting the start of a new bar or candle : Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor. Author: Fernando Carreiro
The Roofing Filter : The Roofing Filter Indicator was created by John Ehlers ("Cycle Analytics for Traders" pg. 80 - 82). Author: Andrei Novichkov
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...
I am trying to draw Candles of a different currency pair inside the Indicator_separate_window , but its Not drawing correctly , can someone please point to what I am doing wrong here: #property indicator_separate_window #property indicator_buffers 4 #property indicator_color1 clrYellow #property
Hello, I am new to this site and the MQL5 web terminal, (I've mostly used MT4 on my phone, but am trying to transition over to an actual computer) Anyways, I was just wondering... is there a way I can connect my account with an outside broker to this MLQ5 web terminal platform or am i only able to
Hey, I wanted to download old experts logs (07/2022 & 08/2022) but when I click the request button I'm getting logs since "2022.08.05 00:00:00.179" and nothing before this date. The terminal logs are present since the start of the VPS (2022.07.14). Is there any auto remove of logs on the VPS side
  Usefull links/threads/tools  (54   1 2 3 4 5 6)
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
Hi, Is it possible to identify an order sent by an EA or manual? Suppose that the EA sends an order with magic number equal to zero and order comment equal to nothing, i.e., empty strings. A similar question that I have is if it is possible to send an order from an EA where the broker is not aware
Hi I'm getting different results running the same code on MQL4. I just ran the same code consecutively and the graphs are different, without any adjustments the code or anything else whatsoever. My initial thought is maybe that this is a result of processor load between ticks, because the processor
hi guys, Suppose i have several nested conditions which every candle is checking and when all of them is true i want to waiting and counting 5 candle. how to do that
Dear Dev's can anyone help me please ? i have a script when i run it take screenshot of chart and send it to telegram via API i want to make it EA with specific hour input to make it run on specific hour in the day and work automatic daily Regards
I am trying to do a trade for lot size I use 0.05 for the lot which should be 50 cents per pip and I am doing 20 pip stop lose and 30 pip take profit so if I win the trade I should get $15.00 but mt4 is only paying me $1.50 which works out to be 5 cents per pip If I put it like this 0.50 which is
I have this indicator which is an ex4 file, it only has pop up alerts, is there any way i can get push notifications on this? kind regards. <ex4 file deleted>
Hi, My thoughts were this: why can't I reuse histo in the same way as I use "i" ? I use histo for comparison for up/down cross. histo = iCustom ( NULL , 0 , "MACD True" , 2 , 1 ); I use histo_1 for counting void histo_up_count() { for ( int i= 0 ; i < 50 ; i++) { histo_1 = iCustom (
Hi! Im running multiple Forex Pairs but i only want to close the order of the Forex Pair that the EA is installed "on". My try; void CloseOrders() { // Update the exchange rates before closing the orders. RefreshRates(); // Log in the terminal the total of orders, current and past. //
The picture below I want to avoid commissions being greater than profits (Loss). I'd like it to be the other way around when trailing, problem is I don't know if this is the correct way to do so with the trailing function below. 2. Could be that I'm not calculating spread with commissions or spread
Hi, I have an indicator im trying to install on my mt4 desktop but its not showing up? I have no idea why... im doing all the correct steps. Please find the attached image and youtube link below.. ty. 1. I open Metaquotes editor 2. I drop my folder into the indicators list. 3. I close MT4 and its
Can anyone teach me how to change the source code below so that Moving Average crossover alert happens once the cross has happened instead of on a current candle? I know that this must be a simple problem for most of you probably but not for me since I am struggling with coding. Thank you in