OnChartEvent in a Virtual Machine

 

I have a problem that I just do not understand , and it is driving me crasy. I created a EA that uses OnChartEvent to contol a Dialog of Class cDialog.


When I run my EA in my computer everything works perfectly, but when I upload it to a Virtual Machine (Azure machine) it stops working. It seems that the OnChartEvent in the EA is not activated ( A place a alert in the function and it works in my computer but does not work in the Virtual Machine. I can ot find what is wrong, could it be a parameter on the virtual machine or something I need to configure in MT4

Can any body help me?

Reason: