Author of the idea — Ahmad Waddah Attar, author of thr MQL5 code — barabashkakvn.
The Expert Advisor trades using pending Buy Limit (BuyLimit) and Sell Limit (SellLimit) orders. Once the price moves very close to the pending order:
Place one more pending order.
To get the last price of the placed order we use OnTradeTransaction():
Testing on EURUSD, M15 from 2015.06.07 to 2016.12.31 — "Every tick" mode, initial deposit 10000:

Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/17339
e-TurboFx
Analysis of bars, if they contain N consecutive bars of the same type.
MA Reverse
Trading by Moving Average. Checking for sufficiency of funds.
up3x1_premium_v2M
Two iMAs on the current period and one on PERIOD_D1.
Bull vs Medved
The Expert Advisor makes trading decisions based on simple candlestick combinations. It is designed for use on the H4 period.