Static variable

 
If i use a static variable in my EA and i remove the EA from the chart, does the value in my static variable delete ? or the value still there?
 
Yerim Rayann Gon Diarra:
If i use a static variable in my EA and i remove the EA from the chart, does the value in my static variable delete ? or the value still there?

The variable looses its value.

The associated memory is within the EA, as you unload the EA, its associated memory will be released.

If you want to keep the value, you need to use Global Terminal Vriables.