Indicators: Setka (grid) - page 3

 
geritretar StringConcatenate(line_name,IntegerToString(str.hour,2,'0'),":":",IntegerToString(str.min,2,'0'),"_N",line_counter);

the error in the terminal logs disappears (although the lines are not drawn).

Which way to dig? How to reanimate a great tool?

Forum on trading, automated trading systems and testing trading strategies.

Errors, bugs, questions

Vladimir Karputov, 2021.09.04 08:49 pm

Windows

Edition Windows 11 Home
Version 21 H2
Installed on    ‎29.‎07.‎2021
OS build        22000.176
Experience      Windows Feature Experience Pack 1000.22000.176.0

Terminal

MetaTrader 5 x64 build 3033 started for MetaQuotes Software Corp.
Windows 11 build 22000, Intel Core i7-9750 H  @ 2.60 GHz, 25 / 31 Gb memory, 796 / 947 Gb disk, IE 11, UAC, GMT+2
C:\Users\barab\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075


Tester:

Terminal:


 

As a minimum you should specify such data:

Forum on trading, automated trading systems and testing trading strategies

Very Glitchy MetaTrader

Vladimir Karputov, 2021.03.16 04:20 AM

If you have a question, first of all you should show the first three lines from the 'Journal' tab


(select these lines, copy to the clipboard and paste into the message using the button Code). It should look like this:

2021.03.16 05:13:07.133 Terminal        MetaTrader 5 x64 build 3003 started for MetaQuotes Software Corp.
2021.03.16 05:13:07.134 Terminal        Windows 10 build 19042, Intel Core i7-9750 H  @ 2.60 GHz, 26 / 31 Gb memory, 842 / 947 Gb disk, IE 11, UAC, GMT+2
2021.03.16 05:13:07.134 Terminal        C:\Users\barab\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075

 
Vladimir Karputov #:

At a minimum, you must provide such data:


Yes, of course:

2021.09.04 17:05:18.376 Terminal MetaTrader 5 x64 build 3033 started for MetaQuotes Software Corp.
2021.09.04 17:05:18.378 Terminal Windows 10 build 19044, AMD Athlon 64 X2 Dual Core 4800+, 0 / 1 Gb memory, 2 / 29 Gb disk, IE 11, UAC, GMT+10
2021.09.04 17:05:18.378 Terminal C:\Users\Geritretar\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075

 
geritretar #:

Yes, of course:

I switched timeframes too - I don't have this error. I use the indicator version

#property version   "3.08"
 
Vladimir Karputov #:

I switched timeframes too - I don't have this error. I use the indicator version

Yes, my version is the same, downloaded from the MQ website

But when switching timeframes, the following happens:


2021.09.04 17:18:22.649 setka (GBPUSD,M1) Other timeframes are not ready...
2021.09.04 17:18:30.860 setka (GBPUSD,M5) Сбой или первый запуск Time=0.3 sec for 50000 bars  ObjectsTotal=1689 MaxBars=0
2021.09.04 17:18:34.109 setka (GBPUSD,M5) 1 leaked strings left
2021.09.04 17:18:34.488 setka (GBPUSD,M15) Сбой или первый запуск Time=0.3 sec for 50000 bars  ObjectsTotal=1689 MaxBars=0
2021.09.04 17:18:36.777 setka (GBPUSD,M15) 1 leaked strings left
2021.09.04 17:18:37.148 setka (GBPUSD,M30) Сбой или первый запуск Time=0.3 sec for 50000 bars  ObjectsTotal=1394 MaxBars=0
2021.09.04 17:18:41.441 setka (GBPUSD,M30) 1 leaked strings left
2021.09.04 17:18:41.712 setka (GBPUSD,H1) Сбой или первый запуск Time=0.2 sec for 50000 bars  ObjectsTotal=1394 MaxBars=0
2021.09.04 17:18:46.746 setka (GBPUSD,H1) 1 leaked strings left
2021.09.04 17:18:47.067 setka (GBPUSD,M5) Сбой или первый запуск Time=0.3 sec for 50000 bars  ObjectsTotal=1689 MaxBars=0


And the main thing: compiled in versions up to 3021 build (inclusive) the indicator works in any version of the terminal without any problems.

 
geritretar #:

Yes, my version is similar, downloaded from the MQ website

But when switching timeframes the following happens:



And the main thing: compiled in versions up to 3021 build (inclusive), the inducer works in any version of the terminal without any problems.

Put this line into a separate script - what will you get? (Of course, you will have to declare several variables).
 
geritretar #:

Yes, of course:

2021.09.04 17:05:18.376 Terminal MetaTrader 5 x64 build 3033 started for MetaQuotes Software Corp.
2021.09.04 17:05:18.378 Terminal Windows 10 build 19044, AMD Athlon 64 X2 Dual Core 4800+, 0 / 1 Gb memory, 2 / 29 Gb disk, IE 11, UAC, GMT+10
2021.09.04 17:05:18.378 Terminal C:\Users\Geritretar\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075

Is it desktop? Full or shared hosting?

 
geritretar StringConcatenate(line_name,IntegerToString(str.hour,2,'0'),":":",IntegerToString(str.min,2,'0'),"_N",line_counter);

the error in the terminal logs disappears (although the lines are not drawn).

Which way to dig? How to reanimate a great tool?

Adjust colours

 
Vladimir Karputov #:

Is it a desktop PC? Full or shared hosting?

PC - real.

I noticed that the line: 1 leaked strings left is written in logs when the indicator is deinitialised from the chart (when changing the timeframe) or deleted from the chart.

2021.09.05 16:13:20.274    setka (EURJPY,H1)    Сбой или первый запуск Time=0.1 sec for 6278 bars  ObjectsTotal=77 MaxBars=0 start_pos=0         === наложение индикатора на график/первый запуск
2021.09.05 16:13:29.017    setka (EURJPY,H1)    1 leaked strings left                                                                        === деинициализация с прежнего таймфрема
2021.09.05 16:13:29.124    setka (EURJPY,M5)    Сбой или первый запуск Time=0.1 sec for 5000 bars  ObjectsTotal=760 MaxBars=0 start_pos=0        === запуск на новом таймфрейме
2021.09.05 16:13:41.771    setka (EURJPY,M5)    1 leaked strings left                                                                        === деинициализация с прежнего таймфрема
2021.09.05 16:13:41.873    setka (EURJPY,M1)    Сбой или первый запуск Time=0.1 sec for 5000 bars  ObjectsTotal=760 MaxBars=0 start_pos=0        === запуск на новом таймфрейме
2021.09.05 16:13:54.008    setka (EURJPY,M1)    1 leaked strings left                                                                        === удаление индикатора с графика

Alexei Tarabanov #:

Adjust the colours

Can you elaborate on this? Please.