Errors, bugs, questions - page 3073

 
Artyom Trishkin Artyom Trishkin 4.1 (134) 37 продуктов, 17227 комментариев:

Interesting. Just what it's for is not clear. But very interesting :)

Yeah, I guess the cockroaches got in...

 
Alexey Viktorov Alexey Viktorov 4.2 (43) 13 продуктов, 2 сигнала:

Yeah, the cockroaches must have crept in...

Kaspersky's tap to the rescue

 
Alexey Viktorov:
Do you have to monitor the loss of focus in another EA?

The councillor keeps an eye on his chart. The rest of us don't care.

 
fxsaber:

The councillor keeps an eye on his chart. The others don't care.

Then I don't understand what the problem is... Do you have to monitor it in OnChartEvent? Well, put this check in OnTick and that's it...

 
Alexey Viktorov:

Then I don't understand what the problem is... Do you have to keep track of it in the OnChartEvent? Well, put this check in OnTick and that's it...

OnTick is a very long wait. The timer is busy. It makes sense in OnChartEvent.

 
fxsaber:

OnTick is waiting a very long time. The timer is busy. It makes sense in OnChartEvent.

Send a custom message from the timer to OnChartEvent() :D

 
Artyom Trishkin:

Send a custom message from the timer to OnChartEvent() :D

Then call OnChartEvent directly from the timer.

 

Not crucial, but just in case:

The (int)NULL expression is accepted by the compiler without any issues, while int(NULL) causes an error: 'NULL' - expression of the 'void' type is illegal.

 

After updating and restarting the MT5, it hangs for five seconds without responding to anything (I couldn't even see the version) and then unloads. Tried several times - same result. Reinstalled it and the behaviour is exactly the same.

Updated: all works after writing this post. Build 3029.

 
build 3020
The problem is that the trend line disappears (becomes invisible)

Example playback: EURUSD M5 chart
・ Create a trendline (Today: 2021.08.27)
2021/07/18 00:00:00
2021.09.12 00:00:00
Cost: 1.17610

1. Increase Candlestick (+ key)
Line disappears at maximum magnification
2. Grasp the right side of the graph frame and narrow the display period.
At some point the line disappears

Video playback



build 3020

The problem that the trend line disappears (becomes invisible)


Reproduction example: EURUSD M5 chart

・ Create a trend line (Today: 2021/08/27)

2021/07/18 00:00:00

2021/09/12 00:00:00

Price: 1.17610


1. Enlarge the candlestick (+ key)

The line disappears when maximized

2. Grasp the right side of the chart frame and narrow the display period

At some point, the line disappears



build 3020

トレンドラインが消える(見えなくなる)問題


再現例:EURUSD M5チャート

・トレンドラインを作成する(本日:2021/08/27)

2021/07/18 00:00:00

2021/09/12 00:00:00

価格:1.17610


1. ローソク足を大きくする(+キー)

最大にしたときに、ラインが消える

2. チャート枠の右側を掴んで表示期間を狭めてゆくと

ある時点で、ラインが消える






Reason: