lukinho158 / Publications
Forum
Downloading history data via EA
Hello, I would like to ask you whether it's possible to download history data to the metatrader through EA? I have some script which require history data and if they are not available it makes error. The only known way which I know how to download history data is shown in the image below. Thank
Save .csv file somewhere else than to default directory
Hello, I would like to ask you whether exists some way how to save .csv file to somewhere else than to default directory ../files? When I use the function FileWrite(......), it saves only to the directory ../files. Thank you for any advice. Regards, Lukas
Running EA without mq4 file
Hello, is it possible to run script without mq4 file? I mean, for example I wanna program some EA for a customer but I don't want to the customer see my code. Is it possible some way? Thank you for any advice. Lukas
Substitution for OnTrade() event handler in MQL4
Hello, I would like to ask you whether exists some substitutions for OnTrade() event handler which perfectly works in MQL5 but not in MQL4? Thank you very much for possible responses and any advices are welcome. Regards Lukas
Invalid function parameter value (OrderClose)
Hello guys, I just wann ask you what is wrong with this piece of code? void CloseOrders() { int total = OrdersTotal (); int i; for (i = 0 ; i < total; i++) { if ( OrderSelect (i, SELECT_BY_POS, MODE_TRADES)) { if