MQL5.community forex forum for traders and developers

Hello, I am a new trader and I am still getting used to MT4. Right now my MT4 trading account is linked to my broker´s demo account. However, I would like to have a MT4 demo account, but somehow the system freezes and doesn´t finish the set up. Does anyone have an idea what is going on? I appreciate
Hi. I am not sure if this is the right place, but I am asking if anyone having difficulty connecting to signal server. I have multiple MT4 accounts and they are all showing this 'connecting to signal server'  message but not be able to connect to them. Is it only me? or MQL5 server having a problem?...
  text to small  (1)
text is overlapping
I am subscribed to aero ea and there is 2 running postions in signal but didnt copied to my account In terminal journal keep saying connecting to signal sever Is there an issue with mql5 servers
None of my charts are updating this morning. If I go to Charts>Refresh, then the particular window that is live will update, but all other windows stay still. This is the same on 2 separate machines. It seems the data is not flowing smoothly. Does anyone else have this problem?
  Bot needed  (3)
Hello guys, i need a bot that can control risk in multiple accounts simultaneously. I'm trusting several traders with my funds, so I need a bot that i can set the risk parameters and can protect the accounts
Dear Sir, I used 3 VPS already and now want to rent more. But when I find VPS for any broker it returns "no found". I have many client traders' accounts so please help with following questions: 1. What is problem for "no found" message. 2. Do have any limitation for number of VPS used. 3. Can I book
Hi guys, I want to capture the closing trade (deal #5 on the logs) but can't seem to figure out how. I'm afraid my knowledge of some aof the functions/events/classes on MQL5 is also limited. More specifically on the following: What exactly happens on requotes? I can't find resources how to deal
Hi Guys, need some help please. So I'm trying to build this indicator to show me(a histogram) the ratio between volume of a candle and its body size(Length of candle without the wicks). So how it works(the way it should anyways) is it takes the difference(absolute value) between the open and close
I was looking at this order type page https://www.mql5.com/en/docs/integration/python_metatrader5/mt5ordercalcmargin_py#order_type and i'm wondering, if there's no close order constant, instead if its just the ORDER_TYPE_SELL constant that closes the underlying positions in the pair. so i'm
hi guys.. need your help. my vps subscription has expired. and i disable the auto renew. i tried to subscribe back but unable to click the vps button. did anyone happen to encounter the same issue? thanks in advance
  Leverage and position sizing  (14   1 2)
Hi I'm trying to work out my lot sizes from account percentage. For example. (Profit in dollars÷s/l pips)÷10 dollars per pip. For example 25 pip stop loss with $20 risk. (25÷20)÷10= 0.08 lots. So plugging in my numbers gives me a lot size of 0.08 with this math. What I then don't understand is how
Hi, I have a number of signals and today I noticed that MQL5 updated the signal curves and statistics with wrong calculations. Is there a way to contact MQL5 customer service for that? I attached an example for one of my signals. 1- April P/L % wrong , 2- withdrawal dates are wrong, finally 3- total
Hi, I have created this simple system witch has the task of buying when the moving avegrae on dayli chart is above the price bid and the adx is below 30 while it has to sell when the moving average is above the bid price and the ADX is above 70; But I don't understand why it doesn't work , among
hello. I cant register a new vps (see the screenshot) Do anyone knows why? greets
I am using a Three Moving Average EA on the 4h time frame with the settings 20, 50, 200. I am getting really good results in my first two weeks of testing. Does anyone know of the long term flaws I should keep an eye out for while using such a method? Thanks
Hi guys, What is more important in your trading strategy? Risk reward (RR) or winrate percent? If we want to have huge RR then entry and SL are very tight which can cause bad winrate... On the other side we have winratio where we need to use wide SL or no SL at all) to get high winrate. I saw many
  Something Interesting to Read  (81   1 2 3 4 5 ... 8 9)
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...
  Best method to identify trend in forex  (77   1 2 3 4 5 ... 7 8)
Hi guys, I just start a trading discussion about what the best method to identify trend. We know there are three type of trend: 1. Up Trend 2. Down Trend 3. Sideway. How we identify Trend? Thanks in Advanced.
  Scalping system  (189   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...
Dear all, I would like to test my EA using the Tester with intraday bars. Consequently, I need to start processing with an intraday bar. However, the Tester does not allow me to declare an intraday start bar: there is only the possibility of inserting a date without the time. Is there a solution for
What are the benefits of Forex Live economic calendar
Hello everyone, Hope all is well during these time. Anyway, I would like to know anything you guys have for any strategies and patterns you might poses to help out one another. I have been studying some channels on you tube and got a hold of like the Scalping Strategy, Bat Pattern, Gartley Pattern
I'm looking for a robot that can interact with telegram FX signals that i receive. Is this even possible
[Deleted]
  DSS3 :an scalping system  (289   1 2 3 4 5 ... 28 29)
Hello , at Stochastic Oscillator thread , Dear Mladen wrote a cool indicator , which was Dear PAVA's idea.It was DSS3 . It's a good system for scalping . I want to scalp with it and share my result at this thread .
Hello Traders, Currently the condition for my EA is only iSAR, I want to add a second condition iCCI to the EA with values +100 and -100 levels pls. *** Would you please help
After i made a new expert with a new file name - the hosting service gives an error when i try sync: cannot open file 'C:\Hosting\instances\FC3A466BEEDF9BAD469E9411B477DA44\MQL4\Experts\MyExpert.ex4' [2] Why would this start happening with new experts i create and want to sync? I am still able to
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...
Dear Forum users. I currently use EA for trading. I want to try using signals too what you can bought for $30 or so. Can I still use my EA beside bought Signal at same account, or I need to open new account for that
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers...
hi , 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
  Trading Ideas  (3)
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
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...
Hi, I need futures exchange data to use a volume profile indicator on MT5. I've only found a broker with futures data, but this broker gives the DAX data delayed on the demo account . Do you know if exists another broker that provides futures data on demo account with DAX real time? In the other
  We use Bitcoin ;)  (483   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...
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
  Forecast and levels for Nikkei  (37   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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  Trading stocks  (5)
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
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 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
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...
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...
I am writing an EA that places limit orders with expiration. Expiration is set to the datetime corresponding to a given number of bars after the current bar. I can get datetime from a past bar index using datetime CiTime::GetData(int index). However, I do not know how to get datetime from the index
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...
Although I like to follow trades while developing my EA's. so checking indicators etc... Do I need to migrate the indicators on my own charts to the mql5 VPS, or just the charts plus the EA's? thanks
I am not sure where is the best place to suggest for the improvement to the platform. Here is the suggestion: When adding a service, at the moment it opens a dialog that allow inputting the parameters, but there is nothing to input the name of the service instance. The renaming needs to be done
I build a EA with FFCAL indicator for news filter It not read any highlight data in backtest. Is it normal. News filter cannot work in backtest
For a CustomSymbol, I was able to get the rates updated for the charts. But the Market Watch still shows them as blanks. What is missing? I tried CustomSymbolSetDouble for symbol,SYMBOL_BID and SYMBOL_ASK and also tried CustomTicksReplace but made no difference. What am I missing
Hi All. I am using this code input ENUM_TIMEFRAMES TF = PERIOD_M1 ; in optimization by genetic I need to use just 2 timeframes: M1 and M5 How to set it? One way is to use this code: input TF = 1 ; AND then in genetic tester optimization use for TF : start = 1 >> Step =4 >>
I'm currently working on getting calendar events and coded the following , but it gives me an error of "array out of range in 'file.mq5' (113,26)" in journal when I backtest. void OnTick(void) { //--- country code for EU (ISO 3166-1 Alpha-2) string US_code= "US" ; //--- get EU events
Why can't EA's show indicators on demo and live charts
I recently got an ea pipbolt.io on the stochastic osc settings, I changed the parameters and I set my tp at 250points not even up to one 1pip, but still I'm still making loss and my capital is going down. Please anyone to help me
What does a coder being loaded mean
  Who owns the EA?  (23   1 2 3)
When a programmer is hired to write the script for an EA who has ownership of the EA? The person who ordered the EA or the the person that wrote the script
Hi there community, I was using this internal loop for a long time to close a position by a reversal one : int OrdersCount= 0 ; int BuyOrders= 0 ,SellOrders= 0 ; for ( int h= PositionsTotal ()- 1 ;h>= 0 ;h--){ ulong hTicket= PositionGetTicket (h); if (
Add macd indicator to EA.I want to add an extra feature to my robot. I want to buy if MACD gives a buy signal and sell if it gives a sell signal
  Pivot indicators  (755   1 2 3 4 5 ... 75 76)
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here. - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is...
Hello, In MQL4 there was IndicatorCounted () whose equivalent in MQL5 is prev_calculated. But the big difference is that IndicatorCounted () is accessible from anywhere in the program, whereas prev_calculated is only accessible from the OnCalculate event. Is there an equivalent function in MQL5 to...
This indicator paints green and red dots immediately after the open of a candle and it shows the major and minor reversal points. I will attach screenshot, please help me find this indicator. Thanks
I have an indicator in a separate window and I would like the zero level to not move from the middle of the window. (The same that scale by line but from code MQL5)... Is it possible to do that? How? I was reading this but i saw nothing about it
Hi guys ..I am looking for a source code of an indicator called *** .I would like Alerts to be added please
[Deleted]
  Multi Timeframe Indicators  (12236   1 2 3 4 5 ... 1223 1224)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to...
Can someone please help me with coding a mt5 version of this indicator below is the mql4 file of the indicator <Decompiled code removed>
Hi guys, I'm relatively new to renko but I have attached a renko indicator which I downloaded. All you need to do is attach to a chart (no need offline chart). Please take a look. I use a 100 point (10 pip) box size to plot the charts. Could someone please explain why the renko chart changes with...
The problem i am facing is that i use "pivot highs/ lows" which detects the "relative" high and lows (this indicator is accessible on TradingView although im sure there is another word for it on MQL format. say for instance in a bullish elliot wave pattern, the highs can be easily identified when
Hi. I don't know what exactly happens. I am comparing two integers that have the same value (with the > operator) and However the control statement "if" returns true ... Does anyone know why this happens and how to fix it? I attach a image of the console output... And this is the code: NOTE: start
Which hero has the wave three indicators. Please help me
The feature of MT5 of 'Show real time history of deals on chart' is a great idea, however, it can cause a lot of screen clutter especially when trading on short timeframes eg 5min, then changing the time period to say daily to look at daily levels, trendlines etc. Is there some easy way to enable...
Hi! and thanks in advance for everyone who's givin' up his time supportin' the community. I got the Supertrend-Indicator https://www.mql5.com/en/code/576 i'm not good at programming with MQL5 so if i'm wrong approach, could you give a simple example? The strategy is simple, I want to open only buy
Hello, is it possible to have 2 type of indicator to be displayed, 1 in main windows and 1 in separate subwindows? Can someone refer me to an article? thank you
Newbie here, so forgive my assumptions, if they are incorrect. Regarding RSI. Considering the market goes in cycles: 1. Accumulation (ranging sideways) 2. Breakout (up/down trend with volume increase) 3. Distribution (peaking) 4. Downtrend (exhaustion) Based on this assumption, if an instrument is
New article Better Programmer(Part 02): Stop doing these 5 things to become successful MQL5 programmer has been published: This is the Must read article for anyone wanting to improve their programming career, This Article series is aimed at making you the best programmer you can possibly be no
  Indicators: FX Multi-Meter II  (48   1 2 3 4 5)
FX Multi-Meter II: Now combines 14 different indicators and 7 timeframes in an easy to read meter for any FX chart. Includes inbuilt History viewer. Fully configurable signals & indicators. Author: Benjamin Joshua Nash
New article How to Post a Product in the Market is published: Publish your interesting applications in the Market, and they will be immediately available to all traders who use MetaTrader 5 worldwide. The Market is a great opportunity to earn, with an immediate transfer to the account and convenient...
Reflex and Trendflex : Reflex and Trendflex was created by John Ehlers ("Stocks & Commodities Feb. 2020 (6-8)"). Author: Andrei Novichkov
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
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
  Libraries: MQL_Easy (For MT5)  (23   1 2 3)
MQL_Easy: A cross platform library/framework Author: Dionisis Nikolopoulos
Super Trend Hull Indicator: Super trend indicator that uses hull average for calculation. Author: Mladen Rakic
Fibonacci-based Moving Averages indicator: This indicator is EMAs drawn by Fibonacci numbers. Author: ROGER
  Experts: Hedge any positions  (13   1 2)
Hedge any positions: Opening an opposite position when reaching a profit of N pips Author: Vladimir Karputov
Super Trend Averages: Super trend indicator with 18 possible averages for calculation. Author: Mladen Rakic
Directional volatility & volume oscillator : Displays direction of volatility and volume Author: Navdeep Singh
Math Utils: Handy functions for comparison and rounding of floating-point numbers (prices, lots and money). Author: amrali
SupportResistTrade: Support\resistance levels, trend direction — bullish\bearish. Author: Vladimir Karputov
Bar or Volume Colored Candlesticks : Volume Colored Candlestick with Bollinger Bands as the Standard Deviation Author: Mateus Matucuma Teixeira
I am trying to build a CSV file where the columns exceed the max number parameters that can be taken into FileWrite (which according to the documentation is 63). Is there a way to to split up the FileWrite so that I can write to more than 63 columns? The data types of my parameters include
h write this function string triger() { if ( iClose ( Symbol (),timeframe, 1 )> iOpen ( Symbol (),timeframe, 1 )) { if (( iClose ( Symbol (),timeframe, 1 )- iOpen ( Symbol (),timeframe, 1 ))>( iHigh ( Symbol (),timeframe, 1 )- iClose ( Symbol (),timeframe, 1 ))) return (
I am trying to produce the same result as OrderProfit() method by calculating the trade profit manually, but the result is inconsistent (25.73 vs. 25.74) . Looking at the numbers it doesn't seem to be rounding issue (unless mt4 is somehow internaly using MathFloor() on the profit rounding or smth?)
I am trying to Read values from a file but struggling for past few days (its the first time i am trying to read the file so pardon any mistakes ) I cant figure out what i am doing wrong here. here is the simplified version of the code: Here i am trying to read the values from bin file struct
Hi, I'm after a FX broker that support the use of signals from MQL5 with a leverage of 1:200 or more. I'm based in Australia and apparently the max leverage allowed here is 1:30 (unless using a PRO account which is not my case). Thank you Martin
  time filter  (4)
i use ea with martingal and i wana using time filter just for FirstOrder no for other trades .. some onecan help me.. ****************************************** extern bool UseTimeFilter=true; extern bool MON = TRUE; extern bool TUE = TRUE; extern bool WED = TRUE; extern bool THU = TRUE; extern bool
Hello, My custom indicator uses price action and other indicator info from higher timeframes which I use to determine various parameters to assess the confidence level of the trade setup. While this works fine in real time, the higher time frame parameters don't seem to refresh when running the
I try to make a grid orders I have currency pairs group string EUR[ 7 ] = { "EURAUD" , "EURCAD" , "EURCHF" , "EURGBP" , "EURJPY" , "EURNZD" , "EURUSD" }; I send order all of them as follow void buy( string &pairs[]) { int i; int ticket; for (i= 0 ;i< ArraySize (pairs);i++) { ticket=
Hi dear friends Is any one knows how to make the below code that it work?? It should read from "Callouts1.csv" (File is located in ...\experts\files\) ------------------------------------------------------------------------------------------------------------------------- int Handle; string...
hi sir I want to know if it is possible on MQL4 to code a function that will close my trade and delete my order at the same time if a Take profit target with the given magic number is hit? is Yes, what should I do? thank you so much
hello friends. how i can change mt4 for only use 1 location server and dont conect other location servers. have it app or mt4 tolls? for example how use proxy mt4? my problem is few server locations for fbs broker always is bad guality (red conection status) and i use robot,robot need always
  channel  (3)
does anyone have the mql4 file for this channel or know the name of the channel? How can I get the mql4 file please
Hi, Is there anyways to code mql4 wich we can set expiredate remotely. I mean if somebody rent my ea and I will give expiredate remotely. Thanks
is there a way on how i can count the open trades and pending order that have a take profit greater than zero
Hi With this code I want the expert to check the high purchase order. If the price of all the positions is positive, bring all the TPs to the high buy position. But this must be done before the price reaches a high order position But the code has a problem and it does not do that