Version 2.4 2021.11.22
Algorithm correction
Version 2.3 2016.12.28
1. Added algorithm for opening additional positions.
2. Added spread filtering - SpreadLimit (0 - disabled).
Version 2.0 2014.08.27
Added options:
PartCloseLevels - the number of the closing levels of profit.
DigitsInLot - the number of digits in the lot after the decimal point.
GMT offset - the offset of the trade server relative to GMT.

GMT Offset default set at +2, Eastern-European standard (winter) time (EET), which are trading servers Alpari, Forex4you, InstaForex in Russia. For time zones that are located to the West of GMT offset is specified with a minus sign, for example, USA/New York Eastern time (EDT) up gmtoffset = -5.

If you do not know at what time does your trading server, simply run the optimizer parameter GMT Offset, from -12 to +12, and select the best value on the profit factor.