Forum

Issue with TimeDayOfWeek in Loop to Identify Sunday Candles

Hi everyone, I’m working on an MQL5 indicator where I need to check if any of the last 8 daily candles falls on a Sunday. I’m using the TimeDayOfWeek function to determine the day of the week, but I’m encountering the following errors: 'TimeDayOfWeek' - undeclared identifier time - some operator

Indicator Not Displaying Lines in Separate Window in MQL5

Hi everyone, I'm developing a currency strength indicator in MQL5 that calculates the relative strength of each currency and plots lines for each one in a separate window below the main chart (similar to RSI). However, I’m having trouble getting the lines to display in the indicator’s window, even