MQL5.community forex forum for traders and developers

I just need that every time you restart MT4 you don't need to reconfigure it ... I await reply Thanks
Hi, This was just happened after my windows 10 has been updated to version 20H2. All the MT4 indicators stop working and I proceed to reinstall but it will deduct 1 activation from my indicators. This is the same computer I am using, why reinstall the indicator will deduct 1 activation? Regards J
  Website issue  (19   1 2)
Since a week or so I can not attach image on profile message. There is a popup to choose the file but after that nothing happens. Has there been an update on the website mql5? Anyone else have the problem
Hello I want to put a " help file " for my product on the site. Can I write an article for it? Do you have a better way? My product is hard to use and needs a full description
Hello, I have a subscriber who started to follow my trades here on mql5, yesterday it was ok, but this evenings i opened a position on my account which wasn't copied in his account. BTW the subscription is done correctly but copy trading doesn't work despite of using mql5 VPS What is the problem
Yesterday, UiPath went on stock market, open for trade. However I couldn’t find it in my MT5 app. Does anyone know why? Thanks in advance
  Free signals  (1)
Are free trading signals really free? Is there any limitation on them? Where can I find them
Hi All, I got caught out recently by not having enough margin on an EA I'm using that went a bit bananas(worst draw down ever, horrible). It's made me realise that I need some alert parameters for my EAs. A few alerts I've thought of so far are, alerts when: Number of trades exceeds X Margin in use
  Comment Fix  (2)
Good morning I have a feeling there is a simple fix to the solution and I risk looking super dumb. But here goes... The code below compiles fine, however I cannot get the RichterScale calculation to post the needed calculation in MetaTrader. int MaxVolumePos; long MaxVolumeVal; int MinVolumePos;
Hi , I faced a problem I want to use iBars function and give symbol name parameter from an array to this function but it return 0. On the other hand ,when I use Symbol() it works without any problem . can you guys kindly tell me why?! I code in mql5 . string symb= Symbol (); Print (symb, " , "
My chat doens't work again. Please moderators send message to staff. Thanks
I need TO KNOW HOW to introduce a script in my EA which will help me CLOSE ALL TRADES From my EA and for all my Clients that are using my EA at the same time , so basically i need to be able to CLOSE ALL TRADES TAKEN BY my robot
Hi, I want to use custom indicators in multi timeframe and multi symbols , but when I try to copy buffer of a time frame other than current chart time frame it return error number 4806. the weird thing is that there is no error when I want to copy indicator's buffer from other symbols! Any one know
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
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...
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...
  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
  Something Interesting to Read  (77   1 2 3 4 5 ... 7 8)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
So Im quite new at this stage to systems trading, and I have been reading a lot. But I'm actually wondering I calculate the more basic stuff. I have a bunch of R-multiples(Im using the R system), and know how to calculate the average and variability and so on. But how about maximum drawdown and all
Hi Everybody, This is my first post. I'm looking for a Support and Resistance indicator doe MT4. Any ideas
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
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'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
Hey guys, I have recently signed up for Oanda MT4 and have downloaded their excel RTD, but need the Excel RTD sample file. Where can I find it? thanks
I have added a SMA indicator to the RSI window in my chart and set it to First Indicator's data, how do i create handle for the SMA and access its values
Hi Team, I have subscribed to a Signal service but I am getting a message that Symbols aren't available. I have checked my platform and can see that Symbols are available and they are in correct format. Is there I can do about it
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 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 want to add a bitmap to the chart , i put the bmp file on the image folder and its work good (i see the photo on the chart) but when i sent the EX5 file to my friend he dont see the photo on the chart , just if i send him the bmp file and he put is on image folder then its work good , how can i
Hi, I have imported custom symbols ticks from CSV. I have generated bars with an EA script. When I launch a simple script with strategy tester for a single symbol I got the excepted results. But when I try to launch the same script on All Market Watch symbols, some of the symbols (but not all)
Dear developers! I continue to get the error "wrong timeframe request in Open Prices testing mode". All the testing is provided in "Open prices only" mode EXCLUSIVELY on M1 timeframe. I actually test the EA, in which timeframe of the loaded custom indicator is set as an input parameter. Because I...
Hello everybody, in the Expert that I am writing, I would need to identify the minimum price that occurred in the time interval between the opening of a market order and the current moment. As far as I know, the iLowest is not useful in this case, because the beginning of the period (opening of the
I was using an EA perfectly fine before the latest mt update about 3 weeks ago and now it keeps giving me a "failed with code -1" error. Nobody else in my telegram group seems to have this issue so I don't know what's going on. I've tried reinstalling mt5 twice now but still nothing. Any
Hello, i came across a problem that iBarShift returns -1, when CopyRates returns less bars than requested and i call subsequently iBarShift . This is demonstrated by the indicator attached. This unexpected behaviour should be fixed. // apply to EURUSD 1 Month #property version "1.00" #property
  Multicore/thread tester  (13   1 2)
Hi all, Just wondering if there is an option somewhere that affects the use of multicore/thread CPUs in the MT5 tester? I ask, as previously - up until yesterday my MT5 tester would stream through testing using all 8 cores, now it only does 1, then it might start using another core 3/4 through...
Hello, I have an ea which allows me to detect a setup and display signs (arrows) on the graph. now I would like that when I run it it can detect me the signals of the last 5 days (a bit like an indicator) but I don't know how to go about it, is it possible
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" );
[Deleted]
  Multi Timeframe Indicators  (12231   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...
  AD Smoothing  (9)
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
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...
New article Developing a self-adapting algorithm (Part II): Improving efficiency has been published: In this article, I will continue the development of the topic by improving the flexibility of the previously created algorithm. The algorithm became more stable with an increase in the number of
Scalper Assistant v1.0 : When you scalp manually, a simple EA could be an assistant to set StopLoss / TakeProfit for each trade you open. Author: Mohsen Nazari
Three indicators: The Expert Advisor is based on OHLC and three indicators: iMACD (Moving Average Convergence/Divergence, MACD), iStochastic (Stochastic Oscillator) and iRSI (Relative Strength Index, RSI) Author: Vladimir Karputov
RSI levels rendered on price as bands V2. This updated version now mirrors the same RSI level inputs. : RSI levels rendered on price as bands V2. This updated version now mirrors the same RSI level inputs. The RSI 70 level line is blue The RSI 50 level line is gray The RSI 30 level line is red
New article Self-adapting algorithm (Part IV): Additional functionality and tests has been published: I continue filling the algorithm with the minimum necessary functionality and testing the results. The profitability is quite low but the articles demonstrate the model of the fully automated
ProfitOnDrop: Calculates the profit from oppened trades if the Price reaches the dropped Price Author: Matus German
forex revelation : Short description. Author: hamid989877
  Experts: Crossing of two iMA  (11   1 2)
Crossing of two iMA: Crossover of two iMAs (Moving Averages), one more iMA (Moving Average) is used as the filter. Lot: manual or risk percent of balance. Stop, Market or Limit orders. The EA also sets Stop Loss, Take Profit, Trailing Stop. Author: Vladimir Karputov
CCI Expert : MT4 Expert Advisor based on the CCI indicator Author: pindatools
My Line Order version 2.1: A new and improved version of LineOrder Author: heelflip43
Advanced MTF RSI: With the MTF RSI Indicator you can easily identify the oversold/overbought levels on several different timeframes by using only one chart. Author: Ponder Solutions Limited
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
Licensing class and script with 64bit Encryption (more Reliable) : This class loads a licensing file by reading 64bit encrypted account data from a license file into an account array for the purpose of licensing. The Class is initialised with a Filename, a Master Key and whether the file needs to be
Averaging By Signal : This EA was created for learning purposes and can be developed for trading purposes. Author: Yulianto Hiu
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
I need some advice for the below code if you please, 1- for some reason, I get a note of "array out of range " in Mt4 expert journal 2- although Period_MA is external variable and I set it to 20; but when I am testing my code by changing for (x=i; x<i+Period_MA; x++) to for (x=i; x<=i+Period_MA ;
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
Hi, I am back with another question. Do you have any solution to close all stop orders ? I've been searching for a while but still haven't found the answer. below is my Pseudocode if ( OrdersTotal () < 2 ) { //close all pending orders } Thank you very much for spending time to help me
Hi, I tried to get the open price of an order so that I can base on that value to place a new order. For example 100 pip away from that price. I use the OrderOpenPrice() function but the value returns 0. Please help me with this issue. Here is my code: if ( OrdersTotal () < 2 ) { int
  Need help  (3)
Hello traders Maybe somebody have Adc Oscillator indicator MQL4 source code
  need help  (3)
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
  Label on H_Line  (5)
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 trying to count the total lots for all open Buy trades but the EA keeps on going through the loop and does not stop adding the lots together. So in the first round it calculates the total lots correct but then keeps on adding that amount of lots over and over. I want to stop it once it has gone
  Update Array  (1)
Hi. I'm currently working on my first EA and I have grown pretty desprate. I actually want to fill my array[0] with the recent indicator value and have the previouse value move to array[1]. void OnTick () { if ( OrdersTotal ()> 1 ) return ; double arr[ 2 ]= { 0.0 , 0.0 }; for ( int i= 0
Hi guys. I have EA (ex4 file) I want to add some filter on it so I have decided to make indicator that will calculate some algo and after it enable or disable auto trader or live trade. witch one will be possible. Please help me. Thank you.
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
in year 2019 i back tested a strategy on data i had in my mt4 terminal in year 2021 i tried to back test same strategy (with same indicator) + same set of rules but i didn't have enough bars from year 2019 so i downloaded historical data from history center but this time back testing results were
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
MetaTrader 4 Client Terminal build 418 MQL4: Fixed the functions call from the external DLLs that could sometimes cause crashes. MetaEditor: Fixed the binding of mq4 files to the latest launched editor. Fixed errors reported on the forum and in crash logs.The update is available through the...
If you are having a problem with dividing two 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