Morning, So I'm plotting a horizontal line on my chart, except I'm not. My code is the following: double sma = iMA ( NULL , 0 ,10, 0 , MODE_SMA , PRICE_OPEN , 0 ); ObjectCreate ( 0 , "Horiz_Line"
Hi all, Quick question, is there a way to return an error message in the event that an #include file is not found in the EA (i.e. in the event that the file has not been saved in the correct directory or a function has been called to a non-existent
Morning all, Why am I having formatting issues with my debug printing? Despite reading the following documentation: https://docs.mql4.com/common/printformat and despite having the following code: PrintFormat("Error Code: #
Hello All So I'm trying to find a much more efficient way of converting an integer or a double to string, without typing + IntegerToString (AccountNumber(),0)+ every time I use a Mail, Print or MessageBox function . I believe that you can apply
Morning, So I have a function which is designed to Select an order from the ledger through the OrderSelect(..) feature. It also selects the OrderSymbol(...) as well as the Magic Number(..). If any of these return False, it's supposed to return
Hello All So I have an EA which, itself, is executing perfectly, but I'm getting duplicate Journal messages. As you will see below, there are a vast number of duplicated journal messages, which I believe have resulted in Error #4025 - which is an OUT
Hello! So, how would one change the default data folder for the MT4 platform to a shared folder? I have a VM which I run the MT4 Terminal on, but I do want to share files between my VM and my local computer without having to copy files over
Afternoon all Bit of a silly one here, but I have an EA which works fine, however I'm receiving error messages for errors which are non-existent. My EA closes half of my position when I reach 200 pips in the money whilst simultaneously moving