Offline Charts in MT5

 

Hello every one

I have 3 problems with offline Charts in MT5 that provide timeframes less than M1, e.g. 5s, 10s, ... .

my problems are:

1. When I open these offline charts candles create correctly but there is no bid/ask line in the chart even it's enable in the setting (I have the same indicator in MT4 and there isn't such problem and bid/ask line are in the offline charts).

2. the related timeframe to these offline chart always is M1 for 5s, 10s ,...(again in MT4 there isn't such problem and timeframe defines by the name of the source file, e.g. EURUSD105.hst means timeframe is 105 but in fact it is 5s). I know there is no seconds timeframe but I want to define timeframe for these offline charts in MT5 too same as MT4.

3. It's a question, offline charts in MT4 define by *.hst files, but as I know in MT5 it's something else, is it possible to define offline charts in MT5 like MT4 as *.hst files?

thanks for your attentions and your answers.

EURUSD (Euro vs US Dollar): Live Forex Charts
EURUSD (Euro vs US Dollar): Live Forex Charts
  • 2025.05.14
  • www.mql5.com
EURUSD exchange rate has changed by 0.12% for today. During the day, the instrument was traded at a low of 1.11753 and at a high of 1.12651
 
Asa Social:

Hello every one

Hi.

I have 3 problems with offline Charts in MT5 that provide timeframes less than M1, e.g. 5s, 10s, ... .

First of all in MT5 it's called Custom Symbol, and there is no Offline charts. It's different technology and technique.

my problems are:

1. When I open these offline charts candles create correctly but there is no bid/ask line in the chart even it's enable in the setting (I have the same indicator in MT4 and there isn't such problem and bid/ask line are in the offline charts).

No idea without seeing it.

2. the related timeframe to these offline chart always is M1 for 5s, 10s ,...(again in MT4 there isn't such problem and timeframe defines by the name of the source file, e.g. EURUSD105.hst means timeframe is 105 but in fact it is 5s). I know there is no seconds timeframe but I want to define timeframe for these offline charts in MT5 too same as MT4.

Not possible, M1 is the base of all in MT5 and it can't be changed.

3. It's a question, offline charts in MT4 define by *.hst files, but as I know in MT5 it's something else, is it possible to define offline charts in MT5 like MT4 as *.hst files?

No. See my previous comments.
 
Alain Verleyen #:
First of all in MT5 it's called Custom Symbol, and there is no Offline charts. It's different technology and technique.
Great :), thanks for your correcting
Alain Verleyen #:
No idea without seeing it.

https://www.mql5.com/en/code/52527#

here is the source code.

Alain Verleyen #:
Not possible, M1 is the base of all in MT5 and it can't be changed.

any Ideas how can we define e.g. M7 (not predefined timeframe) as timeframe in MT5 for a Custom Symbol?

Perfect Seconds Chart
Perfect Seconds Chart
  • www.mql5.com
Perfect Seconds chart indicator allows you to convert minute candles of live data into seconds. 1. Choose any number of seconds to close a bar with accurate time. 2. This is Live OHLC rates based data, It works even if ticks are not available. 3. No external DLL required, it works smoothly on VPS 4. Fast and optimized code 5. Supports Crypto Pairs such as BInance, Kucoin and all other exchanges where Futures live chart can be converted into seconds easily. 6. Support all type of symbols such as Gold and Forex pairs. 7. Options to delete symbol and rates.