The MT5 EA uses a filter that performs certain actions once per bar (current timeframe). It works on all timeframes except on the Daily timeframe.
If I copy and paste the EA and build it in MT4, it works fine on all timeframes including Daily.
Latest posts made by Eric 0
-
MT5 EA not working on Daily timeframeposted in Bug Reports
-
RE: Delay funtcion neededposted in Questions & Answers
I just tried the "Skip Ticks" block. It messes up a few things because the EA analyses the previous 3 candlesticks before executing a trade. But thanks for the tip, I'm sure I will find a way to figure it out.
-
Delay funtcion neededposted in Questions & Answers
Hi guys.
When a trade closes, there needs to be a delay before another trade can be opened. For example, on an hourly chart, I don't want the 2nd trade to open in the same candle in which the first trade closed. I need one or two hours delay before the EA can check for the conditions and open another trade.
The EA needs to open a trade when a new candle opens. So, when a trade closes in the middle of a candlestick, and the conditions are met for a new trade, the new trade will be opened in the middle of the candle, which is incorrect. So, in order to avoid this, I need to program some sort of a delay.Can anyone give me some advice, please? I tried the 'delay' function but it creates a critical error when the EA runs.
-
RE: Bollinger band EA not firing all signalsposted in Bug Reports
Thanks, Richard and Andy. Problem solved! Appreciate your help.
-
RE: Bollinger band EA not firing all signalsposted in Bug Reports
Okay, I also thought of asking him. I'm new on the forum, how can I contact him?
And I really appreciate your efforts and help. Thanks a lot. -
RE: Bollinger band EA not firing all signalsposted in Bug Reports
I understand that the price could sometimes 'miss' the upper/lower band because itself and the bands move all the time. But the fact of the matter is, that when the price is actually above the upper band or below the lower band, a trade needs to take place every time (if all other criteria are met, obviously). And that is the problem, this is not happening.
So that tells us that there is a program error in that the candle ID0 setting is not performing its function like it should be doing. Like I mentioned to you earlier, I have built other robots using candle ID0 that work 100% every time.
-
RE: Bollinger band EA not firing all signalsposted in Bug Reports

In this screenshot, you can see that the crosshair is on the current candle (which has not closed yet) and this displays the current values in the data window. So here you can see that the price is currently above the current value of the upper bollinger band. So this would have triggered a sell trade, even though the candle has not yet closed yet.
-
RE: Bollinger band EA not firing all signalsposted in Bug Reports
(Although the example I just gave you is on a moving average, the principle is the same as with bollinger bands)
-
RE: Bollinger band EA not firing all signalsposted in Bug Reports
I understand what you're saying. But with a candle that isn't closed yet, the bollinger band indicator displays values of the upper and lower bands based on the current market price which is used for the calculation. So what I'm saying is that although the candle has not closed yet, MT4 calculates the current bollinger values on the current market price which acts as the close price of the candle, even though it hasn't closed yet.
To give you an example, I built an EA that doesn't use a take profit, but it closes the trade when the price breaches the 5-period moving average of the current daily candle. When you backtest this strategy, you can actually see how the EA uses the MA value of the current candle, even though the candle is not closed yet. So, this EA effectively uses candle number zero for its calculations.