MQL5.community forex forum for traders and developers

I keep having issues with push notifications. I have the option "notification from the terminal" which I assume is the correct one to send notifications from my MT5 terminal to my mobile, it just doesn't work. When I send a test ping, it doesn't work... There was even a time when they started
  Horizontal scale  (6)
i want to use mouse scroll wheels for horizontal scale of chart like tradingview website, is it possible to do
what is the meaning of strike out sign on the seller name
Bonsoir la communauté, je souhaite trader sur un seul compte et répliquer mes trades sur un second compte. Comment faire
  enum symbo string  (11   1 2)
could someone provide guidance on how to do enum symbol selction am working on an multicurrency EA that i need to enum symbols selection example i want to have enum symbol( eurusd,0) 0 is to disable
We have updated the MQL5.com Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
  PayPal removed again?  (23   1 2 3)
If PayPal withdrawl is gone again, then looks like I'm shutting down my testing agents as it's the only payment method that works for me. Please bring it back
Hello everyone, I would appreciate your help since I am not so familiar with mql4. Thank you in advance. My goal: To show the message "CHECK" somewhere when testing in the strategy tester. I run the code several times in several time frames and markets. Nevertheless, the message was not shown in
Hi! I'm trying to figure out why this code only fires on one chart at 1AM, even though the EA is actually attached to multiple charts at the same time. Is my assumption wrong that globally scoped variables only apply to the chart that was attached? or are they in fact shared across charts? int
We have updated Market rules regarding product descriptions more than two months ago. Sellers have had enough time to correct their product descriptions: To remove excessive styles, icons, and emojis, To remove links leading to third-party resources, To add links to built-in MQL5.com chats instead
[Deleted]
  Paypal Withdrawal not Available  (230   1 2 3 4 5 ... 22 23)
I can't withdraw money to paypal. Is this temporary
So I have a Class Object (TickMA) that aggregates tick data in proprietary fashion. The class object is instantiated and updated from my EA. Problem: I want to visually present data contained in the EA Class to an separate window indicator. Looking for a way to pass the pointer from the EA to the
I need help, I'm going to get the robot checked so I can put it on the market and at the beginning it shows me that I can choose a spread, I accidentally checked the wrong spread and now it won't show me either, can anyone help me with this
My intentions is too be able to copy all my trades on another broker. To make this work what exactly do I need to do step by step? Also does my metratrader have to be open for the trades to be copied into the account this is in the subscriber account
Good day. I have been trying to withdraw for over a month now but can't do so. I tried bank cards from different banks including a Mastercard and a Visa Card. I got a message that the "Payment System has rejected the withdrawal and I should contact my bank". The banks told me that the cards are fine
  What is your favorite strategy ?  (52   1 2 3 4 5 6)
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
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
Trading and training video (from youtube for example) about forex and financial market in general.  thread for April 2013 - look at this thread,  thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
Trading and training video (from youtube for example) about forex and financial market in general. thread for April - look at this thread , , thread for May - look at here ,, for June is here , July thread is here Please upload forex video you consider as interesting one. No direct advertising and
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
I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS
  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...
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
  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
  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
  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
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
My coded mql5 when back tested works perfectly opening a trade one at a time according to my command but when I run the code on a demo live trade it opens multiple trades at a time why
When running CopyRates ( Symbol (), ticks_array, COPY_TICKS_ALL , 0 , 2000 ); from the OnTick() function of a EA the return value is 0 and no ticks are returned even when the function is retried 3 times when no data is returned. The symbol is EURUSD. ticks_array is a dynamic array but it is
Hello, can I use MarketInfo (Symbol(), MODE_MARGINREQUIRED) to calculate the amount in account currency spend for the invested lots in the trade? Are there any restrictions or why some coders do complex calculations based on conversions from base currency to the account currency
Hi, I'm testing an EA and I've added Max Drawdown Limits. However, when I run the tester, sometimes trades will at a drawdown much higher than what I've set it as. The strategy works great on demo testing over the last few months, and the Risk Limits work as intended. However I'm unable to get it
Hello, I read many threads about this topic but they are of some years ago and I want to ask about the actual situation in a more clear way. I want to develop an EA that is reading the values of the economic calendar and trade. My questions are: 1. How fast does the mql5 economic calendar give the
Hi, I want to know how the Print(...) function was coded, because I want to write such a function myself, which takes infinite number of parameters. Does anyone know? 
Hello , I am working with and EA which uses a table panel in which you can change symbpol in an slave chart. So I am using a Master EA that works with a Slave EA to do that. To Change symbosl I am using ChangeSymbolPeriod and as documentation says, all EA and indi are restarted. I saw some
  Error  (4)
Hi guys! Am getiing these errors: 2022.12.02 15:30:43.589 Notifications: failed send request [0] receive response failed [12002] 2022.12.02 15:30:43.589 Notifications: 'order #51652826 sell stop 0.06 EURUSD at 1.05287 activated at price 1.05080' not sent to '42C6B909' what would be the reason, as
Hi, I see that in some cases a backtest requires a lot of time (1hr+) and memory. Can anyone suggest what might be reason for this so I can try to resolve it? Thank you very much
Hello i'm a youg student trying to make it please guide me on what to read so that ican build my own trading bots and automate trading strategies please help
I have this script that is supposed to be used for risk management on my trading account. However, I have an issue taking profit. The script calculates the tp levels of 1:1,1:2, and 1:3 once a stop loss has been inputed by the user. My first tp level works flawlessy and using the same structure my
Hi, my code is: how please modify tp of position and keep sl as it was //+-------------------------------------------------------------------+ void ModifyTrades(){ for ( int i= PositionsTotal ()- 1 ; i>= 0 ; i--){ ulong ticket= PositionGetTicket (i); if ( PositionSelectByTicket
  MQL4 to MQL5  (7)
How do I rewrite these from mql4 to mql5? 1) asking1 = MarketInfo("GBPUSD",MODE_ASK); 2) int ticket=OrderSend("EURUSD",OP_BUY,Lots,Ask,3,0,0,"My EA",12345,0,Green);
  Cross over Code  (2)
can any one helpme i want a code to make numbers cross over when the values drop from 10 - 0 and also when they increase from 0 - 10
Hello, Ive tried developing own EAs from developers but its been struggling. However, I found appropriate results by using readymade EAs. Ive been using free EAs for last two months and they have somehow handled ups and down when market become volatile. My question is that can I depend on free EAs
  MISSING ORDERS  (1)
HELLO, why I see orders on my signal provider page here on MQL5 not copied on my MT4? I m using a VPS. Thanks
Hi. Could someone please suggest a way to stop an indicator from refreshing when changing the time frame of the chart in MT5. Whenever I change the timeframe of the chart, it refresh the indicator and generate the same alert again and again. Please suggest a way to avoid this. Thank you
Hello. The custom indicator that i've created does not show historical values on chart. When i try to attach the indicator on any chart i can only see the values beginning from current bar. If i change the broker for some other company it works normal but if i change the symbols GBPUSD-GBPJPY to
I purchased an indicator on the website via the Marketplace. On the website I can see it in my list of purchases, and on the product page it indicates "This product already purchased." There is a link there "Install on the Terminal" that does nothing. When I go to the Market tab of the MT4 terminal
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
Hi all, Is it possible to send the horizontal levels in an indicator window to the background? It seems by default they show on top of the indicator. I'd like the indicator value to be on top and the horizontal in the background. I don't think this is possible, but wanted to check. TIA. Rob
Hi. Could someone please explain whether is it possible to run a custom indicator without opening a chart for the particular instrument in MT5? I read that maximum of 100 charts can be opened in MT5 in a given time. If we want to run an indicator in more than 100 instruments at the same time and
Hi.  I have been working with this news indicator and its working great for me but when someone far away uses it. The news don't comes in the right place. Can someone please have a look at the code and see if there is something that is not right.  So here it makes the array with the news only...
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
  Indicators with alerts/signal  (15921   1 2 3 4 5 ... 1592 1593)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
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
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 | //|
Head and Shoulders: "Head and Shoulders" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with "Head and Shoulders" strategy,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon...
New article How to deal with lines using MQL5 has been published: In this article, you will find your way to deal with the most important lines like trendlines, support, and resistance by MQL5. We can use the Trend line in trading by placing our orders based on the trend line type. If there is an
CloseOrdersBySymbol: The script closes all pending orders on the current symbol. Author: Nikolay Kositsin
GRat Order Exchange : for export/import of orders and trades between EAs and terminals Author: Ivan Titov
New article DoEasy. Controls (Part 22): SplitContainer. Changing the properties of the created object has been published: In the current article, I will implement the ability to change the properties and appearance of the newly created SplitContainer control. Compile the EA and launch it on the
AutoSet SL TP: An Expert Advisor for placing Stop Loss and Take Profit. Author: Vladimir Karputov
Lazy Bot (Daily Breakout EA) : - This Bot use stratery Breakout of Daily Bar, I tested for 3 Pair currency : GBPUSD, EURUSD, XAUUSD - Default setting is not sure the best, you can test for your parameter. Author: Hung Nguyen
  Experts: Eliot Wave I  (26   1 2 3)
Eliot Wave I: "Eliot Wave I" EA draws 2 Trend Lines with "Fractals" on chart and trades When a Eliot retracement is formed,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
New article Developing an Expert Advisor from scratch (Part 30): CHART TRADE as an indicator? has been published: Today we are going to use Chart Trade again, but this time it will be an on-chart indicator which may or may not be present on the chart. Now we can compile the indicator after which we
DPO Histogram and smoothing : This version of the 'Detrended Price Oscillator' shows the DPO in blue with a smoothed estimate of it as a histogram to view the length of price cycles from peak to peak and trough to trough. Author: maximo
  Indicators: Shved Supply and Demand  (52   1 2 3 4 5 6)
Shved Supply and Demand : This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7. Author: Behzad Movaghar
RSI of average using double smoothed Wilder's EMA: RSI of average using double smoothed Wilder's EMA Author: Mladen Rakic
New article Population optimization algorithms: Particle swarm (PSO) has been published: In this article, I will consider the popular Particle Swarm Optimization (PSO) algorithm. Previously, we discussed such important characteristics of optimization algorithms as convergence, convergence rate
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
Nadaraya-Watson estimator : Nadaraya-Watson estimator Author: Mladen Rakic
Hi, So for example OBJ_TEXT set with coordinates of price/time Anchor set to ANCHOR_LOWER My code works as I expect but sometimes OBJ_TEXT goes outside of the chart window. This is because price is either high or low on the chart and objects are anchored as UPPER or LOWER so this makes them off the
Hi Metaquotes, We started having problems with the broker servers search in MT4 today. From testing it seems to be happening on Windows 2012 R2 VPS only? I have tested Windows 2019 VPS by comparison and it works and does not have same issue. Windows 2012 end of life is not for 1yr more with EOL on
how to update mt mt4 platform to get updated indicators eg ma colour change etc
I've got an EA that runs on many currency pairs/charts, and sometimes 2 or more charts will trigger trades at nearly the exact same time. I have filters in place that is supposed to prevent too many charts from having open trades at the same time, but this can be bypassed when trades are opened at...
would it be possible to use https://www.mql5.com/en/docs/basis/preprosessor/conditional_compilation #ifdef, #include, etc. to have one codebase for both mq4 and mq5 variants of an EA? the main logic is the same but might call different order functions and other such functions which are different in
  Low and High indicator  (31   1 2 3 4)
Hello I am looking an indicator what will show highs and lows of 1 hour. I have some decent results on trading based on highs and lows.
Hi, why in the following code does OrdersTotal() not always return an order? void OnTick () { // Timer int hour = Hour(); int timehour = 10 ; // Buy Switch static bool buySwitch= false ; // Adjust Lot Size double lotSize=LotSize; // Current order counts int buyCount = 0
Is there a way to capture the high/lows of an indicator value during the formation of a new bar similar to what we already available for prices: High[0], Low[0] ? I wonder if there is some function already for it on MT4. I am not talking about high/lows of the price, I am talking about high/lows of
Hello, I am trying for a couple of days to solve 1 problem in my EA which I can not solve. The "issue" is following: Lets say I have a Sell trade running. After few positive pips the price reverses and the initial sell trade becomes negative. After x pips in wrong direction I want to open 1 hedge
Dear experienced traders, It seems not possible for me... Can I test 2 EA together in same strategy tester in one terminal? Thank you in advance and best wishes, Sky
  Drawing a rectangle  (13   1 2)
Hello, I need some help. Like in the topic's title, I want to rectangles appear on the chart. Of course, I would like to learn how to code it in Meta Editor. It looks a bit like "zone" than normal rectangle, cause they have to stretch until one of future bars will break it through. Any form of help
  Coding help  (7880   1 2 3 4 5 ... 787 788)
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick ? Tnx
Hi there, I was wondering if it was possible to get a list of input parameters given to an EA or Indicator? Right now I'm logging my EA's settings to a new file automatically whenever it detects that I'm using different settings so that I can look back and see what I was using in the past.  However,...
if everyone I tried to check if there's an open or pending order using this code, int AnyOpenOrders() { int result = 0 ; for ( int i= OrdersTotal ()- 1 ; i >= 0 ; i--) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES) && OrderSymbol() == Symbol () && OrderMagicNumber()
hi, I need to get how much is bullish or bearish candle in points in real time and after that use if something. I have M15 TF if is my candle bullish with 150 points then use if something if is my candle bearish with 150 points then use if something This must works in real time, not on new bar