To post a new topic, please log in or register
Hello Everyone! Since last july 03, the build 2515 was installed in my computer and backtesting run too slow. How to back to older version? what can I do to solve this problem? any help is welcome. thanks in advance
Hi, in my demo account of my broker i can use up to 200 lots per trade, for my strategy i need to use much higher lots size trading capacity can somebody reccomand of an unlimeted lots broker
Hello I am developer and i "FINISHED" the job 10 Days ago !!!! the money is Still Frozen : there is no answer from "Service Desk" i don't know how can i get free the money
  indicator  (2)
I downloaded an indicator; however same is nit installing on my MT5
Hi everybody. I've been looking everywhere for a working example on how to copy the data FROM clipboard to your EA. There some older scripts here and there, but none of them work in MT5. The only one that works, is here: https://www.mql5.com/en/forum/321205 And it works great, thanks Alain Verleyen
Hi, I have programmed an indicator that is shown below my chart (with indicator_separate_window). This indicator shows a table, but there are more lines then the high of the window. So how can I add a scrollbar in a simple way? I saw, this article https://www.mql5.com/de/articles/2379 but I am not
  How to start with MQL5  (61   1 2 3 4 5 6 7)
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors ... in general, any questions from beginner to the MQL5 language. If you are just starting to get acquainted with the MetaTrader 5 terminal, then I can recommend the...
Hello Developers, I hope you are doing well. After my first withdrawal by Visa cart one day suddenly MQL5.com gave me this message: "Hello, We need to perform additional verification of your account. This is a standard procedure meant to ensure the security of all MQL5.community members. Currently
Hello friends, I would like to continue here News trading systems, news discussions, as dissapeared somehow from the FF forum. I asked Bank Manipulation Trading to participate here in this thread with his deep knowledge to help people in their trading. He will publish here his trades, ideas etc. as
please i deposited on mql5 community thinking it would reflect in my trade account so i could trade with it but , its not working i still see a demo as broker even when i have a real account. please how do i transfer to my real account or back into my visa/ master card account
  Service Desk Not replying  (17   1 2)
Hi Gents, I bought a product and there was some issue with it.. I contacted the seller and he offer some workaround however it didn't so the seller agrees to issue the refund and was asked to contact service desk. It's been a week now but the service desk is not replying. Any suggestions please
Yes, No, I am interested to use it but it's too buggy, No, as I am not interested or have no usage for it, I have no idea what you are talking about, I absolutely don't care, I just like to vote for polls
I'm using the Expert Advisor Studio in trial period and the program doesn't allow me to export a portfolio but only to save the selection as a json file. Is there any way to convert this json file into an mq4 working file
Dear experienced traders I'm testing a scalping EA on M1 in the fastest visualization back test. As it is the fastest mode, it runs quick and helped me so much. However, I have to move to the past time(the time of the position opened and closed) to check the EA open and close in the right way or
For my years of stay in this forum and monitored every profitable signals that popped up I observed one common thing, that all signals are bound to fail in the long run, why? There are reasons about it, all signals is either using the following approaches: grid trading,martingale,small TP with huge
  "No loss" recovery hedging system  (142   1 2 3 4 5 ... 14 15)
Question: Would you be willing to trade any system or strategy you want on your $10000 account and turn every trade you take into a win trade (of $200 or $20) or a breakeven trade and have only a small theoretical chance of losing let's say $600 in worst case scenario? Some traders would probably...
SUMMARY In my (fully working) MQL4 EA, when i have an indicator that detects a trend early, how best can I confirm it with another indicator that detects a trend at a later time (at a different bar)? If the second (lagging) indicator is coming late, should i even bother confirming it with one that
  Forex Correlation Theory  (35   1 2 3 4)
PRACTICAL USE of the Correlation Theory This article is focused on explaining how currency correlations can be used in a very practical way. Our goal is not to dive into theory or theoretical models but show how correlations can help solve practical trading-related decisions. The Forex Correlation...
  Non-Farm Employment Strategy  (39   1 2 3 4)
Hi all what is your NFP strategy ? today is NFP FriAug 212:50amJPY Monetary Base y/y 38.0%43.2%36.0% 2:30amAUD PPI q/q 0.1%0.5%0.3% 7:00amGBP Nationwide HPI m/m 0.4%0.3% 8:00amEUR Spanish Unemployment Change -80.0K-127.2K 8:30amCHF SVME PMI 53.151.9 9:30amGBP Construction...
One strategy I can use is Andrew's fork
Does a strategy must be profitable on all symbols to be considered a good one? I'm developing a lot of different strategies for each forex pairs and metals and I always got different results. What's your experience
HI, if Profit less than account balance is that mean order close? and what next ...negative profit
Trading Silver with PSAR SUPERTREND EA plus ZigandZag & PSAR Oscillator Confirming My interest presently is in trading precious metals, primarily Silver & Gold. Recently I downloaded the PSar Supertrend EA and ZigAndZag indicator from the Trading System Forex blog, plus the PSAR Oscillator from...
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,Which strategy is best for BTCUSD?
I've been working sooo very long on trying to creat a successful forex system. I've bought tuns and tuns of systems and have downloaded thousands of indicators. My history is 3 years in the forex trading world and have had some successes and many failures, mostly due to poor money management for the...
Look at the W1 and D1 indicators. I thought it's just a coincidence, but, I looked at it for some time and both of the digits change to the same value. I mean when D1 has 6% the W1 is instantly get to 6% and when the digits go up, say 10% in D1, the W1 value goes to 10% instantly. I looked at other...
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...
FIRSTLY - FORGIVE MY IGNORANCE......I have no experience or understanding of EA's and how they function. I am probably describing a Robot here! I have an overall general Plan, but I will break it down to its most basic premise component and let People comment on each aspect accordingly. 1. I am
  PriceChannel Parabolic system  (294   1 2 3 4 5 ... 29 30)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
I Haven some technical problems
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...
As far as I know , there are three kind of bar, time, tick and volumn. time bar--prints a bar for every x number of time, such as seconds, minutes,hours and so on. tick bar--prints a bar for every x number of trades,If someone trades 1 contract in a transaction, that counts as one trade. If someone
  Welcome to the new section!  (21   1 2 3)
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  McDonald's  (14   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
  Forecast and levels for Dax Index  (64   1 2 3 4 5 6 7)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
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...
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...
  Apple  (38   1 2 3 4)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
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...
  Forecast and levels for S&P 500  (466   1 2 3 4 5 ... 46 47)
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...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Hello everyone, I would like to ask if it is possible to link or import multiple symbols from excel file to metatrader 5 at once without having to do it one at a time. If it possible, could you show me how? Also, what format would the content of the excel file be e.g. Date, Time, Open, high, low
  Requests & Ideas (MQL5 only!)  (558   1 2 3 4 5 ... 55 56)
Terms and Conditions: You describe (you provide) the idea. I place an open MQL5 code in this branch. I place this code in a CodeBase. I specify the author of the idea and the author of a MQL5 code in a code. The coding services are provided "as is" and you use them at your own risk. List of ideas
Hi everyone, I'm still fairly new to MQL5 but feel I'm making good progress. I've now come to the next level and am looking for a way to retrieve the last bar's RSI at close. Anyone there who can give me a direction? ;-) Thanks a lot in advance and happy trading
Hello, I'm playing around with my first advisor. I am using a stochastic indicator. I created the handler for it: stochastic = iStochastic ( Symbol (), PERIOD_M1 , periodK, periodD, slowing, MODE_SMA , STO_LOWHIGH ); And now I want to get the values for Main and Signal. I read about
A very serious bug is, that MT5 (MT4 maybe - not debugged) stops execution of EA without any any error message, the EA is just gone from the chart - OR - MT5 freezes and with this freeze, the whole Windows instance freezes as well. In case of last, the only way to get out is using the task manager
Hi all, I was wondering on how to add an indicator to the dropdown menu in the expert advisor generate paramenters of signals module. You can find attach the pictures. Let me know! I believe a lot of people have the same issue
I found the indicator MS-Candle-Index ( https://www.mql5.com/ru/code/24254 please refer to the fixed SmoothAlgorithms.mqh at https://www.mql5.com/en/forum/321609 ). How I can use the indicator to access the strength value of the last closed candle (i.e index 1) of a given timeframe within my EA
Hi all, I have this code for the moment : double HigherBar = iHighest ( _Symbol , _Period , MODE_HIGH , 100 , 0 ); double LowestBar = iLowest ( _Symbol , _Period , MODE_LOW , 100 , 0 ); double HigherPrice = iHigh ( _Symbol , _Period , HigherBar); double LowestPrice = iHigh ( _Symbol
Hi, As said in the title , I would be curious to know if mt5 would recognize and be able to use two processors (like 2 * intel xeon as example , seems the most common for dual processor config,) for optimization ? It may not be that useful because 1 better processor could be as powerful ,and as a
  ask  (1)
why when downloading ea can not from the browser, there is writing like this
Dear All, I just rented my first VPS from MQL5 via my MT4 platform today.  I set up my charts with the EAs that I wanted to upload to the VPS as demonstrated on the video: https://www.youtube.com/watch?v=NGSHrX-QAOU&index=2&list=PLltlMLQ7OLeKRRhrpy-pZ6REWYUf6W3SV As near as I can tell from the...
What commands do I need to add? For example, I want to close the EA that day when the profit is 10USD
My code below draws a rectangle based on certain conditions. I want to add another condition for drawing the rectangle. The rectangle is drawn from the open to the high of a bullish candle with index (i+1) as shown in the code. How can I tell if : price has already reentered the region price has
Hi, I'm sure this is a basic programming misunderstanding on my behalf - I'm getting a 'constant expression required' error message when compiling.  I simply want to create an array based on extern inputs to the program. I've tried putting the code globally and in a function but getting the same...
Hey guys, My recent optimization results are not what they seem to be. When double-clicking an entry in that table, both backtest and a visualized strategy run yield a totally different result (results of backtest and single visualization test match). Not only the profit is mismatching, but also the
Hi, I was advised to update my indicator. However, I can't find the update tab. Does anyone know how to do this? Appreciate all responses. thanks, attila
Greetings all. I'm just learning to code and have few questions. Can someone tell me please how to do this thing; 1- How to prevent my custom indicator being duplicated? If it's already on the chart and I will drop it on to the chart again, I want it to detect the first one and abort launching the
Hi, every one .. Kindly be generous with info. Lately I changed my platform to meta trader 4 & I was struggling to convert my indicators to mql4 ,, as it is a new language to me , so after a lot of work & advises ,, at last I built something but unfortunately there is a little problem as mentioned
  Multi Timeframe Indicators  (12211   1 2 3 4 5 ... 1221 1222)
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 need the High for PastBars BarPos is always correct giving me the position of the highest high during the last PastBars but the Highest Bar figure BarHigh2 is always wrong. Can some one explain why CopyHigh is not working for me please? int PastBars = 10; // Number of past bars to find highest
Hello, I am trying to code MTF ADXW indicator. Below is my code which works fine and draws all lines correctly(See screenshot below) but after some time indicator buffers values became 0. Also indicator is very slow. I hope somebody can give me suggestions and tell me whats wrong with my code
but actually it can trade on those timeframes how to fix this
Hi, I am a newbie here. Situation: I am trying to code an Ichimoku based custom indicator to provide a buy or sell signal based on: Tenkan-Kijun crossover, Chikou (26 periods back) crossover with price (26 periods back). If Chikou is not clearly above the high or below the low of the respective...
  Ichimoku Kinko Hyo indicator  (22   1 2 3)
hello traders, i want to know Ichimoku Kink Hyo indicator. i already read this indicator article in metaquotes website but i could not understood so please explain me how to use this indicator in daily charts. regards, k.n.v.santosh
I found this candlestick strength indicator ( https://www.mql5.com/ru/code/24254 ). It has several errors (please see screenshots below), so I left a comment for the author but haven't heard from him. How can I get this errors resolved
  Ichimoku indicator  (17   1 2)
hello I have an idea and maybe some programmer is intresting to do it. The Ichimoku indicator is a very complex trading system and a art of trading and specially for manually trading. but if you understand the system its also possible to take some parts out to confirm a other system. So the idea is...
Please, I want to synchronise arrows between two charts. Am copying the details from one chart and creating the object on the other chart. The problem is OBJ_ARROW_UP, OBJ_ARROW_DOWN //--- and the likes of the above, with the exception of OBJ_ARROW is created, but does not change with a change of
Hi everyone, so I want to convert the mql4 code of an indicator to mql5 code The indicator name is Oscar, it's basically a two lines cross indicator, first line is an oscillator and the second line is the moving average of the oscillator. Here is how the indicator is calculated according to the
Hello, I am very new here and want to practice a bit in coding. I decided to write a moving average. Writing from scratch is hard so I pull up an ema script people writes. There is this line inpPrice = PRICE_CLOSE _ema.calculate() getPrice(inpPrice,open,high,low,close,i) I would like to know what
I have tried modifying the Heatmap_Gradient_Scale.mq5 flag to be able to sort all symbols in the market watch window but I am not able. I have tried a 2d array more arraysort (). In mql4 I don't get any problem. ERROR - "displaylist" - parameter conversion not allowed . Any ideas where to start
New article The Use of the MQL5 Standard Trade Class libraries in writing an Expert Advisor is published: This article explains how to use the major functionalities of the MQL5 Standard Library Trade Classes in writing Expert Advisors which implements position closing and modifying, pending order...
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
Dear all MetaTrader Participants, Kindly let me know how to access all the information of all the "Automated Trading Chamionship" from Year 2006 till this date. How to read full interview of all the Participants? Thanks
New article Graphical Interfaces XI: Integrating the Standard Graphics Library (build 16) has been published: A new version of the graphics library for creating scientific charts (the CGraphic class) has been presented recently. This update of the developed library for creating graphical interfaces...
  Experts: MultiTrader  (33   1 2 3 4)
MultiTrader: Trading and analysis dashboard which usually provides great trading opportunities during daytime. Author: Mani Heshmat
engulfing MA: Simple indicators detect engulfing candle patterns, but with a moving average filter Author: Andi Gunawan
New article How to Export Quotes from МetaTrader 5 to .NET Applications Using WCF Services is published: This article will show you one of the ways to export quotes from MetaTrader 5 to applications written in .NET. Author: Alexander
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...
Ilan 1.6 Dynamic HT: Thanks to its advanced formula capital management Legendary Ilan 1.6 Dynamic allows us to go even from the notoriously unprofitable positions in plus. Now Ilan 1.6 Dynamic is available in source code for MetaTrader 5. The basic algorithm underlying Ilan Dynamic 1.6 HT...
New article The Optimal Method for Calculation of Total Position Volume by Specified Magic Number is published: The problem of calculation of total position volume of the specified symbol and magic number is considered in this article. The proposed method requests only the minimum necessary part of...
M1MA indicator : M1-based Moving Average. It gives more adequate estimation of average price per bar compared to any standard price type (close, open, median, typical, weighted, etc). Author: Stanislav Korotky
Fast Pending Orders : By using Fast Pending Orders script, you don't need to calculate lot size when you opening Pending orders. Script calculates the proper lot size and sets the pending order(s) for you. Author: Behzad Movaghar
Rsi Ichimoku Indicator: Ichimoku indicator based on RSI values that displays in your sub-window. Author: marc weedbrook
A Really Random Robot: This robot uses a random number generator to simulate simply tossing a coin to decide on the direction of each trade. It provides an example of a minimal expert advisor programmed in an object-oriented style. It also provides a basis for quantifying the value added by...
  Experts: RoNz Auto SL-TS-TP v.2  (270   1 2 3 4 5 ... 26 27)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
hi every one below is ATR indicator codes in MT4 //+------------------------------------------------------------------+ //| 1Calculate Lot.mq4 | //| Copyright 2020, MetaQuotes Software Corp. | //|
hi every one i have a code that shows some massage box and also send email i wonder how i can make auto alignment in the mql4 like one phrase just showing in one line another one showing in next line
  Coding help  (7813   1 2 3 4 5 ... 781 782)
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
Hello guys, I am new here and have just recently started learning how to code mql4 few days ago. I am trying to write a code so that the EA will automatically close half of my position and modify my order so that it will create a new TP and SL. However, whenever I run the code, it seems like it
I am trying to create those zones people use when they look at a chart and pick some good lines where price seems to react as decision points for price action strategies. I can do it intuitively on a chart as well, but am having trouble defining this problem clearly and translating it to good code
Hello, i would like to know the high and low Price of a bar at a specific time, i use iHigh() to obtain the high Bid price, but how can i obtain the Ask price with iLow() ? Thanks
Hi guys anyone , have example of memory mapped file ?? thnakz at all
I recently noticed this error but only on a four hour chart which happens to be my anchor chart for analysis. Thanks and profitable trading to all
Hi All, I am working on creating a class that will be used when called upon. I'm basically trying to make sure that system always uses the server time when trading on certain days. However, i have come across an issue where i can not see the mistake, if any done. Any ideas/help would be much
For example, in a RSI indicator, we can use IndicatorSetDouble to set the levels to, e.g, 70 and 30, but how to retrieve the values from the code? There is no IndicatorGetDouble... Thanks
Hello Can anyone see what is wrong with this code. It is an MTF indicator for MT4. It shows for most timeframes correctly but for example so H4 and daily no lines are shown. When compiling, there is a warning that "not all control paths return a value" Line 62 column 4. I can not program so I do not
- Is there any difference between MQL4 reference and MQL4 book? - and if there is any, what should I study first? + thanks in advance
Hi all, I am creating an EA, but with some issues. I am following the MACD example advisor, but it will only allow one trade in a time, despite the EA is on multiple chart windows. What if I want to make a new trade in a new chart window? For example I create a new chart with EURUSD and run the EA
Hi! I am using this Multi Time Frame Moving Average, but instead of straight lines as it should it paints squigly lines where I have to refresh the chart to get them to paint as they are supposed to do. Could someone please look into the code and see if you can spot what is wrong? I am using
hi everyone i have a custom indicator that have a button that works with chart event function for delete or create some object tables the custom indicator also have a massageboxw (include <WinUser32.mqh>) but as soon as i put the button code in the event function the massageboxw doesn't work right