To post a new topic, please log in or register
Any new software inevitably contains bugs that are not alwayspossible to detect even under the most rigorous in-house testing. Wetherefore attach great importance to all user reports about issues inour programs and try to answer each one of them. In order to improve feedback from MetaTrader 5 end...
Hi, If you add a moving average into an indicator (like rsi) window (applies to closed bars), it will show the moving average of the price of the symbol of the chart. This is what I want, however I’m wondering how MT4 is defining the scale for those moving averages. Example: if you have a indicator
  Forecast and levels for Oil  (136   1 2 3 4 5 ... 13 14)
Brent Crude Oil April-June 2017 Forecast: weekly correction with possible breakdown; 49.69 support is the key W1 price located above Ichimoku cloud in the bullish area of the chart. The price is on the secondary correction which was started in the beginning of January located within the following...
  Press review  (6549   1 2 3 4 5 ... 654 655)
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...
  Withdraw issue  (1)
I Wanted to buy indicator ..When I use the bank's card, it was in error.. I think there is some error in the indicator option ۔. After i Deposit to mql5 account that i Can buy an indicator ...All my efforts will be gone ... Now i want to withdraw this money ..but there is no option avillable for
How i can add 2 indicators in the same window at the mt4 platform? Example To add a moving average or 2 moving averages at the RSI(14) window.
  payout  (5)
A trader has persuaded me to open an account and deposit $ 250. Now I have a small profit and want to pay the money. Whatever way. Please help me to get my money back. Thank you so much
  Long Only or Short Only  (18   1 2)
MT4 offers this setting when attaching the EA to the chart to have Long only or Short only I cannot find this in MT5. How can I do this in MT5? The only thing I can think of is to program into the EA.
Hi all pro coders, Im quite new to OrderSend function in mql ... I want to know that is it posible to open 2 different Orders at the same tick when there is a new signal? in fact, I want to open 2 different Orders with its own MagicNumbers at the same tick when there is a new signal generated
Hello, I was dissecting an MQL4 script and saw something I don't understand. I found nothing on the web, nor in the documentation concerning the symbols and operators... so I'm hoping someone's going to help me. The line is: "variable1=variable2==?variable3:Function1(parameters1);" (the
This topic is about applying VAT to EU residents, and it is intended for all sellers, which deliver Metatrader-compatible digital goods to EU users automatically by the Metatrader Market (not only). Just a few links from Google about the duty. http://thenextweb...
  Become an Author at!  (140   1 2 3 4 5 ... 13 14)
Thenew MQL5 Community website at keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
i want to show you and suggest you this simple and proper way of trading that i have ever seen.i mean price pattern.ofcourse many of you have heard about it but i am trading with this system and it is very practical and profitable forthermore very simple.wihout any indicator just Fib. levels(0.618...
Anyone else got a PM from a user with a blank profile, introducing themselves as an Account Manager working for a regulated Broker, claiming that they have true ECN accounts with tight spreads and high leverage, but if you visit their website and compare them to your current Broker, you'd see that
What is difference between last time period and previous time period? For comparison, if i put the query for show data from last 7 days to previous 7 days.... either both are same or different
Please find indicator (in download area) which is forecasting the support and resistance of current day based of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis". Works on the timeframe less than H4 (including H4 of course).
Hi guys, I'm new on this forum. I have an EA that under certain conditions opens multiple buy or sell orders, the first to market, the others are pending. I want that if the first market order goes to stop loss, all other pending orders are automatically closed. Can someone help me? I guess it must
Hi there, I wrote a code to partial close orders else in profit or los at specified distance or current profit/loss by equity. The problem is that expert's currently partially closing last ticket not each one separately, I mean for example: First order: 0,03, second order 0,05, partial close 1/3
Hi fellows, I wanna build a trading boot which recognize a break and retest pattern of support or resistance line. The support or resistance level is known by the bot, it will be a parameter given by the user of the bot. The bot DO NOT have to detect this support or resistance level. See
I just started this thread as a continuation of the talking made on this topic (we can read it). Or make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
Hi folks, I'd like to know if is it possible to have an EA to autotrading using a Renko "timeframe" with my strategy. Thank you
  Array problem  (6)
Hi experts, I am confused about these code. I have tried to create array in struct.Those initial value should be "0" in all array. but why not?How does it come from? struct line { int index[]; }; int count1=0,count2=0;line test[];void OnTick() { for(int q=0;q<5;q++) {
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...
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...
It involves mean renko bars and bollinger bands. Please help if you are an expert
Dears, i want to know how to enable the robot and make it working even for the demo account to validate the indicators, thanks
Hi, I am attempting to subscribe to a signal through here, however once I've inputted my payment details for the subscription I get an error message - "An error has occurred in the script on this page." Error: Invalid character Screenshot attached: Can anyone help me please
What Frequency of Trades Can I Reasonably Expect/Month From A Trading Signal? My question is just as shown: I subscribed to a trading signal on the 13th of this month and have, to date, received one trade placed automatically, or push-initiated, onto my account (buy 0.02 units of EUR/AUD on the 15th
Hi guys! One question you might answer: What is a realistic price for a freelance job, when I want someone to convert a code from ProRealtime (122 lines) into an MT4 expert? Thanks for your answers
  Hull Moving Average EA  (64   1 2 3 4 5 6 7)
hi there. first post. i am after an expert advisor for MT4. It buys and sells with the triggers of Hulls Moving Averages. Does anyone have one, can point me to one, or build me one, please? Bradman
Just curious about anyone trading preferences, I mean what do you prefer to trade Forex, Stocks, Futures? Is well known that Forex is the greatest market hands down, but unfortunately it doesn't offer certain analysis tools such as true volume, the book or TRIN, TICK, VIX tools which can be very...
Hi Been trading forex for a while and understand how to work out the pips, but do not understand with the USDX CFD. Could someone please assist. Regards Shaun
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...
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 there everyone, I hope I am posting this in the right thread. Please let me know if I should place this in another area of the forum. I’ve been getting to know MetaTrader for a couple of weeks now. I have looked into the general concept. I would like to build an automated strategy, which also
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
At the end of the last year, we informed you about the first MetaTrader 5 launched in Thailand. One of the leading Thailand brokers Apple Wealth started offering the terminal in demo mode. Recently, the company has undertaken yet another step - now, its clients trade shares at SET (Stock Exchange of...
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...
At the 19th of October Ak Investment,one of Turkey's largest brokers, officially launched the MetaTrader 4 platform for Forex and CFD trading. The companynow offers its traders access to the rich functionality of thepopular platform — everything traders need from trading and analytical functions, to...
Please, can someone give a simple example of how to send a buyLimit order for a symbol in Iranian Stock Market. I had have a lot of problems doing it. I need a sample code. Thanks in advance.
Hello. I try to use the Strategy Tester to test my EA, buit get the message "no more than 1000 symbols can be selected" each time. I guess it's because my EA tries to trade more than  1000 stocks and the MT5 limits the max number of symbols that can be selected.  I tried to unselect the symbols in...
Good day everyone, I am new to this business of Forex and Binary and in a short time I have incurred some losses and currently looking for the best approach to this market. I am particularly interested in Binary Tick Trade. Does anyone here know if there is any indicator or strategy applicable to...
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  Apple  (30   1 2 3)
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...
Hello, Im trying to automate a function that close position, if tomorrow is not a trading day in as specific symbol. I managed to check if tomorrow is saturday/sunday but I don't know how to check if tomorrow is a holiday for example. How can I check if tomorrow is a trading day? Thank you, Yu
Hello, I developed an EA and tested it on historical data using the Strategy Tester. When I checked it with "every tick", it made a big profit, with low draw down. But when I checked it with "every tick based on real ticks" it was a losing strategy, with very high drawdown. How can it be, such huge
HI, everyone Please help to advise. My optimization too long waiting time, now MT5 agent can calculate at 27905 of 129024 steps use time feel day 20:42:52/95:44:21 time remain for 4 days (I think time 95 hour for my cpu 8 core right?) My laptop is core i7 2.8 MHz processor local 8 core agent, it
  Simple EA  (5)
Hello. I need a simple EA that will open orders if: 2 bullish candles followed by 2 bearish candles: open short order on the opening of the next candle. 2 bearish candles followed by 2 bullish candles: open long order on the opening of the next candle. The EA must have SL, TP and Trailing Options
My premiere here with this thread, I want to share my experience with automated risk management, after thinking about the issue many times, I found this OrderProfitCheck function that belongs to the MoneyFixedRisk risk management class, before writing that does this function, I put them in context
Hello friends, Was wondering if anyone could help me adding some code to my expert advisor. What im looking for is adding a code in my ea which will limit on how many open position. So if there is an open position, no new trade will be executed before the old position is closed Would really
Hi, wanted to ask, if the EA is taken off the market after purchase, will i still be able to download and use the EA
I'm doing a MACD crossover EA to test my MQL5 skills, however I cannot understand why this simple comparison isn't working at times, but is working at others when I run the stategy tester. At 2019.09.02 01:03:00 on the strategy tester journal (red box on screenshot), the conditions (MACD0 > MACD1)
Hi. I want to increase the amount I can enter on all options by another 2 digits. Eg: Now I can enter stoploss max 60000 but since my broker gives 6 digit price, I want to increase it's number to about x00000. Or more if possible. Trying to make ea work on vix index. I couldn't find a number which
Dears, first of all currently i'm using MQL5 for coding and during my coding on a strategy, i figured out there is a limited amount of history exist on each timeframe during backtesting. as an example there is almost one year data exist for H1 timeframe over back test. this means if i start from
Hello, There is possibility to put controls like button into particular field in table in mql5? If yes please give some hints. Thx in adv
MT5 question Hi guys, I'm have a button on my panel and need to call FileFindFirst() to get handle of files in a folder when clicking on the button. everthing is good at mql4, buy I want to convert my source code to mql5. I don'k know why i can not get file_handle by click event. if I click on a
I am trying to search figure out how to search for a pattern within a range of timeframes in MQL5. Obviously, it is likely that the pattern would occur several times based on the timeframes, that’s why I’m particularly interested in the largest number of times it repeats. To explain what I’m trying
Hi, I´m trying to understand how I can now if I have one position open like. Because If I have a open position I will wating the stoploss or takeprofit close the order before open a new. I´m using this code in the backtest to see the result, but all the time the PositionsTotal show 0. Example: void
Hey Guys and Girls, I'm relatively new to trading with a VPS, just need to find out how i can go in and change or add a single chart? I have 20 charts up and running on the VPS currently, I just need to change 1 Any help would be appreciated Thanks in advance
On MT4, what could be the equal code of the OBJPROP_DRAWLINES MT5 integer
  Indicators with alerts/signal  (15824   1 2 3 4 5 ... 1582 1583)
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...
Dear all, I hope you guys can point me in the right direction, i've search for quite sometime and trying to understand how do i use the data i got from Median price of a Moving Average Indicator. Yet to no avail. I'm trying to get a Median Price Moving Average Indicator (successfully) and using the
Dear all, I have some indicators that just don't show on the chart or show, with wrong values, but they work fine if backtested Any hint how to solve this problem? For example, the one attached, work fine in backtest but show completly wrong value if I attach it to a chart Thanks for help
  Fibo & Gann variations  (342   1 2 3 4 5 ... 34 35)
Fibo Levels indicator. Fully forecasting.
I am trying to develop divergence spotter for coppock indicator code by combining codes from fx divergence 2.1. But i am stuck, it gives 2 errors. please somebody help me find out the problem. #property copyright "Berk"#property link ""//----#property
Hello, somebody can help me to create an OBV (on balance volume) indicator directly on main chart? I see only the indicator to put on separate window. Many thanks in advance Kind regards Marzio Bresciani
Hi all I am trying to add a scrollable listview in an indicator subwindow. I get the control added and items as well, but I can't get it to scroll. I suspect it is beccause the event does not get passed to the control. I have no idea where to start. Should I derive my own class from CListview and
Hi. I have written a complex cpu intensive indicator that takes a relatively long time to run - perhaps 2 minutes for 100,000 bars. I would like to make this custom indicator available to an EA using iCustom and CopyBuffer. However, my understanding is that CopyBuffer will call my indicator and
  indicator  (1)
is it possible to create custom indicator based on custom script
I'm trying to get the values from the ATR to use with another indicator unfortunately I'm getting incorrect data (I'm unsure what I'm doing wrong). I've attached a snippet of the indicators code. Thanks
Hi I am looking to modify the TDI indicator little bit and want the value of yellow line as nofication on close of each candle. Any one who can help me out
Hi there.. I'm trying to work with grabbed data from webpage. The webpage is: It shows Hourly data by default. I wanna grab 30Minutes data. Do you have any idea how to grab it using WebRequest function? Thank you
I'm currently looking for a new MT4 broker. In order to make a good choice, I have looked at some criteria such as account types, additional funding, regulatory authority and fees. But there are also technical criteria in the MT4 which you can measure and evaluate. First, I think of values such as
I recently found the indicator <name removed>. He looked very good at first. But there is a problem. If the chart is running for a while, the indicator will no longer update. He simply stops displaying new signals. Is there a newer version of this indicator that solve this problem? Or is there a
  Experts: Virtual Robot  (20   1 2)
Virtual Robot: Virtual Robot Author: Szymon Palczynski
New article Custom Graphical Controls. Part 3. Forms is published: This is the last of the three articles devoted to graphical controls. It covers the creation of the main graphical interface component - the form - and its use in combination with other controls. In addition to the form classes,...
  Experts: ROC  (2)
ROC: "ROC" EA Trades with "ROC" indicator, has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
New article Parallel Calculations in MetaTrader 5 is published: Time has been a great value throughout the history of mankind, and we strive not to waste it unnecessarily. This article will tell you how to accelerate the work of your Expert Advisor if your computer has a multi-core processor....
Detection of the divergences: The lookup and display of the divergences of different classes based on the data of the base indicator. Author: Ihor Herasko
New article DiNapoli trading system has been published: The article describes the Fibo levels-based trading system developed by Joe DiNapoli. The idea behind the system and the main concepts are explained, as well as a simple indicator is provided as an example for more clarity. DiNapoli levels are...
Proffessor v3: Grid of pending orders. The EA applies iADX (Average Directional Movement Index, ADX) indicator. Author: Vladimir Karputov
New article Parsing HTML with curl has been published: The article provides the description of a simple HTML code parsing library using third-party components. In particular, it covers the possibilities of accessing data which cannot be retrieved using GET and POST requests. We will select a website
New article Library for easy and quick development of MetaTrader programs (part XV): Collection of symbol objects has been published: In this article, we will consider creation of a symbol collection based on the abstract symbol object developed in the previous article. The abstract symbol
New article How to create bots for Telegram in MQL5 has been published: This article contains step-by-step instructions for creating bots for Telegram in MQL5. This information may prove useful for users who wish to synchronize their trading robot with a mobile device. There are samples of bots in...
  Experts: Sudoku  (2)
Sudoku: Classical Sudoku puzzle right in MetaTrader chart. Author: Stanislav Korotky
New article Payment System is published: 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...
  Scripts: Stat  (2)
Stat: The script displays the brief statistics for trading on the instrument over the specified period - the number of deals, profit, profit factor. Author: Aliaksandr Yemialyanau
New article Merrill patterns has been published: In this article, we will have a look at Merrill patterns' model and try to evaluate their current relevance. To do this, we will develop a tool to test the patterns and apply the model to various data types such as Close, High and Low prices, as well
NELODI Trading Terminal for MT5: NELODI Trading Terminal is a collection of Indicators and an Expert Advisor, which work together to provide a complete solution for manual Trading, primarily designed for Scalping. Author: NELODI
Hi all. I recently created an EA and tested it a few times with decent results. When i try to optimize two different variables to find optimal results, i found that the optimizer and the manual tester generates different results. When i use the Pass that has generated the most optimal result
  Code MQL4  (4)
Hello everyone. I'm having trouble with a code Can someone help me? In advance, thank you for your answer
Hey guys, is it somehow possible to change the color of a moving average in a code? Example: I have a moving average in my chart. Now I want to press a key and the color of the moving average should change
Hi guys, Is it there an expert that can scan the chart and based on the horizontal lines on it to send alerts (push, email) if the price is near on of them (with N pips) ? I'm not interested on something that will draw the line and will monitor that one line. It will be AWESOME for something that
By trying to delete pending orders from ticket number I got the error message "OrderDelete error 4108" Here is my code: bool DeletePendingOrder(int ticket){   double freezelevel     = (MarketInfo(Symbol(),MODE_FREEZELEVEL)+1)*Point;   double openPrice, currentPrice;   int orderType;      if(...
So the MT4 gateway that we use doesnt seem to work well with our bridge and LP. When we receive clients orders, some of these orders are hedged by us taking cover trades. However, we cant confirm if the cover trades were successful or not. What can be wrong here and does anyone know how we can fix
If I run the EA on 1 chart, 1 currency eg:AUDUSD only, it identifies the Ordersymbol == Symbol() , When I run the same EA on another chart with another currrency attached Eg:EURUSD on the same MT4 platform (2 currencies running on seperate charts) it returns "false" Ordersymbol doesnt equal...
Hello I Use this code to save price and CCI value and ASI value. The saved file name contain the indicators period. I save a CCI(14) but i would like to save CCI(15) in an other file, CCI(16) in an other file ... Can you help me please ? #property copyright "Copyright © 2013 Trading
I`ve a strange issue, just installed MT4 on 64bit Windows 10 and MT4 won`t start. I see the terminal .exe process in the task manager only for a few seconds, but no UI is coming up!
  Traders joking, the beginning  (7655   1 2 3 4 5 ... 765 766)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
Hi I don't now what is wrong here, but I can see the OP_BUY is in red so maybe that is the issue, but no idea how to fix is. I also don't know what it means when a symbol or letters are red. The code is attached, I hope it goes up here in the way it's meant to because I've seen threads here where
  EA works but doesn't trade  (11   1 2)
Hello together,  I set up my own VPN and I am trying an basic EA just to test if everything is working properly via the VPN. I am using the MACD Turbo for trading (a simple EA). Everything is set up right from my point of view. The smiley appears but no trade since two weeks. The backtest shows that...
Please can somebody help me on this.Iam building this single ema moving average-EA, But my problem is this, how to write it and put it in Custom code...... ( Prevent my EA from opening new trades after TP, SL or TRAILING STOP untill another cross over occur
Hey guys, I made this little test-script: void OnStart() { Alert(iTime("USDTHB", 60, 1));} The result was a date from 2018. When I started the script once again, the correct time and date was printed. I know this is because I never look at USDTHB and the history is not loaded in the background
  Indicator Trouble W/ MACD:  (11   1 2)
On the screenshot attached you can see two places I want to focus in on. I have used the function in Mt4 (MACD>0) & (MACD<0). But the value when MACD = 0 is not this specific crossover, as I thought it was. Does anyone know what my points (A & B) in the screenshot are called? Or how to locate them