Forum

Hour() or Minute() print always 0

Hello gentlemens, I am facing an issue, I want to know the hour and minutes values on every candle. After placing: if (OnNewBar()) { Print (Hour()); Print (Minute()); ..... I always get 0 value, am I doing something wrong here

How to Find Objects with timestamp name in the Chart Created by an Indicator

Hello, I am pretty noob in MQL4 and I am walking a bit in the darkness when working with Objects Functions and Time for an EA. I am writing an EA that has to do something when he finds that an Arrow object with a defined Arrow code that has been created by an Indicator in the Chart. This is what I

Why I get Empty Value Printed of an indicator buffer after shift value of iCustom?

Hello, I am getting a strange issue with a custum indicator I have to work with. I want to print the value of one buffer of the indicator I am using for the EA I am coding, but as shown in attached image, I get empty value number after 2 candles which is right the value I use in iCustom function for