Forum

help for creating object

Hello friends I want to implement the FiboFan object on the chart with the help of standard MQL functions. But it seems I forgot something because nothing is displayed. Is it possible to guide me? #property copyright "Copyright 2023, MetaQuotes Ltd." #property link " https://www.mql5.com "

array out of range error - Creating an object using the indicator

Hi I created an indicator that, when executed, draws a Fibonacci tool on the chart. With the help of a button, the display of Fibonacci lines is turned on and off. The problem is that I get the following error at the beginning of the program execution. But by changing the time frame, the indicator

get date time from past

how i can access to specific houre of specific day ? for example current day is 2023.07.19 11:00 and i want to save date and time of 20 days ago