Forum

How to change the color of the trend line description?

Each object has a description that can be added text to that, how to change the color of the object description by coding

Is this time available in the chart?

For example, in broker X, the Dow Jones chart starts at 2 am, But in broker Y the Dow Jones chart starts at 1am, So we don't have 1am in Dow Jones chart's broker X. How do I check that 1am is on the chart? Edit1: for example: if ( D'2021.11.05 01:00:00' ) { Comment ( "1am

How to get the broker time zone in MQL4?

Hi, I saw the dateandtime documents but all the functions are for the computer time and the current time of the broker, the computer time may be wrong so you can not use the computer time. How to find out if our broker for example is 2+ or 3+ time zone? Or what is the time interval between GMT-0

How to get the information of previous candlesticks in the buffer?

Hi, We have a example code in IndicatorBuffers page that use rates_total and prev_calculated, My problem is that in this code it calls candle zero information But when we try to get the information of previous candlesticks, it gives an error: array out of range Full edited code

how to get Ticks for each candle?

We can get history of high, low, open, close and ... and use it in buffer in OnCalculate function. for example close[3] Question: Can we get all Ticks? for example something like this : Tick[3] But each candle has a lot of ticks, and I know this example is wrong, so something like this is right