Forum

Unwanted USDCHF H1 chart

When the MetaEditor debug button is clicked, an additional USDCHF chart is added to the Meta Trader terminal which was not on the list of charts shown in the Window menu. This unwanted chart messes up programming assumptions a bit. How can I override it? Thanks

Create object from parameters of another from a different timeframe

Hello mql4 experts, I am trying to put a rectangle on a 5 min chart based on the start and end times of a 15min chart trend line. The code used is shown below. The active chart when the indicator is inserted is the 5min. Based on my understanding that object names are unique, I try to get the time