It sounds to me that Empty4 is 'hanging', i.e. it is no longer responding to incoming tick events and timer events. Some (cheap) VPS hosts have limited CPU and memory resources (I don't know if that is the case with your VPS), and MAD-EA can be setup such that it needs a lot of these resources. Particularly, the MAD-EA parameters that are taxing for Empty4 are: CycleTimeSeconds, LookBackMinutes and the use of 'Triangular' MAs (i.e. TMAs). If you have performance problems, increase the CycleTimeSeconds (this is the 'heart-beat' at which the EA does its cycle of calculations), reduce the LookBackMinutes (as this directly reduces the number of candles the EA needs to inspect) and don't use TMAs. The TMAs are implemented in MQL, whereas all the other MAs are implemented in the platforms machine code. As you are experienced with computers you will understand that this makes a massive difference.ceeg » Wed Mar 02, 2016 2:36 pm wrote:I'm having a problem that I don't think anyone else has had - I'm re-reading the thread in case I missed anything but I haven't seen it yet. I wouldn't even swear it's an EA problem, it might be Empty4 playing silly buggers. I'd call myself experienced with computers and Empty4, and I can normally work through the settings or the logs to work out why Empty4 is doing the strange things it does but this one has me stumped.
The EA cycles through when I load it onto a chart and highlights things in the grid and maybe even considers some trades (according to the logs), one time it even took a trade, then that's it - it does absolutely nothing else. The grids don't change, it never looks for more trades, if I don't touch it for a week (it's on a vps) then there will be a week between log entries.
Other EAs on that copy of Empty4 run with no problems, and the MADdash indicator works fine and continually updates. Live trading is turned on in the EA and in Empty4.
Any suggestions ?
Cheers
G.
Hope this helps with your fault finding.