Forum

Attempting to verify that a new bar has formed

Hello all, I'm testing an EA that scans multiple currency pairs at the beginning of the bar and calculates the relative currency strength of each and notifies me of the strongest or most active pair at any given moment. I've come to realize that sometimes a pair may be slow at the moment and when I

Maximum number of indicators in an EA

Hi, For various reasons instead of writing many stand alone EA's and running each in its own terminal, I have instead opted to run those same strategies in a single EA that cycles through them as a series of function calls. I may have got carried away. I now have 36 such functions, each of which

MT4 Build 1045 Crash

Hi, Ever since the update to build 1045 I get frequent crashes in MT4. I've submitted a ticket to the service desk. I'm running windows server 2008 R2 64 bit and accessing via remote desktop. The first thing that happens is a popup window that states "A required resource was" and the GUI goes

questions about &&

Hi, Had an EA trade in clear violation of its rules and I can't see anything obvious in the code. I use several MA's to identify trend an only trade in the direction of the trends. I did notice the following in my if statement if (xmma < xmpma &&flma < flpma) //compare the MA of bar 1 with the

Likely coding error scanning OrderHistory

Hi, Rather than try to find one home run trading strategy, I've opted to find a collection of high probability but low gain strategies, the collection of which would be attractive. I noticed different back test results when testing them singly and together several months ago, and parsed my code down

perspective on strategy tester

Hi all, I've observed different results on the strategy tested and was simply seeking a little perspective. I originally worked on a couple of EA's that used the same skeleton code but each operated strictly in a specific timeframe. I've attempted to incorporate them together to run simultaneously

A couple of installation questions

I have a server at a remote location and my laptop. I can install a new copy of MT4 on the server fine, but on my laptop today I am asked for a proxy. In both cases I am installing from the same brokerage. My regular web access is fine on the laptop. I don't know what to look at next--maybe it will

Just confirming how the broker side of MT4 handles a trade

Hi, I certainly appreciate the willingness of everyone here to help--it has benefitted me greatly. And I am sorry some are tired (qjol et al.) Some day I do hope to donate to say thanks. In testing my demo account I notice that sometimes an order can be filled in stages. Say I send in an order for

What will happen if I send a five digit price to a four digit broker?

Just that question. Am adding 4/5 digit broker detection to an ea I wrote on a 5 digit broker. On the 5 digit broker I might send an order with a take profit or a stop loss of say 125 points which would be translated to 12.5 points for the 4 digit broker. So adding that to the four digit price would

Going to run a couple of Instances of MT4 on a server, any drawbacks with Windows Server 2003?

Or should I go with 2008? Or for all intents and purposes is there no difference? I can see running up to 6 instances at the same time but as my budget is small I am looking at a used entry level setup. I need more consistent uptime than my laptop allows for a host of reasons