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

Automated Trading Language Documentation

Screenshot
USA500, D1
Real
Subscribe to signal
Stachanowiec 4
85.20%, 18 892.53 PLN
MARVI PowerMARVI Power Try product
MARVI Power
Author: achidayat
s-LastPinkEventDate Script
s-LastPinkEventDate
Author: FinGeR
Processing of trade events in Expert Advisor using the OnTrade() function Processing of trade events in Expert Advisor using the...

int _Period

The _Period variable contains the value of the timeframe of the current chart.

Also you may use the Period() function.

See also

PeriodSeconds, Chart timeframes, Date and Time, Visibility of objects


Updated: 2010.01.11