Henrique Vilela / Publications
Forum
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= ChartFirst (); while (chart_id >= 0 ) { Print
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)
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 double input_value= 0 ;
BUG REPORT: String size limit for inputs in optimizations
string A= "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" ; // The string above has 200 characters input int B= 0 ; int OnInit () { return (
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 meanwhile. Thanks
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
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 zero SymbolInfoDouble returns true, but the variable is zero
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 something like that
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 to iterate over the deals. But we have no
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 help? Of course not