Download MetaTrader 5
To add comments, please log in or register
Traders have already contributed more than 300 articles. Write your own one!
Pavel Soukup
559
Pavel Soukup 2014.02.20 11:01 

Hi,

does exist way how get reason call deinit() function for this two events:

1. - for close chart fce. UninitializeReason() return REASON_CHARTCLOSE (4)

but the same value return for

2. - for close platform MT4

I need / I cann´t distinguish this events from each other :-( ?

Alain Verleyen
Moderator
28648
Alain Verleyen 2014.02.20 18:41  
endy5:

Hi,

does exist way how get reason call deinit() function for this two events:

1. - for close chart fce. UninitializeReason() return REASON_CHARTCLOSE (4)

but the same value return for

2. - for close platform MT4

I need / I cann´t distinguish this events from each other :-( ?

Did you read the documentation ?
Pavel Soukup
559
Pavel Soukup 2014.02.21 08:07  

Yes, I tell about old build <574, there are only 0-6, new build have still

REASON_CLOSE

9

Terminal has been closed

Thank you.

whroeder1
13640
whroeder1 2014.02.21 14:21  

endy5:

I need / I cann´t distinguish this events from each other :-( ?

Yes, I tell about old build <574, there are only 0-6, new build have still

  1. How do you expect to distinguish when there isn't any value?
  2. How do you expect to compile any change when only 600+ is supported?
/
To add comments, please log in or register