Hello Have anybody MQL5 code that get all info about Symbol?! Like this for MQL4: https://docs.mql4.com/constants/environment_state/marketinfoconstants#enum_symbol_info_string //+------------------------------------------------------------------+//| The script prints information on symbol
I am trying to do automated trading with a custom indicator. However, EA uses the default settings of the indicator that I downloaded from the market. In fact, it would make more sense to use the data of the indicator we uploaded on the chart. Hopefully MT5 will update the software for this
Hi guys, I have following issue in my strategy tester. There is the same profit for different order volumes. Profit is always calculated for volume = 1. Do you have maybe any advice or explanation
Hello, i need your help. Is there some ea which close my limit orders before news and reopen again after news or just some timer where i set manualy time for example from 14:00 to -14:30 will not be executed any limit order even if price hit limit order between 14:00-14:30. I need set set limit
Hello, my name is Daniel and I am still a newbie in this forum. I want to learn how to create an EA using ZigZag as main indicator and few filters to filter out false signal. So, I read this thread : https://www.mql5.com/en/forum/144092/page2#854926 After I read that thread, I have few question in
Welcome to the experts Ichimoku Index I need code buy entery when the Chinkou head is broken candle And vice versa in sell Selling when the Chinkou bottom is broken
Hi programmers I have worked up a simple Expert Adviser that should buy when condition has been met and enters a sell trade again if the condition has been met. When the conditions have not been met it should display a message saying so. Now the script compiles without an error on the editor. On the
Hi Everyone, Please I have custom indicator and I need someone to convert this indicator into an Expert Advisor for me. I will forward the source code on request. Thank you
Hi, I would like to optimize the orders for pair trading, being capable of entering and exiting a trade by the Ratio of two symbos For example: Stock A - USD 15.55 Stock B - USD 10.34 Ratio A/B - 1.5039 I would like to have a option for entering the trade at a determined ratio, for example 1.5030
my purchased EA can't be loaded in MT4 account folder. Visible in mql5 browser tab but not in MT4 application after login to mql5 community
Hi there, would like to know if it's posible to test only M15, H1, H4... through a piece of code in the function OnTest. Thanks in advance
I'm looking for an EA that I can turn on once I've already manually entered a trade that will close my position based upon the W%R crossing the signal line from a specific direction, does anyone know where I can find something like this
I propose to come up with/develop a single coefficient showing the quality of the strategy, which will take into account its many characteristics (profit, drawdown, number of trades,...). In MT5 it is possible to use this. This kind of task can be solved graphically: Profit and drawdown are
Hi there, I'm testing my recent translated advisor but I suspect that orders count function is not working properly cause it isn't closing orders. Here I count Buy and Sell orders, code: //---------------------------------------------- Internal loop ---! double BuyOrders=0,SellOrders=0; for(int
hi guys, i got an issue with MQL5 why it draw indicators i use in logic of my EA on strategy tester! "work normally in actual chart doesnt draw anything there, just in strategy tester" make it a mess hard to read the chart and analysis anyway to make it stop?! to be honest compare to easiness of
Hello everyone, I am making my own robot according to my strategy. Do I want to know how to make the bot make a pending order? What is the function? Greetings
Hi, i´m trying to get the volume in the DOM at an open position price. I'm quite new to MQL5 and could not find a way to just get the volume of that specific price. Any idea would be very welcome thank You
Hello, I need to stop sending orders to the server for 3 minutes during the daily trading break (23:59-00:02)? (which depends on the broker) Market opening time is different in winter and summer, so I can not use local system time while comparing. I can not use server time as well. I guess each
The following EA Closes all open positions on account with magic number related when reaching profit target. Problem I am experiencing is that the EA at times do not close all the open positions when required. I can't find the problem. Can anyone point out what the problem is and how I can solve it
Hi, been working on my first EA and it presents this problem, sometimes, the price is moving wildly and, it matches the EAs parameters to open trades (since the price is passing the same bid or ask multiple times in a matter of minutes) So, i was thinking of a way of programming the expert advisor
I would like events to be triggered the moment a deposit was made into the trading account that the EA is currently active on. Any help
Hello guys I have an EA analyser that analyse the performance of my trades by magic number and group them by magic number separately so i can analyse each strategies separately on the same terminal. I am running 5 different EA strategies on the same terminal. My question how will i calculate the
I haven't really searched but, I was trying to think of a way to detect the most recent peak on a chart. A solution that I believe would work involves using a For Loop to check "x" number of periods previously. The loop would just check previous values and compare which of the values was greater. If
Where do I send my EA for backtesting by other developers and users
Hi, I am using the following MQL5 code to fetch data from a web service: string cookie=NULL,headers; char post[],result[]; string referer = NULL; string url="http://www.test.com"; int res=WebRequest("GET",url,cookie,referer,500,post,0,result,headers); However, I need to specify the user agent
Hi, I'm having a problem with the strategy tester I'm hoping I can get some help with. I'm new at this, so I may be missing something really obvious. I've read a lot of data on this website but still can't see where my problem lies exactly. I was trying to test a very simple MT5 EA using the
Hey, from time to time (yes I love this sentence too), my EA causes "Invalid pointer" errors when a pointer is just assigned to a variable. Like this: CVObject *ptr=(CVObject *)m_invalidupdates.At(i); m_invalidupdates is an CArrayObj object which is part of the MQ library. CVObject could be any
my forex robot launches trade slow. for example ; new bar open price 1550.00 long position start. robot needs to initiate a purchase order. but, until the robot starts, the price is 1550.15. what is the reason of this
Hello I just compile an EA i am getting one error : '1' - expression not boolean When i go to line this is the code causing the error : if(IsStopped())return(-1); How do i fix this? I appreciate the help
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.