coiler / Publications
Forum
Counting optimization passes during optimization process
Hi all, how can i count optimization passes to write them into a csv? int deinit() { if ( IsOptimization ()){ // Counting passes } } Wich approach use? Thank you
Chart and backtest a synthetic
Hi all, could you give me some reference or url to learn about chart a synthetic product, i mean, for example chart the substraction of two pairs or indexes. Is it posible two create synthetic products and backtest them with mt4?. Regards
Extend Strategy tester results in a csv file
Hi all, is it posible to write the results of an optimization in a csv file?, and add some statistical informatio ( Avg. trade, Avg. lossing trade..., MAE/MFE), Is there any sample code out there?. Regards, Vince
Graphical objects articles
Hi All, please, i can't find the articles where multitimeframe graphical objects are explained, with code examples, with little squares changing color with signals. Could you give the url of this articles published in mql4.com. Regards
Export optimization results to csv from code
Hi all, is it posible to export optimization results to a csv file when optimization finished automatically from code?. The same way like dumping trades from a backtest into csv
Backtest n days before month end or after month begins
Hi all, could you help me with this approach, i need to code a signal that opens a trade n days before the end of the month or n first days of new month . Could you help my with pseudocode please?. Best
Drawing Stop Loss
Hi All, i am trying to draw a dot in the Stop Loss Level , just to monitor where it is. I am calling this function i created to draw a yellow dot: void DrawDotSL( string objName, color col){ for ( int i = 0 ; i < OrdersTotal (); i++) { OrderSelect (i, SELECT_BY_POS, MODE_TRADES); if
Dumping to a csv file problem
Hi all, i am playing dumping info to a csv file and i am wondering several things: //--- dumping file handler int handle_file= FileOpen ( "values.csv" , FILE_WRITE | FILE_CSV , "," ); int init() { // Writing file headers if (handle_file> 0 ) { FileWrite (handle_file
Handling disconnections
int start() { // +---------------------------------------------------------------------------------+ // | LONG LOGIC | // +---------------------------------------------------------------------------------+ bool
Change symbol names
Hi all, Is there no way to change symbol names in mt4?. If i want to import historical data diferent to forex pairs i can't find the way to change or create new symbols names, i'm trying to use mt4 to backtest other products, for instance, importing futures data. Is there a way to add or change