Forum

EA loading & removing the indicator all over again??

Hi! I'm trying to create an EA using this indicator: http://www.earnforex.com/mt4_forex_indicators/Pattern_Recognition_Master_v3.mq4 Anyway, the EA seems to be reeeeally slow, and I noticed that it is loading & removing the indicator all over again every new candle. In the journal: ... 23:59:56

Drawing an indicator about previous trades?

Hi! I have a problem that I just can't find the solution for; I have an EA which has a few different methods for taking the trades. Now what I would like to do is to draw some sort of a line indicator of how these methods are doing against each other. First I tried to find out if it is possible to

Stop trading when losing, but how to come back to market?

Hi all! I would like to change my EA so that after X number of losing trades it would stop trading, and then after Y trades that *would* have been winning ones, it would continue again. It is of course easy the check if previous trades were losing ones and stop the trading, but how could I implement

Alerts from all timeframes?

Hi all! I have a problem which I need some advice for. I would like to have automatic alerts (sound+popup, email, etc.) when certain rules are fulfilled in *any* given timeframes in a certain currency pair . I mean, if I for example would have an alert for ema(50) > ema(100), all timeframes from M5

Data import problems on MT4??

Hi! I did data import for my Alpari account exactly as it is said on these instructions: http://www.earnforex.com/blog/2008/0...storical-data/ Anyway, when I now run tester for example for EURUSD M15, I get a modelling quality of only 29%!? What's the problem, are there some errors with that

Updating EA that is running?

Do I have to restart the whole MetaTrader if I want to update my EA that is currently running on an account? Or, is it enough if I just copy the new modified EA the the experts- folder, and compile it

EA & indicator with multiple timeframes?

Hi all, I've read thru the MQL4 documentation and it all seem'd to be quite straightforward for developing own EA's or indicators. Anyway, I couldn't find any documentation on how to develope an EA or an indicator that would use data and from multiple time frames, for example 5M, 30M and 4H. Usually

Problem: status of all trades for the current day?

I would like to implement my EA so that I need to get only one winning trade for the day, and then just wait for tomorrow. Or, to put it otherway; EA should stop trading, if sum of all winning trades for the day is bigger than sum of all losing trades for that day, i.e. we are about one trade's "

How to get a specific candle?

Is it possible to prorammatically get a candle (or; it's HLOC values) from a specific time? For example, I would like to have HLOC values from H1 map's candle for the time 7:00 - 8:00 or M5 map's candle 14:15 - 14:20. Is it possible