Henrique Vilela
Henrique Vilela
  • Information
9+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Desenvolvedor de Robôs Investidores at http://vilela.one/
Henrique Vilela
Added topic input variables and comments
Hi you all, There's any way to define the display text for an input variable other than a comment after the variable definition? Thanks. 
Henrique Vilela
Added topic Backtest Profiling
The Metaeditor provides this great profiling tool that helps to spot bottlenecks. Unfortunately looks like it only can be used in real time and not in backtest . I'm I right or I'm missing something
Henrique Vilela
Added topic OnTester Forward Test
Hi,  There's a way to identify if the OnTester call is for a regular or a forward test? It's called twice per test when the forward test is used, one of each time period. I just would like to identify which one it is.  Thank you in
Henrique Vilela
Added topic Mailbox and Events tab
Hi, Is it possible to read through code the data from the mailbox and calendar tabs
Henrique Vilela
Added topic Increasing a position with the new Hedging system
Hi All, By setting the "position" field in the  MqlTradeRequest structure I'm able to close an position (by sending and opposite order with the same volume), I'm able to reduce an position (by sending and opposite order with a smaller volume)
Henrique Vilela
Added topic Command Line with specific configuration
Hi, I'm trying to run the MT5 from the command line with a specific configuration based on the documentation . So, what I'm doing is something like this: C:\Program Files\MetaTrader 5 Terminal\terminal64.exe /config:C:\Users\hvilela\One\config.ini
Henrique Vilela
Added topic Position Frozen
At some situations the position is "frozen" (can't be changed) and any attempt to change it results in  TRADE_RETCODE_FROZEN . Is it possible to retrieve this state to verify is a position is currently frozen or not, without an attempt to change
Henrique Vilela
Added topic Reordering Indicators
Hi, Is it possible to add and indicator in a specific subwindow order (above all, for exemple) or somehow reorder them without remove / add it again? Thanks in advice. 
Henrique Vilela
Added topic Options Board Information by code
Hi, Is it possible to access the information available in the options board though mql5 code?   
Henrique Vilela
Added topic OBJ_RECTANGLE_LABEL in the Strategy Tester visual mode
Hi,  Looks like it's not possible to create a  OBJ_RECTANGLE_LABEL while running in the Strategy Tester visual mode. There's any workaround to bypass this or another way to create a box
Henrique Vilela
Added topic CHARTEVENT_OBJECT_DRAG
Hi, I'm trying to retrieve the new price property from a object ( horizontal line ) after it's dragged, but it returns the old value and not the new one. Am I doing something wrong? How to get new new value (price to where it was dragged to)
Henrique Vilela
Added topic EA Params list
Hi, Is it possible to get the list of EA params on the OnTesterInit function ? I would like to do something like: void OnTetsterInit () {    string all_params[];    for ( int i= 0 ; i< ArraySize (all_params); i++)   {
Henrique Vilela
Added topic Optimization
Hi, I have one EA where I can turn on/off one indicator, and it also have params for this indicator. When I mark the option to use or not and the indicators params to optimize it generates some redundancies (as expected).   OBS: "Não" means "No"
Henrique Vilela
Added topic EventSetTimer and the Backtest speed
Hi, When I use the EventSetTimer in any EA that uses an indicator the time required to do a backtest is highly increased even if the OnTimer event function is empty. If the EA uses no indicador I feel no difference and It 's specially noticed when
Henrique Vilela
Added topic Default values (or range) for optimization parameters
Hi, I'm creating a EA and one of the parameters make sense only in the 0..100 range, the default value is 50.  If I send this EA to someone the default values for start, step and stop are respectively 50, 5 and 500 and it would be much better if
Henrique Vilela
Added topic IndicatorGetInteger
Hi, I'm creating an indicator and on this creates some objects on the screen besides the buffers. I would like that the color of this objets reflects the colors selected by the user for the buffers. I see that there's no IndicatorGetInteger() to
Henrique Vilela
Added topic Feature Request
Hi, There's a place to make feature requests for MetaQuotes? Thanks. 
Henrique Vilela
Added topic Asian Broker with Equity Securities
Hi, I'm from Brazil and I'm creating an EA that access the data from the Deep of Makert window ( MarketBookGet function ). As long there's no book data available in backtest, when the local (Brazilian) market is cloesed I can't test my EA. So, I'm
Henrique Vilela
Added topic StringToEnum
Hi everybody, It's possible to convert an enum to string though EnumToString. What about the reverse operation? There's an way to convert it back (other than create and function and compare item by item)
Henrique Vilela
Added topic Wrong Take Profit execution on Strategy Tester
I need a help this this situation. How this buy (an sell's take profit) could be executed at the bid price?   
123