Idea by: Dmitriy.
MQL5 code by: Vladimir Karputov.
the EA compares the opening prices (Open) of bar#0 and bar#2:

Test results in the "Every tick" mode for all symbols on D1:

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20635
exp_Amstell
The EA uses a virtual Take Profit for closing gaining positions. Opening positions with a step. Catch the type of the last position and its price in OnTradeTransaction.
Exp_Sar_Tm_Plus
A trading system based on indicator signals Parabolic Stop and Reverse system with the possibility to set a fixed position holding time.
e_Breakeven_v4
An assistant Expert Advisor. It moves positions to a breakeven and then enables trailing.
e-News-Lucky
The Expert Advisor places pending Buy Stop and Sell Stop orders. If orders execute, the trailing stop is run for the positions.