UninitializeReason(): How get reason call deinit() for close chart vs. close platform MT4?

 

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 :-( ?

 
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 ?
 

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.

 

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?
Reason: