Hello there.
int digits_adjust=(m_symbol.Digits()==3 || m_symbol.Digits()==5) ? 10 : 1; m_adjusted_point=m_symbol.Point()*digits_adjust;
Could you please help me understand why this adjustment is being done?
In the context of EURUSD, we've noticed that for MT5 (expert advisors) 1 point is...
[Deleted]
Hi There ! Is there any way to run automatically, multiple tests using the date period in a moving window ? Any article related ? Example: From 01-jan to 07-jan From 02-jan to 08-jan From 03-jan to 09-jan From 04-jan to 10-jan From 05-jan to 11-jan From 06-jan to 12-jan Regards
Helou,
I would like to ask for help, the compiler is screaming at me : "return value of 'OrderSend' should be checked"
request.action=TRADE_ACTION_DEAL; request.type=ORDER_TYPE_SELL; request.symbol=_Symbol; request.volume=ShortTradeVolume +...
m_adjusted_point =10;
The variable m_adjusted_point in MQL5 standard libary should be changed to 0.00010, correct?
m_adjusted_point =0.00010;
hey guys as explained in the subject line my EAs dont appear as options to select for backtesting even though they are in the experts folder. the only options i see are the EAs which come with MT5 like ExpertMACD and the moving average example. ive tried everything from reinstalling the program to a...
Does anyone know of a script/indicator to change the symbol of all open chart in Metatrader 4 ? Any help greatly appreciated.
Does anyone know how to check if user have enabled Email Notification on their Meta Trader Option?
(2)
Hello people.
It is great that EA or indicator can send email from their Meta Trader Platform. However, before the EA send email, I would like to make sure the user enabled Email Notification on their Meta Trader Option. So I can avoid some errors.
Does anyone know how to do it ? So far, no...
[Deleted]
Hi there !
How can I make one EA open a PETR4/PETR3 for example ?
To place a long & short order(s), do I have to place both orders or MT5 has any special feature for L&S orders ?
Regards,
Marcelo
Metaeditor has crashed during saving and my new EA is completely GONE!!!
Is there a way to decompile the compiled EA? Or do i have to start from scratch!? :(
i was about to create a copy after this save as the version was showing some good results......
maybe Metaeditor stores .bak somewhere?...
I am trying to program a strategy in MQL5 that requires the following history data:
Bid bar history data required: Open High Low Close Volume
Ask bar history data required: Open High Low Close Volume
By history I mean a few bars previous to the current bar.
If...
Looking for mirror MT4 -> MT5 and MT5 -> MT4
Any suggetstions?
[Deleted]
Hi there!
I have an EA with iMA,iBands and iMACD. Any idea why iMACD is presenting one error in the signal line?
Documentation says nothingabout differences between buffers.
(...)input string temporar4=" "; // Configuração do MACDinput int...
[Deleted]
Hi there!
Is there any way to changeon variable of an EA from "outside" without interrupting its execution?
Example: If I havevar1=true and want to change to var1=false, is there any way to do this whileEA is being executed?
Regards,
MRC
I subscribe to a signals but the MT4 didn't link
I get some help from you for a similar problem before.
That is the account and signals
PIPS maker
123204364 VantageFX-Demo
[Deleted]
Hi all,
Any idea why PositionGetDouble(POSITION_VOLUME) does not update its value after being stopped by SL order ?
void OnTick(){(...) if(PositionSelect(my_symbol)) // seleciona a posição { ContratosAtual=PositionGetDouble(POSITION_VOLUME);...
Very funny, I have 2 transactions that was closed automatically while it is still open on the signals provider and a transaction that was not open on my account ... It is normal that it is not reliable. Is signals can be reliable or always need to be double check all the time
I click on the box to enable real time signal subscription but the box always come back not check . the signals is not copying ... any clue
Does anyone know a good MT4 programmer, who would make EA according to my strategy and detailed description and who would share 50% of earnings selling that EA? I can do everything else (make very quality Website - because I am professional Web designer and frontend developer), marketing work...
[Deleted]
Hi there!
Can someone please tell me thedifference between using SeiIndexBuffer and use ArraySetAsSeries in conjunctionwith CopyBuffer ?
When do I have use one? When do I haveto use the other?
Both are used ina EA or SetIndexBuffer is indicated only for Indicators ?
Simple example is welcome if...
[Deleted]
Hi there ! Dummy question maybe but why my EA only works when I make an if() statement with number ?
Thank you !
enum YTRD_TIMER { NAO=1, // Sem Temporizador SIM=2, // Com Temporizador };input YTRD_TIMER temporizador=SIM; // Temporizadorvoid...
[Deleted]
hi there! can someone please give me a clue from where to start learning about graphical objects ? to detect market acumulation, i have developed a function based on iStdDev(). everytime this function is executed i would like to draw a small line above and under the candlestick based on current...
[Deleted]
Hi,
Does anyone know why an EA behave differently based on MqlTick() position.
Is it mandatory to have MqlTick() declaration inside OnTick() ?
#include <Trade\Trade.mqh>#include <Trade\PositionInfo.mqh> MqlTick price_info; 1st situation: Declared HERE (Global) and used in...
[Deleted]
Hi there!
Question please ...
If I have 3instances of MT5 installed on a PC and I need to trigger something on 3 @ sametime what is the best option?
I amconsidering having a MySQL database and on every OnTick(), each EA running on each instance runs a queryand check for some parameter. This...
[Deleted]
Hi,
Can someone please tell me if there is any option on MT5 that allows me to Debug a EA when the market is closed ?
I was wondering is there is any way to "send a tick" to the EA based on a market data.
Thank you
MRC
Hello there.
I've been trying to create an indicator (for learning purposes) that tracks the maximum and the minimum value of the last N samples in the current period.
I want to use the indicator from a class inheriting from CExpertSignal.
I noticed that most articles talk about creating custom...
Hello I'm hoping I can gain some advice and speed my knowledge of MQL4. Any advice appreciated. I'm completely new to MQL and have tried to create a EA that has parameters of trading at a specific time of day and also using 2 MACD's. The code is not correct it seems. I'm about to start reading the
I am an absolute beginner in EA. I want to know a basic thing. For an EA to work, do I have to keep my computer on. I am saying this because Take Profit and Stop Loss works even when the computer is off. So do I have to keep the computer on for an EA to work ?
[Deleted]
Good Afternoon. Any clue of what is wrong? This introductory EA, buys and sells based on the movement of two moving averages as described below. This is a learning exploratory exercise. When I run the ST requesting to make combinations of the MM periods, the most profitable usually have the first MA
Hi, Is there anyway to act (ie. enter a long) when the candle the signal appeared on close
[Deleted]
Hi again,
Please find attached the results of the EA I am working on.
The excel file has timeframe as option from 1 to 15. (Column S)
I have implemented the GAIN PER TRADE Column as a reference. (Column R)
Since the results as pretty much the same, can some please share your feedback on how to...

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.