Forum

Memory Leak???

Hello Experts, I have a strange one. I call several custom indicators at the beginning of a new candle inside of an EA. While running this in backtest I see that one of the indicators keeps getting loaded at each new candle (each time it is encountered in the code). I stop the EA (in Backtest), I

Can't get web referenced data to up date after initial reading?

I have wanted to read files from a www address. I found and worked with some code that does it. - It works - but if I change the data on the website and run the script again, it doesn't update the read on MT4. If I turn off and then turn on the MT4, and re-run the script I get a fresh read and it

Going Crazy: OrdersTotal in backtest indicator Not work?

Hello all, I am trying to write a very short indicator that I can run in back test that will show me how deep a draw down goes during a set of tests. I am looking at Martingales type of trading systems in some EA's. If the draw downs are not too deep they will close out as profitable in the MQL4

How to get the window number of a indicator in the indicator?

I am placing the same indicator on the same chart and drawing objects on each of the two indicators. I next want to identify which object(s) belows to each indicator. I can get the window number from each object by using the ObjectFind (name) function. This returns the window index. Great. But I

Can't control back test visual mode test from command line.

I hope someone can help. I am automating functional operation test of EAs after version updates from a command line and using set files. (see Help>Help topics>Tools> configurations at start up) I am running a windows 7 power shell command (not as administrator) where I set the start and end dates

Starting MT4 from command line with out user?

I am wanting to do some backtesting using data that is not from my broker and I want to start MT4 from a command line to do unattended runs. However, each time MT4 starts it asks for a log in. Normally I can cancel the login and run the backtesting as I like, but if I run MT4/backtesting from a