do someone have an EA that send an alert when a new operation came out onto MT5? i'm looking at some EA during the champioship and an audio / email alert would be helpful.
D.
Hello,
My question is how to access information to the under formation bar.
I found some information on MQL4 but nothing in MQL5.
Thanks in advance.
Juan
Hello,
i have a custom DLL returning ANSI string. How to delcare this function in .mqh file please ?
const char& myfunc() - error
const char[] myfunc() - error
const char* myfunc() - error
char& myfunc() - error
char[] myfunc() - error
char* myfunc() - error
how to do this...
Hi, I started learning mql4 two weeks ago, along the way I noticed mql5 programming is growing.
1. From your perspective : Do i rather stop learning mql4 and switch to mql5 stright away? Or, learn programming in mql4(many helpful articles=learning faster) than just learn how to convert bot to mql5...
Hi,
is it possible to set indicator color from EA?
Indicator is added to the the chart from EA by the ChartIndicatorAdd(0,0,indicatorHandle) method.
Thanks for help
Peter
Hello, I was wondering if anybody knew of a way to optimize a strategy across several instruments in MT5. I know you can set the optimiser to Market Watch but it won't iterate through all the parameters to give you the best results across different instruments . Cheers
[Deleted]
Hello, I have a question : whatever the timeline I would like to know the OHLC price of a bar (1 min OHLC). i.e: I have set a 5 min timeframe for eurusd , between each bars i would like to "print" into the console, each minutes, the OHLC price of the current currency. Wich way to explore ? Thanks
[Deleted]
Hello, I work actually on an EA and I would like to check for some conditions each new minutes I saw on a previous topic this script : static datetime Old_Time; datetime New_Time[6]; bool IsNewBar=false; if(Old_Time!=New_Time[0]) // if old time isn't equal to new bar time...
I have 2 EA, they are work together for 1 pair, such as EURUSD, How can I run backtest? hongbin.fei
Hello,
I would like to send order entry and exit signals from an external software application I am developing in C# .NET.
Could anyone help me understand how I can accomplish this?
Thanks!!!
Hi all I've a global variable defined like this: MqlRates ga_rates[]; Then I've a function in my EA defined as follows. void getBarInfo(){ // fill array with bar information to use in functions CopyRates(Symbol(), PERIOD_CURRENT, 0,10, ga_rates);} Now I would like to use the variable ga_rates...
Hi all
I'm a very "new newbie" in MQL5 (I've experiences in other progr. lang. but not in MQL5). I trade for more than two years and now is time to start with developing EA to make trading (hopefully) easyier and less risky.
To my challange...
I need the OPEN information of the last and...
Hello, people.
Strategy tester does not read past indicator data. Is it right?? Is it a bug?? What am I doing wrong?
I'm writing an EA that needs to read past indicator data. It works just fine in Debugging mode, but it doesn't work when used in Strategy Test.
To illustrate, a prepared a simple...
Hi, dear traders
I'm looking for EA with three TF (M15, H1 and H4) and candles
for its indicator. EA can open buy or sell at M15 by watching candles
at H1 and H4 when candles show go up or go down.
Does anyone have an EA with this idea?
Thank you.
Hi! How can I solve this problem? I create an EA of a Signal and I got this error: "PERIOD - member function not defined" Where do I need do define? All others functions do not show errors...
It's not working now ... at least with me. It did last week.
Hi,
I am an old time C++ programmer and just started learning MQL5. I notice the pointer concept of MQL5 is different from traditional C++, especially for getting pointer. I read the MQL5 document and quite easy to understand the concept of using function GetPointer(...) to get the pointer of a...
Hello MetaQuotes, when a backtest, without visualisation has been finished, a new chart window is opened showing trades. Unfortunately, the chart is going over all available data instead of showing the interval selected for backtest. Could you please change this? This makes it extrem difficult to...
Hello MetaQuotes,
when trying to add triple EMA to chart, this EMA is not visible as it is always added to chart window instead to open extra data window.
No way to change it. (This chart already has 1 indicator in data window).
Another chart shows triple EMA correctly in extra data window
Hi,
Is it possible to add more positions without closing the already opened positions? How could I go about writing the codes?Million thanks!
hi,
does anyone know how to enter trade at specific time? Thanks in advance.
Hi there,
When i submit an order, like this for example:
double SL = (o_symbol.Ask() + (Signal_StopLevelS*_Point));
double TP = (o_symbol.Bid() - (Signal_TakeLevelS*_Point));
trade.PositionOpen(_Symbol,ORDER_TYPE_SELL,1.0,o_symbol.Bid(),SL,TP);
and...
Recently decided to understand the standard classes and the wizard a bit. As I study it, I get questions, which I can't find answers to in the help. I am writing my own module of position management after preliminary reading the article The CheckTrailingStopLong(CPositionInfo* position,double&
HP 0 Agent_192.168.0.10:2005 22:42:19 EURUSD: history synchronization completed [4090 Kb] RP 2 Agent_192.168.0.10:2003 22:42:20 genetic pass (9, 110627387037426572) tested with error "critical runtime error" QR 2 Agent_192.168.0.10:2002 22:42:21 genetic pass (10, 134774014628841714) tested with
Hi!
Im new in the MQL world, with little knowledge of C# only...
Looking at the Order Types (in: https://www.mql5.com/en/docs/constants/tradingconstants/orderproperties#enum_order_type), I had a doubt. Is there a order type for closing long positions?
As I understood the ORDER_TYPE_SELL is for...
I am looking for documentation on what I think is called swap. Can anyone tell me where to find this?
[Deleted]
Forgive me if this question has been asked or answered already. I have read the manual provided by this site but, I need a little more explanation. I thought with automated trading there are no restrictions to how much trades you have. For example... is it possible to have my EA open about 10 - 15
Hello,
i am looking for an efficient formular to change period of a moving average.
This article
https://www.mql5.com/en/code/75
seems to promise this but after my opinion this is not the case as the recursion used...
Hi guys,
I'm still having problem with my trailing stops. The stoploss level is supposed to be changed only if the price minus the trailing stop point is greater than the existing stoploss point. But in my program, the stop loss is being adjusted as I can see it in the visual tester. The problem...
Hello,
my question is about the order of prices in price arrays passed to OnCalcuate. I know, there are many tags for this subject, however,
my problem is this:
Now the problem: The sample below outputs on each tick CURRENT close and also "as series". I thought §as series§ means that LATEST...

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.