dosskaran
dosskaran
Friends

Add friends via their profile or user search and you will be able to see if they are online

dosskaran
Added topic time[0] is giving me a date that is 3 months ago
Hello, I am a newbie MQL5 coder - but not new to coding or trading. I understand to access the open time of the most recent bar inside a custom indicator , in OnCalculate, I need to access time[0]. However this is giving me a time in May (13), while
dosskaran
dosskaran
this is from the data window
dosskaran
dosskaran
Hello, I am new to MetaTrader and I am trying to figure out MQL5. I am trying to create a custom indicator and need to find the opening time of the current bar. Today is August 22, 2025 - but time[0] is giving me May 13, 2025. The Data Window on the chart correctly August 22, 2025. What am I doing wrong ?
dosskaran
Registered at MQL5.community