MQL5.community forex forum for traders and developers

There is a Bug in MT5. I have just now recorded a video which is attached with this post. I have windows 10 64bit with all latest updates are installed. I have Meta Trader 5 in my Laptop with all latest updates are installed. I have started MT5, clicked on Time Frame icon M5 and H1 and my charts
Hello, it seems CEdit has a limited length, it seems 64 chars. The class seems not to have members to extend this. Is this intended or a bug ? Thank you
  EA question  (1)
Hello. Does anyone use this advisor? I bought it, but so far the author does not get in touch to establish and fix it. Can anyone help
Financial operations are blocked for your mql5.com account. You can send a request to the Service Desk for details. what is the solution
Hello guys, I've read this article: https://www.mql5.com/en/articles/3024 which explains the way how we can use embed MT4/5 on website. My client want this but heres a catch. Can we somewhere specify "auto-login" with read only password? Explanation: My client wants to show up his trades on website
Hi, After downloading MT5 build 712 last week, In my live account, I could see the Signals tab in the toolbox. I could also view the Signals set-up tab under Tools >> Options. But when I logged into my terminal this morning, the build number is the same, but the Signals tabs have vanished ! In my...
  Indonesian Member  (5410   1 2 3 4 5 ... 540 541)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
Hi, MT5 optimising is great. However, my goal is to identify consistent profitability. The Linear Regression Correlation that is provided in the reports for individual back tests provides the most reliable measure of sustained profits with the minimum drawdowns. Would it be possible to provide this
  Good VPS in US  (9)
Hi guys Can I have some recommendations for a good VPS that are also not very pricey. I am in the US. Thank you
Dear Forum Members I am trying to use iBarShift function and noticed that for a 5 minute chart, it returns ZERO values except when a new 5 minute candle is opened. I will be thankful, if someone can help me out to locate the reasons for this error. On my other indicators, iBarShift is working fine
The updated version of the MetaTrader 5 platform will be released on Thursday, November 26, 2020. The update provides the following changes: Terminal: Fixed platform freezing when using the options board . Freezing could be caused by a zero tick size specified in trading instrument settings
  MT5 Freezing  (5)
MY MT5 is freezing with the Admiral Expert Advisor, amongst 2 others, after a recent update. Message - "The command was not accepted for execution. Please ensure that Expert Advisors are enabled." EAs ARE enabled... Anyone else having this issue? Used to work fine with the Admiral mini terminal, but
Estou tentando fazer backtesting na série histórica do Dólar (WDO $ N), porém não retorna nenhum valor. Já tentei com o acompanhamento do gráfico, tentei sem o acompanhamento e de forma alguma com você. A série atual funciona normalmente trazendo-me valores. O problema está apenas na série
  Forecast and levels for AUD  (249   1 2 3 4 5 ... 24 25)
AUD/USD April-June 2017 Forecast: ranging within narrow s/r levels for the ranging bearish reversal or the bullish trend to be resumed W1 price is located above Ichimoku cloud for the bullish ranging market condition within the following support/resistance levels: 0.7749 resistance level located...
  Press review  (6923   1 2 3 4 5 ... 692 693)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
strange behavior from MQL5 !!! Even though I have a condition != 0, still code goes through the loop and returns zero divide in 'FxEAPrintDataStats.mq5' (60,78) //--- Calculate Rate of Change for BandWidth M5 double M05_ROC_BW; //--- RISING Index[1] < Index[0] | FALLING RISING Index[1] > Index[0]
does any one still trading the old school strategy ? i have a lot of pics that i've been posting and teaching ppl to trade like me, in some point it hurt my trades so i stopped it , now i will try again . first post is from yesterday night usdjpy. some past pic also posted , my DetailedStatement...
  Need help  (3)
Hello traders Maybe somebody have Adc Oscillator indicator MQL4 source code
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...
  Efficient Trading System  (13   1 2)
Good afternoon, could anyone recommend me where I find en efficient trading system, or a platform that provides graphic proof of the efficiency. Any suggestions? I generally operate intraday or with short to medium time trades. Thank you
  Daily Breakout EA  (140   1 2 3 4 5 ... 13 14)
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...
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...
I study correlation pairs and hedge strategy. 2 pairs hedges are difficult to get profit. Does 3 pairs hedge system really work or not? example USDCHF EURUSD EURCHF BUY BUY SELL / SELL SELL BUY Please suggest me some useful hedge system.I want to code it as EA
  Wavy tunnel strategy  (17   1 2)
Does anyone use the Wavy tunnel? I have seen a couple things on it but cannot seem to find any specific information. Does this strategy actually work?
  Brainwashing System / Asctrend System  (244   1 2 3 4 5 ... 24 25)
This is the thread about Brainwashing system. We will start with original version of this system and will improve it later. ========== Just something about the history. There are 3 famous signals system (manual trading systems based on signal indicators): Asctrend, BrainTrend and Brainwashing. First...
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
  Simple Ichimoku System  (155   1 2 3 4 5 ... 15 16)
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
  Free signals  (1)
Are free trading signals really free? Is there any limitation on them? Where can I find them
  Jurik  (450   1 2 3 4 5 ... 44 45)
Jurik Moving Average . About this indicator and some others read https://www.forex-tsd.com/forum/debates-discussions/197-laguerre-indicator-description
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
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
I believe all three of those are the same indice, but with the name discrepency, following a signal trading one of these is almost impossible as my signal follow does not translate it as the same thing. For example my broker uses .DE30Cash but signal uses Ger30m, how do I get it to make the
I'm new here so please go easy on me. And sorry for the volume of words in my SOS I've only ever trade with open ended buy and sell BTC derivatives, though I believe many like to refer to them as CFD's but my memory from economics, I would have thought them futures, with as many positions open as I
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...
  Bonds  (5)
Introduction to Bonds (Part I) 1. Principal: This is the face value of the bond; the amount that the first bond buyer initially loaned to the company or government issuing the bond. This is also known as the par value. 2. Coupon Payment: This is the numeric amount of interest payments that are...
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...
Hi, Do you guys know any broker which have at least the last 2 years of US500 history data with Real Volume
Hello everybody, I want to trade on Binance broker via an Expert Advisor, written in MT5. Unfortunately, the course data for Binance are not available for the MT5. However, Phyton is able to both retrieve the price data from Binance through an API, as well as trading on Binance. Now there are two
Hello, Sometimes, I would like to bet the decline scenario. But I don't see how to do it, I can only do the basic buy low and take profit at a higher level if it happens. My broker seems to not provide options, and don't want to answere my questions because they look like a "personal advice". Anyone
Hello MQL5 Family, I am looking for the development of a rare EA under Freelance. I haven't submitted the job yet, but I noticed that a customer had previously submitted a job order that is identical to what I have in mind. I was wondering if it's possible for me to get feedback from the customer
I was doing a research for low risk and high reward crypto investing ideas and someone suggested Arbtrage<Deleted>.com looks good, anyone got any other suggestions
New article Creating a trading robot for Moscow Exchange. Where to start? has been published: Many traders on Moscow Exchange would like to automate their trading algorithms, but they do not know where to start. The MQL5 language offers a huge range of trading functions, and it additionally...
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
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...
hello, how can we subscribe to this live data
I've downloaded a custom indicator called the TradersDynamicIndex and am having trouble calling the indicator in the EA. I get the following error in strategy tester TDI is not custom indicator and will be removed cannot load custom indicator 'TDI' [4802] indicator create error OnInit critical error
Hello, if i set an expiry date in my EA, is it normal that in the strategy tester the EA still opens trade? Or i did something wrong? This is the code i used. datetime expiryDate= D'2021.04.21 11:35' ; void OnTick () { if ( TimeCurrent ()>expiryDate) { Comment ( "Expired" );
Hi, I just installed my <Deleted> EA. The balance is ready. The smiling face of the EA is up. I checked the expert tap and it shows the EA is initialized. I checked the Journal tap and it shows the EA was loaded successfully. Anybody knows what's going on? Do I have to wait for a few days for the
i want to have one position until reverse condition. how can i solve this problem
Hi All, I am developing a new program to get data (L1 or ticks data, L2 or Market depth data, History data etc) of multiple symbols. I want to use Services so that I am not dependent on a chart and user does not have to place it on all charts. Problem i am facing is that OnTick and OnBookEvent are
Hi, I am new to MQL5 and wanted to build a Service to monitor/send data of multiple charts to some other app/file. But as documentations states that we cannot use Symbol() function in Services, if tried following codes chartID = ChartID (); Sym = ChartSymbol (chartID); and Sym = ChartGetString
Hi, i need manual entry position to be close following EA entry position ticket no. EA open entry position and i do reentry few more additional new position manually by following EA. I want my manual entry position to close follow selected EA entry position ticket no. When EA close it's position, my
Hi, I developed a robot (Expert Advisor) and I put in my code to open only one position at the time and do not open any position if one already exist. I back-tested in Demo and in live account for different date ranges and works perfectly. Then I bought VPN from MQL5 to make sure the robot will work
I developed a EA and it works perfecly fine when I run a backtest on it, but when I insert it on the chart using my demo account, it behaves differently. For example: In the backtest i run it using 1 lot, but for some reason in the demo account on real time it uses 2 lots. I didn't test it on the
My backtests take forever to execute when I call this function inside the OnTick: (currentDateLastCheck gets the current day, so I don't store the whole historic) void dailyGain(){ HistorySelect ( StringToTime (currentDateLastCheck), TimeCurrent ()); uint total= HistoryDealsTotal (); ulong
Hi guys, I want to make an EA only trade in certain time ranges? I can't seem to locate any tutorial on timers in the article section.  I'm also confused regarding the time here in MQL5, what time does all our platforms follow? our individual local time, or is there a universal time being used?...
I'm looking to incorporate a value generated in this STC indicator into my EA: https://www.mql5.com/en/code/20281 On inspecting the code I discovered there is a data type called "valc" that holds a value (0, 1 or 2) - these numbers indicate whether the trend is going up (1) or down (2) Normally
Is there the possibility to draw graphic objects on top of the stock chart of the MetaTrader 5 Terminal using the Python language? I couldn't find any instructions
Hello, An old, deactivated expert advisor of mine executes automated trades (!). It was installed about a month ago, but cancelled then. This expert is not listed in the hosting journal, but definitely runs anywhere in the background. The activity shows in the server terminal but not in the experts
HI there, I have developed a very simple EA trading script (I am newbie) which buy when it receives the first tick of a symbol and sell 20 days after. When I launch the script on a single symbol with the strategy tester , I got a correct result. But when I launch the strategy tester on "All Symbols
  AD Smoothing  (8)
Hello everybody, i have this AD indicator and want to apply two moving averages. The first moving average should use the price data from the AD. The second moving average should use the smoothed price data from the first moving average. It´s easy to implement one moving average which uses the buffer
Hi all, I have a problem with compiling MQL project files(*.mqproj) from the command line. I generated a basic a custom indicator using the MetaEditor wizard, and named "macd" (without any modifications). When compiling it in the MetaEditor IDE itself, it compiles without any errors. However, when I
Hello again, I have some problem with an enum Type. Since I am still a beginner, I hope you can help me. I want to implement an indicator, called xdpo into my EA. When i am trying to compile the indicator, this error occurs: It seems to be, that the following function in the SmoothAlgorithms.mqh has
hello sir, I need your help, I am creating a custom indicator, but I have problem with reinitialize the indicator, I did not understand why ArrayFree is not working. if I change my input then it buffer not working properly. I am attached my code , my strategy is , the first buffer is check my
Hello,anyone are able to add push alerts to this indicator and when message come,saying if trend is up or down? attached mq5 version. thank you
[Deleted]
  Multi Timeframe Indicators  (12228   1 2 3 4 5 ... 1222 1223)
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...
i am looking for the name of an indicator probably coded by scriptor that scores H L C in three separate lines, almost like trendscore or Advance Decline but including H and L. Thanks for the help already
  Zigzag indicators  (639   1 2 3 4 5 ... 63 64)
Different zigzag's indicators please post here.
why has simple thing like coding a moving average on RSI to read values from 0 to 100 on the RSI window so hard.....I just can't imagine, no proper documentation. Any help
I am looking for a refinement of the zig zag indicator or a zig zag that works with points on the dax
  Volatility Quality Index  (718   1 2 3 4 5 ... 71 72)
  Oscillators  (31   1 2 3 4)
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered. And let's go a little beyound RSI and Stochastic
The problem is having object created in a TF (e.g the 4H TF) to be displayed on the the 4H TF and lower TF, anything greater than the 4H TF it won't display. I know using OBJ_PERIOD_D1|OBJ_PERIOD_H4 // would get you to display the Object on only the 4H and Daily TF and nothing else but getting it to
  Indicators with alerts/signal  (15878   1 2 3 4 5 ... 1587 1588)
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...
forex revelation : Short description. Author: hamid989877
Averaging By Signal : This EA was created for learning purposes and can be developed for trading purposes. Author: Yulianto Hiu
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
3 EMA Crossover: 3 EMA Crossover Indicator.If ma1>ma2 and ma2>ma3 the indicator turns green.If ma1<ma2 and ma2<ma3 the indicator turn red otherwise it turns orange. Author: Simphiwe Ncube
  Experts: Kral  (1)
Kral : Expert Advisor Author: Dragan Drenjanin
InitAllIndicators.mq4: A script for reinitialization of all indicators attached to the current window. Author: Ильнур Иксанов
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published: In this article I will consider Price Histogram - a simplified model of Market Profile, and will describe its implementation in MQL5. Author: Dmitry
New article Prices and Signals in DoEasy library (part 65): Depth of Market collection and the class for working with MQL5.com Signals has been published: In this article, I will create the collection class of Depths of Market of all symbols and start developing the functionality for working with
RSI levels rendered on price as bands : RSI levels rendered on price as bands Author: maximo
New article How to create a graphical panel of any complexity level has been published: The article provides a detailed explanation of how to create a panel on the basis of the CAppDialog class and how to add controls to the panel. It includes the description of the panel structure and a scheme of...
Reverse MACD : Give the return zone of the MACD Zero Lag Author: Guillaume Derouineau
  Get json via dll  (1)
Hello I have a code that goes through WebRequest I get it from json web address How can I get it via Dll? string url= "https://nfs.faireconomy.media/ff_calendar_thisweek.json" ; string header= NULL ; char data[]; char result[]; string res_header; int kod= WebRequest ( "GET" ,url,header
New article Random Decision Forest in Reinforcement learning has been published: Random Forest (RF) with the use of bagging is one of the most powerful machine learning methods, which is slightly inferior to gradient boosting. This article attempts to develop a self-learning trading system that...
Puria method: A trading system based on the Puria method. Author: Vladimir Karputov
Weis Waves: Volume Wave indicator originally idealized by Richard D. Wyckoff. Author: Minions Labs
I need to get y money back, I didn’t use it, it doesn’t work
If you are having a problem when dividing a small integer by a larger integer variables in MQL4. This may be your fix!! MQL4 will give you a zero instead of a Decimal number. The answer is simple . . . just change one of the integer variables to a double type variable and it will work just fine
  Label on H_Line  (3)
i am trying to add a label to my H_Line I have tried OBJPROP_NAME AND OBJ_LABEL, but nothing is quite working correctly. if (TriggerLineTrade== "CA" ) {ObjectSet( objNameDes, OBJPROP_COLOR , clrOrange ); ObjectSetString ( 0 ,objNameDes, OBJPROP_NAME , "Close All" );} or i tried OBJ_LABEL
I am a new user and cannot for the life of me figure out how to subscribe to the mql4 signals. I have installed both the mql4 and mql5 clients on my desktop, however only the mql5 signals appear in the client
Hello Community. I'm creating a new class for working with orders. I haven't worked a lot with pointers. There is a Class "COrder", it contains all the information about the order. class COrder { public : int ticket; int type; int magic; double lots; double
  Manual order and EA closing  (17   1 2)
Hi guys, I would like to ask this question, If I don't placing (omit) a magic number command in the EA, will my EA still monitor and closed my manually ordered. Thanks for any advices from here.... AZR
Hi all, I'm trying to find the lowest value in an array that is determined between the last closed order and Timecurrent(). I'm always getting the last value of the buffer instead the minimum value of the array. I've tried to change every parameter but so far no luck. Please could you help me out
Hi guys and complements. The following is a code is designed to show true if a new candle is seen for the given time frame (Not necessarily the current timeframe) . However it does not branch to the 'true' section, only to all the 'false' sections. What could be wrong with the code pls. Thanks in
My EA ran without any problem all day, opened and closed the trades as it should. But, after some time it gave the "Not enough rights" error and did not open the trades. See picture of the Journal tab. What is it and why did happen
can you create alerts , the alerts in alert tab in the terminal i mean , using scripts/indicators
Hello, I have a EA that open trades and works normally in demo, but in real account don't open any trade, I have tested demo in many brokers mt4 and give the same results. Recently I have opened a real account with a VPS but EA don't open any trade, in journal of mt4 seems normal I don't have any
  need help  (2)
Hello all, I need help for my code The code doesn't execute as the following condition: BUY CONDITION: -Breakout of the upper bands on M15, and when the candle on M15 closed above the upper band,confirm the condition on M5 chart(wait the next candle on M5 breaks out the upper band too) SELL
I'm working on creating an EA that purchases long when the price (close) crosses above the MA line and closes the trade when the price (close) crosses below the MA line. My issue is that when I run the strategy tester, it is opening and closing the trade immediately. I've used an online generator to...
Hi! I want to explicitly convert 'enum' type into 'int' type. // --- global variables ---enum TRADE_TYPE{DontTradeType,TradeType,BuyOnlyType,SellOnlyType};TRADE_TYPE Trade_type;// then I pass 'Trade_type' into function call - SetBtnText(setSparam, Trade_type);// --- TRADE BUTTON TOGGLE...
double Recent_TD_Point[]; for ( int i= 0 ;i< 3000 ;i++) { if (High_TD_Point_Value(i)> 0 ){ Recent_TD_Point[i]=High_TD_Point_Value(i); Print (Recent_TD_Point[i]); } } //------------------------------------------------------------------------------ double