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

Automated Trading Language Documentation

Subscribe to signal
Lapp Capital Group High Risk
100.12%, 1 000.62 USD
Alert LinesAlert Lines Try product
Alert Lines
Author: ForexChen
Three Pole Butterworth Filter Indicator
Three Pole Butterworth Filter
Author: GODZILLA
OpenCL: The Bridge to Parallel Worlds OpenCL: The Bridge to Parallel Worlds Screenshot
XAUUSD, D1
Demo

State (Get Method)

Gets the value of "State" property.

bool  State() const

Returned value

Value of "State" property of the object, assigned to the class instance. If there is no object assigned, it returns false.

State (Set Method)

Sets new value for "State" property.

bool  State(
   bool  state      // new state value
   )

Parameters

X

[in]  New value for "State" property.

Returned value

true if successful, false if property hasn't changed.


Updated: 2010.02.22