MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

2pbIdealXOSMA Indicator
2pbIdealXOSMA
Author: GODZILLA
Fundamentals of Statistics Fundamentals of Statistics Subscribe to signal
WWW MEC BIZ Beta1
391.67%, 4 804.76 USD
Screenshot
XAUUSD, H1
Demo
PIP PICKERPIP PICKER Try product
PIP PICKER
Author: chandra100

ZeroMemory

The function resets a variable passed to it by reference.

void  ZeroMemory(
   void & variable      // reset variable
   );

Parameters

variable

[in] [out]  Variable passed by reference, you want to reset (initialize by zero values).

Return Value

No return value.

Note

If the function parameter is a string, the call will be equivalent to indicating NULL as its value.
For simple types and their arrays, as well as for structures/classes consisting of such types, this is a simple reset.
For objects containing strings and dynamic arrays, ZeroMemory() is called for each element.
For any arrays not protected by the const modifier, this is the zeroing of all elements.
For arrays of complex objects, ZeroMemory() is called for each element.

ZeroMemory() can't be applied to classes with protected members or inheritance.


Updated: 2010.03.23