virtualreal / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
virtualreal
Added topic Fetching the execution price from a limit order
Hey guys, I've tried multiple ways to fetch the execution price from a limit order in demo mode, but all of them failed. Here's my code: #include <Trade\Trade.mqh> CTrade tradeLong; int OnInit () { tradeLong.BuyLimit(
virtualreal
Added topic Closing price is not always between the high-low range, how come?
Greatings coders, I've found out that the first closing price from a given period isn't always between the high-low price range of that period. Can someone tell me if there's anything wrong with my sample code? Thanks for any feedback! Jim double
virtualreal
Added topic Writing data to a certain line in a file
Hello MQL4 coders, Unfortunately the FileWrite() function lacks the flexibility to define the line number of the given file. Is there a way to write to / overwrite only specific lines in a file without overwriting all other lines or time consuming
virtualreal
Added topic Arrays with the double& declaration, how to make them global?
Greatings MQL4 coders and a happy new year!, My current AE has a function like this: double FunctionName( double & Array1[], double & Array2[], double & Array3[]) Because of the use of that ampersand char (needed because their values are
virtualreal
Added topic Function with adjustable declared arrays result in a "incompatible types" error
Greetings MQL4 coders, First of all, to make this posting more readable I strongly simplified the provided sample code. My EA has a function with 16 array inputs with a variable lenght, initialized by the ArrayResize function . The values from these
virtualreal
Added topic MT4 build 226, report & screenshot of 'read memory' error
update: it seems impossible to upload a screenshot, I tried a png and jpg version but no luck There has been a critical error Time : 2010.10.15 13:24 Program : Client Terminal Version : 4.00 (build: 226, 24 Mar 2009) OS : Windows 2000 Professional
virtualreal
Added topic Random values in a loop
Greatings MQL coders, I would like to generate multiple unique random numbers between 0 and 1 within a loop. The problem is that every loop returns the same range of 'random' values (yes, I know this is because the MathSrand uses the same iteration
: