My Post

How to clear the Array memory??

There are some bugs in my code.
So that I made some test code as follow.
for (int i=Bars;i>=0;i--)
{
   ExtMapBuffer1[i]=i+100;
   Print("i=",i," E0=",ExtMapBuffer1[0]," E1=",ExtMapBuffer1[1],"E2=",ExtMapBuffer1[2]," E3=",ExtMapBuffer1[3]);


=> it returns
iTest_01 EURUSD,Weekly: i=0 E0=100 E1=101 E2=102 E3=103
iTest_01 EURUSD,Weekly: i=1 E0=2147483647 E1=101 E2=102 E3=103
iTest_01 EURUSD,Weekly: i=2 E0=2147483647 E1=2147483647 E2=102 E3=103

There is a very strange value"214....".
Why the empty array will start with "214...." rather then 0??

Optional Function Parameters?

Hello,

The MT4 documentation says you can create a function with optional parameters thus:


void example (int a, int b=0);

Then, according to the documentation, it should be possible to call the function thus:


example (15);

and 0 should be substituted for the second argument. Instead, I keep getting the error:


')' wrong parameter count.

What am I overlooking here? Is there any documentation or book that is more detailed than the MT4 online documentation, maybe?

Oh, and here a very important detail. The problem occurs only if the function is external, residing in a library file, and the above declaration is in an mqh file. The library file will compile fine, but the error occurs in the calling expert.

changing code for new wav file

hi can anyone tell me how to change initialisation code to accept new wav file in metaeditor

triying to get spoken alert in a me crossover indicator.

How to take screenshots of other charts?

Hi, I know how to take a screenshot of the current window using the WindowsScreenShot (cant remember the exact name).

But how can I take a screenshot of another window thats open but not active? I would like to take a screenshot of all open 5m charts so I can ftp them.

Thanks.

EA Programming for Metatrader

Hi,

We want to let you know if you are looking for professional support in MetaTrader programming you can deal with us. We are able to turn your most sophisticated ideas into high quality and reliable code. We can create Expert Advisors, Custom Indicators or Scripts. We also can fix any EA, depends on your requirement.

If you interested with our service, please do not hesitate to contact us.
Thank you.

Best Regards,
http://mq4-experts.blogspot.com/
mq4.experts@gmail.com

hc62916


Help developing new EA

I am trying to develop a new EA. Maybe it is already out there but I just haven't found it yet. I just need the EA to open trades at a particular time based on OHLC of previous candles. There are some other requirements as well, I can email them if anyone's out there willing to help.

My email is rajvr at hotmail.com.

Thanks

-Gc

EA program

I would like someone to write a very simple program EA to automatically trade on 2 signals.

I can't sit in front of my computer all day and wait for these indicators, however, research has proven to me that I can make a steady $500-900 every day or so using this method.

I've asked someone from work to write the program seeing how he thought he knew c++, ...

Turns out he's pretty lazy and didn't make it a very high priority on his important list.

It's been 4 weeks now, and nothing.

Is there any one out there that is interested in this project?

My email is tomblair@evermoreimages.com

MT4 Strategy Tester Problem

When I select copy all from the optimization results window and paste it to excel, all the results are on one line?  They are separate cells, but all on one line.  Since the end of file marker is not reach, I get an excel error message that the file cannot load completely.  I've looked for any settings related to the results output but find none.   Anyone??