hello, I have a problem in receiving data when beacktesting in MT4. I was trying to run the simple EA: void OnTick () { double low[]; Print ( CopyLow ( _Symbol , PERIOD_M1 , 3000 , 30 ,low)); } When I
Hello, Im trying to automate a function that close position, if tomorrow is not a trading day in as specific symbol. I managed to check if tomorrow is saturday/sunday but I don't know how to check if tomorrow is a holiday for example
Hello, I developed an EA and tested it on historical data using the Strategy Tester . When I checked it with "every tick", it made a big profit, with low draw down. But when I checked it with "every tick based on real ticks" it was a losing
Hello, I want to buy a computer to make optimization faster, I read open threads about it, but I want somthing updated for these days. What do you recommend? i7? i9? 8GB, 16 GB, 32 GB of RAM? what are the importent parts? I guess GPU and screen
Hello, My broker use only MT4, but I use MT5 and all my code in mql5. is it possible to make a connection between my mql5 code and my broker MT4 platform
Hello, I came across the function " get pointer ", and I didn't understand why do we need it in mql5. I know that if I make an object like that: obj* foo= new obj(); foo is pointer, so if I print/use/return foo I get the pointer to the object of
hello, I use the styler(Ctrl,) when writing code in the meta editor, and every time it adds automatically above every function , this: //+------------------------------------------------------------------+
Hello, Im trying to get my last deal profit , that means that if I lose I get a negative number and if I win I get positive number. I wrote the simple code: HistorySelectByPosition (last position ticket); Print ( HistoryDealGetDouble (
Hello, Im trying to get the time of high and low points in my day to determined which one happend first. How can I do it? I know I can get the high and low rates of let's say yesterday by this code: MqlRates rates[ 2 ]; CopyRates (_Symbol,PERIOD_D1
Hello, How can I get the last 60 sec data in mql5? I mean not bar of 1 min, I want that every second I will get new data and erese the last second data. is it posssible ? Thank You
Hello, Is it possible to import an external data file(csv or excel for example) to MT5? Let's say that I have csv file with data about some symbol and I want to Import it to work with it on the strategy tester , is it possible? Thank you, Yu
Hello, Im trying to understand trade function in the Ctrade class. I don't get what is the difference between the Buy function and the positionOpen function. I mean a Buy is to open a long position, so for what is positionOpen? Thank you
Hello, Im trying to understand ObjectCreate function for couple of days now. I just don't understand the 2 or more last parameters: priceN and timeN. What are they? At the beggining I thought that the are the coordinate of the object but then I