BigAl
BigAl
Friends

Add friends via their profile or user search and you will be able to see if they are online

BigAl
Added topic Stratagy Tester not showing experts
Help please - not sure why but stratagy tester expert box will not show experts but will show " Moving Average .ex4"
BigAl
Added topic Date and time
Have been looking at date and time functions and admit that being 68 years old doesn't help. All i want to do is be able to stop my EA from trading for 24 business hours when things are going against me and then let the EA continue from where it
BigAl
Added topic for loops
I seem to remember being advised that when using a for loop it is better to use it to count down rather than up. please can you remind me why
BigAl
Added topic for loops
I seem to remember being advised that when using a for loop it is better to use it to count down rather than up. please can you remind me why
BigAl
Added topic deletion of mail and prevention/deletion of news
How can I mass delete mail items and how can i prevent/delete news items
BigAl
Added topic Virtual Servers and Global Variables
I am interested in the new virtual server but have a problem with the global variable statement saying that they will not work. My current MT4 EA uses "TradeBusy", "TradeNotBusy" global variable to prevent problems with opening/closing trades. How
BigAl
Added topic where are my data files
I can generate and use files in Metatrader but sometimes wish to manually delete a file when i have run demos. Files used to be stored in Metaeditor under MQL4_Files - where are they now please
BigAl
Added topic iHighest iLowest
I know what iHighest/iLowest do but have found that these are quite often hit by spikes in the price. Is there an easy way to ignore the highest and/or lowest and get the second or even third highest or lowest
BigAl
Added topic what is the correct way to code for a result in a void segment
When coding within a void? If i use the code:      OrderClose(MyTicket, OrderLots(), OrderClosePrice(), 3, Blue); On compilation I get a warning "return value of 'OrderClose' should be checked" If i use the code
BigAl
Added topic Account names
Please can someone tell me if it is possible to change the MQL4 account name
BigAl
Added topic Writing reading and saving in a file with 2 dimensional arrays - what am I doing wrong please
Please find below my code and log for loading an array, writing it to a file and reading it back (no problem) UNTIL I try resize the array to add another row to store more data. I get no errors but data entered from an order into the array is not
BigAl
Added topic Cant get array to work
I am probably doing something wrong. I am trying to build an array, store it in a file, and read it back. However, it seems to work but the data read back is incorrect!! so obviously it does not work please see the attached code and the associated
BigAl
Added topic Invalid Handle
I do not understand what I am doing wrong here. I am getting Invalid Handle messages for writing the file as well as flushing and closing. See the code and the log. Also, why does it print the correct data only for the first loop. HELLLPPPP!!!!! int
BigAl
Added topic MT5 P/L and open trade calculations
How do calculate the above: For example, if I start by placing a trade of lets say 5 lots of EURUSD then on the in the toolbox under the trade tag I can see the order type, the price the order was placed at, the current  price & current P/L
BigAl
Added topic File error 5004
Stuck again!! two problems with the code below. First is with the toolbar autotrade function switched off, when I attach this EA to the chart the EA still runs. WHY? Second the EA gives a 5004 error and I cant see why. What am I doing wrong please
BigAl
Added topic File Problems
I can not seem to get any data into the files I am creating. Who can see what I am doing wrong. The code is stripped down to show only the file code as below: when I examine the created files they are empty (not even anything in the column headings)
BigAl
Added topic Check the change of Day
has anyone found a easy way to check when the day changes. On MT4 I used the simple code attached. Is there an equally simple way to do it in MT5 please.    if (DayOfYear() != OldDayOfYear)    {
BigAl
Added topic Current profit on an open position
I feel stupid!! I can not find out how to get the current profit of an open position. tried lots of things like if (OrderSelect(ticket) Print("Profit = ", Profit()); but compiler says Profit function not defined although its in the documentation
BigAl
Added topic Help for SymbolInfoTick()
I have this code in my EA and I am puzzled by the results. Please can someone tell me where my thinking is wrong as I thought that this should load the current chart prices etc. or if it failed print the error statement and error code . It normally
BigAl
Added topic intermittent divide by zero
  MqlTick myprice;   MqlTradeRequest myrequest;   MqlTradeResult myresult;   ZeroMemory(myrequest);   myrequest.action = TRADE_ACTION_DEAL ;   myrequest.sl = 0;   myrequest.tp = 0;   myrequest.symbol =
123