MQL5.community forex forum for traders and developers

Over the course of 12 years, MQL5.com has turned into a powerful community, bringing together hundreds of thousands of people. Its members want to know more about trading, MQL4/5 programming, automated trading systems, strategy testing and technical indicators. The full language description
  Forecast and levels for NZD  (179   1 2 3 4 5 ... 17 18)
NZD/USD April-June 2017 Forecast: ranging within Ichimoku cloud for direction  W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 38.2% Fibo level at 0.7163 located in the beginning of the bullish trend to be resumed, and, 0...
  Forecast and levels for AUD  (252   1 2 3 4 5 ... 25 26)
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  (6945   1 2 3 4 5 ... 694 695)
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...
I have and EA being built and the freelancer can't resolve a problem. It works well in hedging accounts for CFDs, but on netting-furures contracts it presents the following mistakes: In MYMU21-most active contract, live demo: 1 - Although N value (ATR*tick) is correct and lot size shows correct
  Payment  (3)
Why cant i either top up account or buy anything? The money is there but it just says "failed" without going through the normal procedures
So i am having a little challenge here . My phone was stolen last week and my current Mql5 notification number was in the phone and i am having challenge getting that same number back as my network providers can't help. I wish to change to a new number but the Mql5 system always sends code to the
Hello, I'm soon starting a new business venture, to make to work the best i ideally to to be able to have access/rights to use the metatrader servers/ API does anyone know a contact that could help
  Ask for help  (7)
I uploaded EA for sale but there was an error warning that test on EURUSD, H1 there are no trading operations test on NZDUSD, H1 there are no trading operations test on GBPUSDcheck, M30 there are no trading operations test on XAUUSDcheck, Daily there are no trading operations How do I fix it
Is there a maximum amount of open charts for MT4 and MT5, or lets say a maximum amount where you would say its not reccomend to open more, because the terminal would stop to work good
I purchased <deleted> but it has totally failed to work on my chart what i can i do ? How do i get to support team for assistance? Kindly advise please
2021.06.24 15:49:32.638 Notifications: synchronized with 12 positions, profit: 327.46 USD' sent to '1016C704'
hello so for some reason my mt5 is not working the ping on the bottom right says n/a but on mt4 its working perfectly fine.... please resolve this issue because i have other peoples money on stake... this is the screenshots of the journal and it keeps making the boing noise.... please i need help
Hello, I am attempting to use MT5 on my MacBook Air (iOs 10.15.7) and I am unable to login to my trading account with my details. My broker has confirmed on their end they are able to successfully login with the details. I have tried every variation on their server name possible and nothing works
The MetaTrader 5 platform update will be released on Friday, May the 21st, 2021. The new version features the following changes: Terminal: Trading services, including Market , Signals and Virtual Hosting are now conveniently displayed in the platform's main working area. In earlier versions, MQL5
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...
  Scalping system  (185   1 2 3 4 5 ... 18 19)
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
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...
  Best method to identify trend in forex  (72   1 2 3 4 5 ... 7 8)
Hi guys, I just start a trading discussion about what the best method to identify trend. We know there are three type of trend: 1. Up Trend 2. Down Trend 3. Sideway. How we identify Trend? Thanks in Advanced.
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...
With everything working for months, VPS still on, subscription paid for, why did my trades that were opened by a Provider not closed today when Provider closed the trades? Blackwave Pacfic, USDJPY trades. How does one get direct support from here
Hi again, The Multiple Regression Analysis and Forecasting template provides a solid basis for identifying value drivers and forecasting time series data. While it utilises a range of commonly employed statistical measures to test the validity of the analysis, results are summarized in text for ease
  Trading System by Xard777  (3887   1 2 3 4 5 ... 388 389)
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
  Something Interesting to Read  (78   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...
blblablabl Hello, I use MetaTrader5 library for python. I call connectToAccount from main function. I don't understand why MetaTrader5's window needs to be open. If I block this opening my script sleeps until the window is opened. Is there a way to make it work without opening the Mt5 window ? Thank
  For "Solar wind" believers  (398   1 2 3 4 5 ... 39 40)
Since it seems that some new reincarnation of "Solar wind" is appearing at least on a weekly basis, and since it seems that is useless to repeat over and over that it is a wrongly coded Ehlers fisher transform and that it is one of the most famous re painters, here is this nice little thread in
  PriceChannel Parabolic system  (298   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...
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...
  Daily Breakout EA  (146   1 2 3 4 5 ... 14 15)
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...
  Harmonic Trading  (5982   1 2 3 4 5 ... 598 599)
Hello all I have tested many strategies and many other stuff but i did not found them more accurant then basic analysis of the market. i mean,the Price Patterns. 1. harmony indicators: here and here. 2. candelsticks reversal patternsis here. 3. Price Patterns: - Price Patterns (Gartley,Butterfly,Bat...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
  We use Bitcoin ;)  (481   1 2 3 4 5 ... 48 49)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
  Trading stocks  (3)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
Hi, I need futures exchange data to use a volume profile indicator on MT5. I've only found a broker with futures data, but this broker gives the DAX data delayed on the demo account . Do you know if exists another broker that provides futures data on demo account with DAX real time? In the other
The international broker has expanded its exchange trading offering. Using the multi-asset platform, traders can invest in securities of global corporations, such as Allianz, BMW, Bayer, Siemens, Heineken and Royal Dutch Shell. This addition to the previously available portfolio of US stocks, brings...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
  Autotrading Help  (8)
Hi all, I am a trader who would like my followers to copy my trades in the US stocks market. I am wondering if I could get any information on Auto/Copy trading please? I am new here and greatly appreciate any help given. Thank you
  Forecast and levels for Nikkei  (36   1 2 3 4)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
hi , i'm wondering if i short the bitcoin at 35000 and my target the price crush to 1 dollar , how much i'm gonna earn
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
Crypto Currency. What is the reason for BITCOIN fall? Is it China Beijing on Tuesday ban financial institutions and payment companies to provide cryptocurrency-related transactions? Elon Musk statements about Bitcoin? Or because its a Beast of No nation? To avoid virtual e currency, stop money
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...
Moderator's note. Recommendations are not allowed in the forum
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
  Forecast and levels for CAC 40  (22   1 2 3)
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
I am looking for something that allows me to kill the thread of the program when an error occurs. Something like "exit(-1)" in C and C ++. Can you please tell me if there is something similar in MQL5? I want to do something like what you can see in the following code: handler = iMA
Guys / gals, I'm looking for an EA that can place trades with a user-defined martingale, and also adjustable trades spacing. Another function I need is a drawdown control based on the latest trade being slightly in profit over the earliest trade. Gold Stuff came quite close to what I was wanting
I have string variables (Candle_1, Candle_2 etc..) which when printed returns "Red" or "Green" from a function. eg: When running: Print("**** Candle_1: "+Candle_1); Output is: **** Candle_1: Red I would like to print values in a for loop for multiple candles but cant get the value of the variable
Hi, does any artical talk about MT5 build in EA Sample ExpertMAPSARSizeOptimized? It is wriiten in pure OO style, but metaeditor is not excellent enough as Eclips or VS studio now. Sometimes i feel reading MQ5 OO program using metaeditor is just like using Notepad. :) I cant get the point of the...
Hello! I am demo-testing EAs in multiple pairs. Sometimes I want to modify the EA inputs in all of the charts at the same time and it's very cumbersome, boring, and time-consuming, to -press F7 to open the EA -click over to Inputs Tab (because it always open in the first About Tab) -click Load to
Hi, Can somebody share a code to get profit value of a current symbol from multiple open position. (Example: I have 5 buy position on EURUSD and I want to know total loss of profit of all 5 position) Thanking you in advance!
Hi, I need to store a long or ulong value into a char array. Therefore I split the value into pieces of 8 bit and store these parts into 8 elements of a char array. Following macro is used: #define L64_TO_UCHAR(value,array,pos) { array[pos+ 0 ]= uchar (value& 0xFF );array[pos+ 1 ]=( uchar
how to close all your open position at once
hey, is there any script for closing half and Stop loss to Break Even point? im a scalper and that scripts will be life saver
Hi guys, I want my EA to avoid taking any trade from 21:00 to 01:00 (when spreads are high). Regards, Saurabh Barhate (P. S. - I am using MT5)
I'm trying to make an EA to only trigger when there's a Sell signal and will trade for the amount of candle sticks required. stops trading after the number of candle stick has been reached Wait till there's a buy signal Triggers once there's a new sell signal I was able to get the EA trigger on sell
Hi everybody! I'm looking for historical data of FTSE-MIB (the italian index). I'm using the data of my broker (avatrade) and only on daily I've got this error: "2021.06.22 21:07:39.673 TestGenerator: unmatched data error (volume limit 78163 at 2020.03.20 00:00 exceeded)" (on daily backtesting) Do
I have an EA which has been working for a month on a demo account. I recently tried to backtest the same interval to verify it with the live tradings from my account history and it is completely different. the data is the same and it is broker's data. What is wrong and how can I get the same
Hey guys, i want some help to detect the robot that operates VWAP or TWAP! I saw that a simple way would be to analyze how many trades per second/minute the stock are having. So I would need the information on the amount of trades and also an element that calculates something like speed. 10 trades
Hi everyone Hello friends I want to learn how to write an expert. The few pages that are available for training are very general and do not teach anything in practice. That's why I ask you to help me with this example. I want to open two trades at the first moment, one sell and the other buy. Each
Hi, i am trying to learn to program indicator and EA. My indicator doesnt work well, it doesn't auto update the new price except i refresh chart or recompile. I dont know why. When the new candle generated, LSMA indicator (the red one) is falling down at 0 value. Can anyone point me in the right
Hi guy, i'm writting a LSMA indicator but it display incorrectly, it work well except the at the first bar. here is my plot display *** I find out when i compile the OnCalculate() will be run 2 times, i try to console log the rates_total and prev_calculated and the result is: *** It lead to this
  Everything about RSI  (1439   1 2 3 4 5 ... 143 144)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
Goodmorning everyone, I am new to programming, I have been looking for the solution to the "array out of range" problem of the following lines of code for a week ... you can help me? int OnInit () { ArraySetAsSeries (arrayPriceData, true ); int nrBarreMemorizzate = CopyRates ( _Symbol , _Period
Please some kind soul can check the script for mql5 with following conditions: 1 - Creates a horizontal line on the opening price; 2 - Start drawing the lines from today onwards; 3- It has to be editable where I can delete or move the created lines. I made the code based on some models, but the
Hey guys, there is a simple code from another platform that I wanted to replicate in metatrader, could you help me? if (rsi( 2 , 0 ) < lowest(rsi( 2 , 0 ), 10 )[ 1 ]) then BuyAtMarket; I need to create a buy signal for when the 2-period rsi is less than the 2-period rsi of the last 10 periods
  Moving Average  (1536   1 2 3 4 5 ... 153 154)
Post all MA indicators here.
Morning Does anyone know where I might find an indicator/EA that shows/activates when a moving average crosses the price line long or short. I've seen hundreds of MA Cross indicators (when MA crosses another MA) but struggling to find when a single MA crosses the price line. Thank you
  Correlation indicators  (161   1 2 3 4 5 ... 16 17)
a nice indicator i think green GBP /red USD se the pic
Hello. I am having difficulty finding a method to create a dropdown menu within an indicator that chooses between histogram and line. I am wondering if anyone could give me some example code or direct me to a resource that is not too complex. I would very much appreciate it :)
Hi, I am developing an indicator and I don't understand the OnCalculate event at all. From what I can see, this indicator runs every time there is a new tick on the chart. So, I calculate for all candles the indicator (I limit it to 1000 candles) for ( int i = ( int ) MathMax (prev_calculated- 1
I have a strategy that apparently is very good when there are trends. But this has great losses when the market is consolidating. In fact, it almost lost 90% of the capital between 2000 and 2003. So if I can filter those periods in which the market does not have strength, maybe this strategy can be
  ADX calculation  (6)
Hi everyone, I'm trying to figure out how ADX is calculated in MT. I have studied the documentation and the mql code of the indicator but am still observing something wrong. I'm experimenting with monthly data to see the calculation from the first bars of history. Using the standard...
"Good evening I have to convert a tradingview indicator to MQL4 for a friend. I have to admitt I have not much experience in pine script, but till now it was enough to creat some indicators or convert some to MQL. But the current one has some parts I don't understand completly. Pine Code: x =
Hi how can use and draw in the main and sub chart windows in same time? in both mql4 and mql5? I want show an indicator in the main chart and draw some object types in sub window. how can i do it
Sell using amount instead of lots : I find the lot calculation tedious so I just use this script and tell it the dollar amount to use. It then does the rest. This works for any currency. Author: Wait4Signal
e_Breakeven_v4: An assistant Expert Advisor. It moves positions to a breakeven and then enables trailing. Author: Vladimir Karputov
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
Barebone Gradient Candles : Volume Colored Candlestick exemplifying a gradient. It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES
New article Prices in DoEasy library (part 63): Depth of Market and its abstract request class has been published: In the article, I will start developing the functionality for working with the Depth of Market. I will also create the class of the Depth of Market abstract order object and its
Monthly Weekly Levels: The script displays the monthly and weekly levels on the chart. Author: Taras Slobodyanik
Change Timeframe All: This script will change the timeframe of all the opened charts. It has one setting for selecting the desired timeframe. This saves me a lot of time when doing multi timeframe analysis across 12 currency pairs simultaneously. Author: Matthew Colter
closing partially script and Stop loss to Break Even point : closing partially script and Stop loss to Break Even point Author: Mehmet Bastem
New article Cluster Analysis (Part I): Mastering the Slope of Indicator Lines has been published: Cluster analysis is one of the most important elements of artificial intelligence. In this article I try to apply cluster analysis of the slope of an indicator to get thresholds to determine whether a
Risk Reward Tool : Risk Reward Tool calculates Risk reward like 1:2 1:3 1:4 and 1:5 Author: Dark Ryd3r
New article Interview with Andrey Barinov (ATC 2012) is published: It was on Friday of the Championship's first week that the trading robot of Andrey Barinov (Wahoo) occupied the fifth place in TOP-10. Andrey is a newcomer in the Championship but he has already managed to execute more than 100...
Money Managment Indicator: MT4 Indicator for Position Size Calculation Author: ThilinaG
New article Native Twitter Client for MT4 and MT5 without DLL has been published: Ever wanted to access tweets and/or post your trade signals on Twitter ? Search no more, these on-going article series will show you how to do it without using any DLL. Enjoy the journey of implementing Tweeter API
New article Graphics in the DoEasy Library (part 73): Form object of a graphical element has been published: The article opens up a new large section of the library for working with graphics. In the current article, I will create the mouse status object, the base object of all graphical elements and
Take a look at the picture. Here's the code: //+------------------------------------------------------------------+ //| HL Volitility.mq4 | //| Copyright 2016, MetaQuotes Software Corp. | //|
Hi, total noob here. I have an error and several warning s but I cant work out the issue. It says there is a '>=' - operand expected, but it is right there where it says the error is(marked in red background). What am I missing?? Also does anyone know of a tutor to help with learning MQL4? Happy to
I have this code // -------- This import a Windows DLL-function used to fetch your timezone ---------------------- #import "kernel32.dll" int GetTimeZoneInformation ( int & a0[]); #import //------------- //------------------------------- function to calculate timezone -------------------------
Can someone please point out what's wrong with my logic? What I'm Trying To Do: I am trying to make the Indicator Draw Arrow based on these conditions: If there is a bullish candle then check if the arrow indicator had shown an arrow on the lower timeframe during the interval of current timeframes
Hi all, I'm currently messing around with Multi-Currency EAs and also a multi-currency strategy testing script. An obstacle I seem to be coming across is when trying to find symbol info for other symbols... Attached is a simple example of what I mean: void OnTick () { double Data =
How do you reset MetaTrader 4 to its original default settings at installation?
hi guys its my first time coding mql4 and im still practicing. I have a problem on my project, I have 10 open trades on buy. i want to get the average of my entry price on buy, is that possible
I wanted to use iCustom to trade the arrows from the TrendIndi indicator. I can see the values from the Data Window for all the arrows on the indicator, but for some reason, iCustom is not picking up all of the data. For some trading pairs, it might miss a couple of arrows, but some might miss about
  EA Test  (1)
Hi Forum, running a test on an EA I get all trades grouped together, What could be the cause, still learning
Hi, long time listener, first time caller. Ok, so I'm used to an old iPhone 5S which would "ding" at me when a new trade notification appeared regardless of I had MT4 open in the foreground or not. I'd be staring at a trade, the SL would be adjusted as it went in my favor and I'd enjoy a chorus of
  Lot function  (4)
Hello am new in programing.I want to create lot fonction where if order is loss EA change initial lot to fix lot and after profit increase initial lot before return initial lot. For exemple initial lot is 0.10.I want that after every loss EA change lot to 0.01 and after 0.01 lot if order is profit
Hello, I'm trying to make my EA check every second if the price reached a certain price and if it does change it's T.P and S.L. The problem is I managed to make the EA do that every new candle and it doesn't work properly this way. I've tried to make an infinite while that exit when a new candle
Hello. How to do that after opening the buy position under the candle, an upward arrow will be drawn, and the other way around in the sell position
Dear Guys, My name is Mihajlo Tomic, I live in Serbia (a smaller country in Europe) and I started trading in CFDs. I have a little bit of knowledge and experience but I believe in myself and some of my good ideas! I need 2 small simple MT4 Expert Advisor programs to help me try something. The first
Hi all, I wonder if someone can shed light on the possible disadvantages of using an EA on one chart to manage a portfolio of instruments. Attached is a basic EA which allows the user to select which pairs they want to trade, and the EA will then trade the portfolio regardless of which chart the EA