I'm backtesting some EAs and while things used to be nice and fast, as of lately things have slowed down to a crawl. When I'm backtesting in visual mode, I initially see bars being placed very rapidly but then after about 30 seconds or so, it
I used to have a progress indicator (right above the animated green progress bar) which said something like: 1) "3065 / 10277 (11237623)" on the left side 2) 4:35:33 / 8:43:22 on the right side About a day or two ago, this has
I have an issue with an EA which seems to hang after a few passes during backtesting with optimization. Trying to figure out what's going on, I am using the following code: void subFileWriteFlush ( string sFilename, string str) {
I'm backtesting an EA I have written and I have the following code for handling stop-loss calculation & setting: bool subTrailingStop ( double dTrailingStop) export { bool
I'm trying to group some common functions into a library of my own and for some silly reason can't get things to work. In my rlib.h file (located under "...\MQL4\Include" I do the following): #property copyright "xxx" #property
I'm having an EA which I'm running on a chart/symbol on 2 different timeframes (say EURUSD H4 and H1). So I'm having 2 chart windows (same symbol, different timeframes) open, each of which is assigned a running instance of the EA. When the EA opens a
I'm trying to add a standard moving average indicator ( iMA() ) to the price chart of an EA. I've googled quite a bit but all I've found explained is how to add a custom MA to a price chart. Does a simple 1-line command exist which allows me to
Either I'm going blind or something mysterious is going on. Can someone see what I'm doing wrong here? int subMACrossDirection (double fastMaValue, double slowMaValue, int &prevDirection, int &currDirection) { fastMaValue
Hi, I'm having trouble with an EA I'm writing in the sense that my orders are being closed very quickly (ie: before SL or TP is reached). I've examined the orders using OrderPrint() and I've noticed something odd. The manual says that