trader88888 / Publications
Forum
Color Transparency in Rectangle Object
Hello, Is it possible to add in color transparency to an object? Eg. I want to take a rectangle and instead of making it while #ffffff i wanted to make it transparent. I was wondering if anyone can show me some example code to do this? Thank you
seconds since 1970
Hello, I'm trying to get an output like this for the number of seconds since 1970. 1460944723 I've done my search on this form and every example doesn't give me the desired output, checked all the documentations, pulling out my hair now. Here is what I have is below, and the response I get is
screenshots not being created correctly
Hello, I have a continued problem with the creation of screenshots in metatrader. There is no consistency to this problem that I can find. The problem: Screenshots are being created with 0 bytes (sometimes) I'm not sure how to solve this as there is no consistency. I know people are going to ask
MQL4 Screenshots - 0 bytes
Hello, This seems to be a very odd problem but I have a line of code which takes a screenshot with a certain size. The image file always gets created but sometimes the file size is 0 an others its the full image. It's the same code that gets executed on the same mt4 instance so I can't figure out
Build 600+ compiling error - assistance in updating int start()?
Hello, I believe this is a simple issue (however I'm not a developer) but I'm trying to get this old code to compile on the new 600+ builds. The error I'm getting is: 'start' - function already defined and has body I don't understand this because i can't find a "start" anywhere else in the code
Syntax help on build 600+
Hello, I had this line of code in an indicator previous to build 600 but for some reason I get an error on the newer builds of MT4 and was wondering if someone could help me resolve this... the error i'm getting is: static datetime Time.open; "." semicolon expected Is there a newer way of
removing text from a string
Hello, New to mql4 and really coding in general but I have to start some where. Can anyone help me with this? I have a random string of numbers (different character lengths) that end with .gif. how do I remove just the ".gif" from a string? Old: 0248240420428420842.gif New
date/time, seconds since 1970
hello. Im trying to get the output for the amount of seconds since jan 1, 1970. The output I desire should look something like this: 1413424764 I can't seem to figure this out, i've been over the documents and i keep getting the date written out such as Jan 01, 1970 or the amount of seconds it
Converting time in email
Hello, I currently have an indicator which the in the sendmail line is this: Time: " + TimeToStr(CurTime(),TIME_DATE) + " *** " + TimeToStr(CurTime(),TIME_MINUTES) The result output in the email is: Time: 2013.08.20 *** 07:00 This above time is in GMT/UTC +3. But I need it to be in just GMT/UTC and
Set a delay timer between trades
Im wondering if its possible to set a delay timer between trades? I'm working on automating a strategy, but there are some times when conditions are met that trades will open and close faster then you can blink. I'm wondering if we can say "For the next 10 bars, do not open any new trades", or "For