Forum

StringtoTime() bug - function ignores time part, but date is ok

Hello, I try to read out and compare price at fixed time every day. I use few time/date/string management functions , however I got stuck at StringToTime conversion, instead returning number of seconds passed until requested hh:mm:ss it always returns seconds at 00:00. For example with the following

OrdersTotal() returns 0 after platform reboot

When I launch / reboot platform v4.00 build 1090 indicator doesn't work porperly because OrdersTotal() returns 0 even if the are orders open and pending. when I open 'Indicators List' and then close it then OrdersTotal() (and indicator) starts to work / display correct values. The indicator I am

MQL4 - MQLInfoInteger(MQL_CODEPAGE) always returns 0

Hello, I think it's too complicated for me to use properly MQLInfoInteger() - ot always return 0 for me. For example: Print("MQLInfoInteger(MQL_CODEPAGE) on Init: ", MQLInfoInteger(MQL_CODEPAGE)); MQLSetInteger(MQL_CODEPAGE, 850); Print("MQLInfoInteger(MQL_CODEPAGE) after codepage change: "