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 Close the new (build 2170) optimization chart
The 2170 build brings this new optimization chart. Look's like there's no way to disable it (attach it back to the strategy tester window) Also looks like that it's not a chart per se, because a code like the one bellow do not list it long chart_id=
Henrique Vilela
Added topic Library ex5 as resource
#resource "\\Libraries\\Example.ex5" // unknown resource type #import "::Libraries\\Example.ex5" void Example(); #import Any other way to embed a library ex5 into an EA ex5? (I know I should include the library mq5 insted, but I don't have it)
Henrique Vilela
Added topic FrameAdd + Genetic
FrameAdd is not working for genetic optimizations in the last build (2085). To reproduce you can optimize the unique variable available here: //+------------------------------------------------------------------+ #property tester_no_cache input
Henrique Vilela
Added topic BUG REPORT: String size limit for inputs in optimizations
string A= "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" ; // The string above has 200
Henrique Vilela
Added topic Asynchronous WebRequest with no DLL
Hi, I strongly believe that's not possible, but let me ask it anyway: There's any way to make an asynchronous WebRequest with no DLLs use at all? I need to grab some large data from a website but can't afford losing ticks in the
Henrique Vilela
Added topic Access Violation
What kind of code could cause this? (backtest) I tried to run it in the debug mode (ctrl+F5) to nail down the exactly line that generates this, but when it happens the debbuger also stops
Henrique Vilela
Added topic Symbol Select -> SymbolGetDouble
I'm trying to select a symbol and get its last price string symbol= "ANY_SYMBOL_HERE" ; double last; bool ok= SymbolSelect (symbol, true ); // OK is True bool ok= SymbolInfoDouble (symbol, SYMBOL_ASK ,last); //  // OK is True // last is
Henrique Vilela
Added topic Positions History
In the Tool Box History we have four options to how to present it: Orders, deals, Ordens + deals and positions. We have HistoryOrdersTotal + HistoryOrderGetTicket to iterate over the orders. We have HistoryDealsTotal + HistoryDealGetTicket
Henrique Vilela
Added topic All deals from an order
To get all deals from an order we can go though the whole History selecting the ones that has an  DEAL_ORDER equals to our order ID. Any more efficient way to do that? We have a HistorySelectByPosition , but I miss a HistorySelectByOrder or
Henrique Vilela
Added topic DRAW_FILLING + Background Bitmap
Hi, If you place a DRAW_FILLING indicator over a backgorund bitmap the colors get messed. Change the backgorund color to get it screwed in a different fashion. Anyone knows any kind of workarround? PS: I should open a ticket? Of course. It would
Henrique Vilela
Henrique Vilela
Tarefas deveriam ser rebalanceadas / redistribuidas assim que um agente termina as suas tarefas. :/
Joao Luiz Sa Marchioro
Joao Luiz Sa Marchioro 2018.01.05
Normalmente sempre redistribui, mas de vez em quando acontece isso no meu servidor também. Fica um sim um não nos núcleos. Sou obrigado a cancelar e fazer recomeçar de onde parou para entrar todos os núcleos novamente.
Henrique Vilela
Added topic Store reference / pointer of an array
I can receive an array as reference, but can I store it? double *a[]; // '*' - pointer cannot be used double &b[]; // '&' - reference cannot used double c[]; void X( double &d[])   {    a=d;    b=d;
Henrique Vilela
Added topic Indicator
I'm returning INIT_FAILED in a indicator OnInit function , but it's created anyway. If a EA tries to load it it get a valid handle and can't identify that's not working properly. I also tried to force an error, but it get loaded anyway. // Option 1
Henrique Vilela
Added topic That window that opens after the backtest completes
   // I would like to access that chart that opens AFTER the backtest is complete.    // Not the one created for the visual mode, this one: https://youtu.be/VqyxCRXdCls    // That one that shows all the orders / deals
Henrique Vilela
Added topic Chart after the backtest
After the backtest one chart is open with the arrows and lines representing the orders / deals. Is it possible to access / manipulate it? I would like to present some custom statistics there
Henrique Vilela
Added topic Strategy Tester End Date
There's any way (workarounds and crazy ideas are wellcome) to get the strategy tester end date in the optimization start method (OnInitStart)
Henrique Vilela
Added topic ReportTester.htm
Metatrader documentation list this file as Modifiable . But I modify it and generate a html report, looks the same. Also, every time the platform opens those files are rewritten. So, is it modifiable or not? How to create better looking reports
Henrique Vilela
Added topic Disable auto update
Is it somehow disable the auto update or at least disable for beta versions? I guess that my broker's Metatrader (XPMT5-PROD) is misconfigured and it forces me to download beta versions of the Metatrader. Actually I'm using the 1583 (very bugged)
Henrique Vilela
Added topic Build 1583 and the referenced array bug
Can't pass an array of scturcts as reference. This bug was introduced in the build 1583: int OnInit ()   {    MqlParam params[ 4 ];    Print ( "A " , ArraySize (params));    Test(params);    return (
Henrique Vilela
Added topic Signals with Magic Number
Just a suggestion (I'm not sure if the forum is the best place for this). When a signal is created to ask for a (optional) magic number. Only the orders with that magic number would be used by this signal. T‌his way it would be possible to create
123