Hello , One technical question: I can save on my all-in-one MT5 a particular profile from the "file" menu and labeling it. But this way I can save ONLY the charts. From menu “view” choosing: toolbars menu - standard, time frames, line studies, also market watch, navigator, toolbox, market depth -
#include <Trade/Trade.mqh> input double Lots = 0.01 ; input double LotFactor = 2 ; input int TpPoints = 100 ; input int SlPoints = 100 ; input int Magic = 111 ; CTrade trade; bool isTradeAllowed = true ; int OnInit (){ trade.SetExpertMagicNumber(Magic); return ( INIT_SUCCEEDED ); } void
I'm getting an exported value of "-nan" to a csv file . I noticed that division by zero on mt5 produces "inf" . What is producing -nan ? if anyone has encountered it of course. MT5 , not an indicator , not working with reading data live , data is picked up from the hard drive for processing . Thank
hello has anyone got a message saying access to mqi5.com denied using a vps? how do you fix it
Hello guys, Can someone help me to convert a litle Code from pine script to MQL4 ? wicks = input ( false , "..." ) Hlv1 = float (na) Hlv1 := (wicks ? high : close) > EMA1 ? 1 : (wicks ? low : close) < EMA2 ? - 1 : Hlv1[ 1 ]
Hi, I am testing MT5 VPS and wanted to clarify the difference between migration and synchronization. I am running the same EA on 3 different charts. It seems that the sequence is (after opening charts and loading EA's) : First press Migrate and after run synchronization? Thanks for any
How can I make the ComboBox control lets me input data like an Edit control not only by choosing the predefined values by code, but also, typing any value that I want to?. This control was taken from another software, but the idea is the same. The image in the left side shows predifined values and a...
In order to prevent changing of a parameter passed by reference, use the const modifier Everything is clear here: class CTest { private : int property; public : void changeProperty( int newValue) { property = newValue; } }; void OnStart () { CTest obj; obj.changeProperty( 1 );
I can't get Profit of the closed position, cause the ticket of closed order is different, how can I get it only knowing ticket of the position while opening? P.S. On mql5
Can someone advice or guide to build MA on RSI in mql5 Code. I cnt find relevant function to be used to build this. Thank you
I'm trying to search a signal in the MT4 application that is not available in the Terminal. When I click on the link for the signal, it opens the signal page in a web browser instead of inside MT4, so I'm unable to subscribe to the signal. Is there a setting I can change
Hi everyone. I need some help or advice. I'm trying to import all Ticks to MT5 from a CSV file but it seems that MT5 is not taking them all. I have attached a picture of what's going on. The purpose of importing all Ticks instead of Bars of 1M, is because I want to run accurate test data for my EA
Hi, im using tick data suite to backtest in mt4. I am now trying to move to mt5 and would like to import the tick data from tick data suite into mt5. In the settings of tick data suite i need to specify if i want to export the data with GMT offset and with or without DST. My broker is +2 GMT and
Is it possible to have a script that reads quotes from mt5 sends the quotes to a local server, say TCP server, where another script from MT4 reads the quotes and displays in chart? I want to read volatility index quotes from mt5 and send quotes to mt4 where i can use mt4 indicators
Hi guys, i want convert some pine Script indicator code to MQL4 but im beginner in MQL pls help me that is some code i want use it in MQL but i dont know how ... :S wicks = input ( false , "Take Wicks into Account ?" ) highlightState = input ( true , "Highlight State ?" ) ma(source, length, type) =>
Hi Moderator, Kindly help, why I can't register as a Seller on MQL5? I already fill the information needed on that form, include selfie and photo of identification
Authorization failed when setting up signáis on Android, are they supposed to work there
I'm trying to use an MQL library that has this in it and gets this from a DLL. I'm pretty sure the result is a pointer to a char * My question is how can I receive this char * and use it in MQL? How can I convert it to a string? I think intptr_t is a long or an int. I'm guessing a long because of
How to get value from TimePicker??? This code always returns -1 //+------------------------------------------------------------------+ //| ProjectName | //| Copyright 2018, CompanyName | //|
[Deleted]
Anyone could help me? I need the get the highest from X periods of the TYPICAL_PRICE and for some reason this is not working for me. int index_high = iHighest(NULL, 0, TYPICAL_PRICE, stop_candle, start_candle); Any idea about how to get it working? Thanks in advance for your help
Hello fellow traders! I hope this message finds you well. I am a beginner in the world of trading and I have recently become interested in developing my own trading robots. I have some programming experience in Python and I believe it would be a great language to use for this project. I was
Hi all, The MT4 code below presents allows me to set the time frame for the current chart by way of a drop down list. Unfortunately, it doesn't work with MT5. Would somebody please point me in the right direction. regards .... enum ENUM_TIMEFRAME { M1, // One minute M5, //
i contacted help desk about my financial operation being limited what could have caused this i was purchasing an indicator no the money is showing in a wallet
Hi, i try to understand the logic of mt5 how to do and handle trades ( Orders, Positions and Deals in MetaTrader 5 - MQL5 Articles ) At the moment i'm really confused. If i see it correctly, there is no kind of id, wich marks the first trade to open a order and his positions and the positions of the
I would like to ask within this forum if anyone is currently using and EA that generates at least 10% per month with 5% drawdown. Is there any product that can do that
Diagnosing the error of broker or robot? Hello I'm on I had installed my own expert account. All of a sudden all my positions were closed just when I started making profit. The broker claims that the positions were closed by the robot, but this robot has been working for several days. Please advise
There is no depth of market on Netting account for Android while there is one on Netting desktop and hedging Android, go figure. Hopefully one day there wll be one
Hi everyone! How can I know the ticket or de ID of a position across multiple pairs? What I want to do is to implement a trailing stop based on the last position that was opened. For example, if the last position is +50 pips, then move the stop loss to break even for that position and all the other...
In MQL5 , is there a means of calculating 'Maximum Total Drawdown, Maximum Diffusion, Maximum Total Withdraw , Daily Target Percent

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.