Forum

How to replace CR and/or LF in a string

Hi Folks, I have a string which I am saving to a file. Problem is, that the string has 4 CR in it, according to notepad++, which I want to replace and take out the line breaks. CR = Carriage Return ( \r , 0x0D in hexadecimal, 13 in decimal) — moves the cursor to the beginning of the line without

Possible to skip the current day in backtesting ?

Hi Folks, lets say my EA is only trading from 1am to 2am. Is there a way to jump to the next day ? (The rest of the day does not need to be processed.) Regards Thomas