Forum

Advantage of partial backtesting tesst to optimize EA vs Full backtesting test?

Hi, I starting to develop some EA's and I have read some information about testing the EA and on one article that belongs to Nicolay Kositsin ( https://www.mql5.com/en/articles/1517 ) and I have some doubt: I want to define to backtest period from: - 1/1/2006 to 31/12/2010: optimization; - 1/1/2011

Unexplainable Error 130 on Modify Order · · · – – – · · ·

Hi, In my EA, when I try to change pending orders it generates Error 130 a lot of times... I know that its because the SL levels but I don't understand how before it worked for the same order and now doesn't work! I have seen https://book.mql4.com/appendix/limits , changed to code and the result is

Modify/manage multiple orders problem? Or Modify order problem?

Hi, I'm making an EA to work with fractals and each time that appears an upper/lower fractal and its > or < than EMA it should generate new orders or modify the existing ones and in open orders it should change only the SL. At beginning it puts the buy stop order , change it and after some candles

String compare problem with order type

Hi, I'm making an EA to work with fratcal and I have a problem with string comparison with type of order . On a uptrend, when an Upper Fractal (new high) appears it should send an modify order but when I call the function the string comparison doesn´t work. Let's see: When there is an order Sell

Fractal EA different than Fractal indicator

Hi, I have used iFractal function in an EA and when it detects a fractal it prints an up/down arrow on the bar. the problem is when tester finish testing it displays the fractal indicator and the and arrow doesn't match with the indicator! I think that iFractal its well configured the For cycle is

Same EA with different optimization results

Hi, I have done a simple EA to test the best EMA methods to buy/sell on Forex. Its for studying indicators... So I have 3 conditions to buy/sell based on: - Closed Price crosses EMA; - Short EMA Crosses Long EMA; - Closed Price crosses EMA if on trend; The problem is that I have made 3 If's to make

Best backtesting years period

Hi, Iam working on an EA wich works with price action setup (pinbar only) and EMAs and I have doubts on which period should I make the backtesting . There are many articles of optimization and backtesting of stategy but there is no reference to the period to use. Should we use an random period? Or a

Support & Resistance Code Setup

Hi folks, I need to work an EA to identify support and resistance levels and I'm confused how to define and find those levels. I have read so much topics that I need your opinion about what is the most accurate. I have read the several articles using: - Fractals (

Best backtesting years period

Hi, Iam working on an EA wich works with price action setup (pinbar only) and EMAs and I have doubts on which period should I make the backtesting . There are many articles of optimization and backtesting of stategy but there is no reference to the period to use. Should we use an random period? Or a

Support & Resistance Code Setup

Hi folks, I need to work an EA to identify support and resistance levels and I'm confused how to define and find those levels. I have read so much topics that I need your opinion about what is the most accurate. I have read the several articles using: - Fractals (