Forum

Problem with reading txt files in MT5 tester

Hi guys, today I experienced a very strange EA behavior when i tried to read from a txt file in the MT5 tester. The file is located in the "normal" terminal folder and should be loaded by using #property tester_file. Since it did not work with the txt file I also tried opening a csv file. Now the

CopyHigh does not update history of lower timeframe

Hey, right now i experience a really strange behavior in one of my EAs. I use the code below to calculate a range between two times. It is called in a funcion that is called in the OnTick(). I use the exact same EA on the EURUSD (5 min chart) and the USDJPY (1 min chart). When i start the EA

iCustom returns wrong value in some case!?

Hey programmers, I have a super weird problem and do not find a solution. Maybe you can help. I am working with a custom indicator and calculate it´s value in the following function: string checkTrend(){ trend0 = iCustom ( _Symbol ,Timeframe,NameTrend,PeriodsTrend,CountBarsTrend, 0 , 1 ); trend1