hi, I installed mql5 at my second hard drive D:\MetaTrader5\ when I open the application the code and examples are at C:\Users\eric\AppData\Roaming\MetaQuotes\Terminal\03CEB463426HHHi55664019F2D25A05B7513B\MQL5\Experts I
Hello Guys, I am getting error 138 (requote) only in backtesting it looks to be fine in demo acount. any clue? here is my code: #include <stdlib.mqh> int ID = 1111 ; bool ShortIsOpen; bool LongIsOpen; int ticket; extern double Lots = 0.1 ; int
Hi Guys, I want to save the data {time,Open,Low,Close}, each item individuialy in a binary file, I have this code: #include <stdlib.mqh> int handle_low, handle_high, handle_close, handle_open, handle_time; bool once; int init(){
Does any one have a code in visual C++ (2008) on how to appropiate compile a dll function and then how to import it in mt4. I have no problem making dll functions that I test in console applications; but I cannot import them into mt4? thnks in
Hello Guys, I am having problems using a dll function in mt4. I have this function in C that I tested in another C console application program. I exported like #include<windows.h> #define N 400 extern "C" __declspec(dllexport) double
Hi Guys, I coded an EA which makes trades with two pairs from the same code. In MT4 strategy tester I can only add one symbol. I need to have two set of historical data and my EA makes trades based in stuff from two symbols data rather than one
Hello Guys, I am trying to save the tick rates like (time stamp in secs, rate). In matlab, I have not problem in reading the doubles bytes(rate) but the longs bytes (time in sec) I get values that don't make sense. bests this is the script attached
Hello Guys, I collected this data from yesterday London and part of New York trading section, expecting to be a big big file, using this: int init() { handle= FileOpen ( "dataLondonNY.bin" , FILE_BIN | FILE_WRITE
Hello Guys, I have two demos accounts with oanda and fxcm. I niether case the order gets submitted, and GetLastError() returns 130, with means worn stop loss. ERR_INVALID_STOPS 130 Invalid stops. If I change to ticket=OrderSend(Symbol(),OP_
I have this simple script that print the tick ask rate in the expert window in start(){ double r=MarketInfo("EURUSD", MODE_ASk); for(;;){ Print("EURUSD=",r); r=MarketInfo("EURUSD", MODE_ASK); } return(0); } 1. How to