Hello, this bug took me some days to catch. The same code executed from Onstart() works, but from a method or function does NOT. Here is the Script code: struct STest{ double a, b; void STest(): a(0), b(0) {} void STest(double A, double B): a(A),...
Hello, seems like newest update or something else have broken report ability to show how much consecutive losses have been in test. It always shows 1. I have tried to reinstall platform and change brokers, but nothing is working. Can you hep ? Thanks
The previous update of MetaTrader 5 iPhone mobile platform brought a lot of technical indicators and push notifications. As we have promised, the platform development has not stopped. The new release is an important milestone for MetaTrader 5 mobile trading, as it contains many essential updates...
Hi,I'm new to this Forum and I find it very well structured and full of useful information. I've been trading Forex for some years (5 and counting)and I think it has become very hard to make a buck recently, so I truned into Forex signals services. Paid some of them between $100 to $300, but it...
Hi all: Though I am also a starter in forex field but from what I have learnt so far here are some useful tips that one should follow: Make plausible/achievable goals: Although you may have heard that sky is the limit but for any newbie in forex one golden rules is not to fix goals that are too...
I very easily learned mql4 and started creating great experts now the championships are here and they only accept mql5 experts which is a billion times harder to learn than mql4. And almost the entire code i wrote for my mql4 EA is errortic in mql5. At this page https://www.mql5...
Forex profiting is everyone's main goal on the forex market today. There is so much profit to be earned from numerous and unlimited forex trading. Did you know that over 2 trillion dollars are traded daily on the forex market? It is hard to comprehend how much 2 trillion dollars is, but it happens...
Hello,
I am trying to write simple EA for learning purposes, however, when I try to draw horizontal lines into chart indicating SL+TP prices of either buy and sell positions, there is some strange behavior. When i test my code in strategy tester, it draws only some lines, sometimes no lines at all....
Less than two months have left before the end of the registration to the Automated Trading Championship 2012!
By now we have accepted personal data of only 530 potential participants out of 1340 submitted applications. We are glad to announce the long-awaited news - automatic tests of submitted...
I'm asking thin question since I'm aware that MT5 has the license and the capability to do so, so I would like to know whether anyone of you is aware of any Broker that is currently using MT5. I believe that if MT5 was available for the Stock Marker it would be great, maybe even better than Forex...
I installed MT5 in my Win7 system. We I first opened it, the Ping result for server MetaQuotes is n/a. I clicked "next". Then the registration page cannot be finished and I clicked "Cancel". But the connection status on right bottom corner is always "0/0Kb" and the data inside is only up to Feb 2010...
Hi all, I am having some problems entering trades with stochastics crossovers. My aim is to open trade when stochastic crosses at the overbrought (level 80) or oversold (level 20) area. However, I am only able to open trade when it crosses. How do I restrict the trades to be carried out at the over...
Hello guys, Does anyone know what is this that a guy in youtube were using to place orders and how can we get it to use? ユーロドル7月17日トレード動画 - YouTube I have been trying to find out what it is but I have no idea yet.. probably he uses FXDD account maybe... If someone could tell me about this, I would...
Hi,
please help how to pass comment from signal module into the following method to see comments in trade history?
bool CExpertTrade::Buy(double volume,double price,double sl,double tp,const string comment="")
Thanks
Peter
Hi traders, I have problem in changing the time period in an indicator. The attached file create a chart with a line of a High/Low range each hour. I want to change it to a line of a period each 30 minutes . Some tries in changing period e.g. doesn't effect. Any suggestions
Hello to everybody.
As much as I know, MQL5 does not suport namespace. Is it true?
If so, how can we manage lots of classes without being crazy?
By now, my first idea is to use a prefix in all my classes, I mean, instead of naming a class like CMasterIndicator, I am naming it as...
Hey everyone,
I have some questions concerning mql5:
1) Is there really no book on mql5? Is there a good website to learn mql5? I'm good at c++ and i've seen the mql-documentation. This is nice, but it's only good to look-up things, not good to learn. I've found some articles on this website...
[Deleted]
Forex Price Action – Why did one Price Action Pin work and not the other. Forex trading pair: EUR CAD , AUD CAD Many traders asked me, why do you look at so many forex pairs. This post will be a good reply towards the question. In the forex chart above, AUD CAD and EUR CAD. Both pairs have the same...
7-Keep Rules (Confirm) NO RULES – NO TRADE CONFIRM YOUR RULES -This indicator will help you tracking your Rules step by step. When you have many system, this will help you control them one by one ! You are in a Trap or Trend have Breaked. -If all Rules check ok -> Break >< Trap -When in trap : order...
I need him to open more than one order at a time, I appreciate the help.
I want to get the last order profit,but HistoryDealGetDouble gets the last order profit is still zero. input long order_magic= 55555 ; int OnInit () { //--- create timer EventSetTimer ( 60 ); //--- return ( 0 ); } void OnTimer () { //--- static ulong recdd= 0 ,tmprecdd= 0
I have a bug on TimeGMT() function, the returned time is 1 hour more than real GMT time.
I'm at Bkk at this time (GMT +7), no summer time.
However TimeGMTOffset() return the good value
I solve the problem by this function :
datetime NewTimeGMT( MqlDateTime &dt )
{
datetime now =...
I am looking for partner in helping to start forex Broker business. The Investment is very low compared to other partnerships. The Profits Starts are as soon as the project completed (marketing) and clients start trading . I am Looking for honest and good partners, since it is money business. and I
all my scripts are gone...how do i get them back...cannot buy or sell anything...what happened??????????????
Since the availability of CCanvas it is time for a Vector library. To do so, I tried to port parts of paperjs.org (The Swiss Army Knife of Vector Graphics Scripting) to MQL.
Help is needed cause I can't fix the remaining issues myself.
I guess that there will be an official library provided soon,...
Is ther any demo to learn the forex from the beginning because as i am a new user i find difficult to deal.
Hello,
i have a problem with MetaTrader 5 on ActiveTrades demo server.
Don't know if this is related somehow to ActiveTrades or not.
The situation:
- Placing Buy order (mkt)
- attach stop
- attach target
- Placing buy order (raise position) -> target and stop get lost (set to zero)...
[Deleted]
This is an amazing EA Drag SL+TP ..once the price reached..it will display 2 lines red+green ..you can drag to set SL+TP as you desire and use any of both lines to close the trades @sudden!! when profit or too much lost++...but I need anyone kindly modify it to be 1 line but Drag to close all open...
Here is one interesting EA made for metatrader 5. It uses rsi only. If your broker allows scalping then you might try using it since this one trades a lot (and I mean a lot) and frequently and fast. Attaching test results for EURUSD 5 minute every tick tests (default settings for all parameters)...
The Australian dollar against the greenback has been rising in the recent trading, reaching its highest since May 2012 at 1.0400. As the probabilities for more monetary stimulus by the FED are increasing and concerns for Europe are growing, investors put their money in higher yielding currencies

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.