Duarte Silva
Duarte Silva
Friends 2
Duarte Silva
Added topic 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 
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic 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
Duarte Silva
Added topic Load template problem
Hi, I making an EA and on that EA I need 3 EMAs displayed on the chart, with different colors.  So I have  tried to use ICustom ( my topic ) and after some suggestions I'm trying to load the template that I have made.  I have template
Duarte Silva
Added topic iCustom parameters problems to change indicator style and label
Hi, I've been studying iCustom to implement a customized EMA indicator on a EA and I have a problem on changing the indicator style and label. Each time I call iCustom on the EA I would like to set the parameters to the EMA indicator: period, label
Duarte Silva
Added topic EA testing problems and questions
Hi, I am starting to develop an EA based on price action strategy and I have some doubts that I would like to ask for your help. At the moment, on the EA I want to search for pinbars with 3 EMAs (5,45,200) on the correct order on TF=Daily. When: -
Duarte Silva
Registered at MQL5.community
Duarte Silva
Added topic New Bar Open Event doesn´t detect all bars on history data (Time gaps)
Hi, I´m newbie at MQL4 and I am trying to detect an new bar open event, using daily timeframe, and I have tried my code and other several snipets that I have found on the forum like: https://www.mql5.com/en/code/10370