Idea by: Scriptor.
MQL5 code by: Vladimir Karputov.
The EA trades on the iMA (Moving Average, MA) indicator. At the same time, there is a parameter (defined in percents) Distance between "MA" and the price - the indicator indent from price. Before sending a trade order, it checks how much time has elapsed since opening the last position: If fewer than two periods (timeframes) have elapsed, then the position will not be opened.
A test sample for all symbols on H1 with the default parameters:

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20554
Brandy
Two Moving Average indicators: A slow one for opening positions, and a fast one for closing positions.
Momentum-M15
An Expert Advisor based on two indicators: iMAs (Moving Average, MA) and iMomentum (Momentum).
Generic_Index
Generic Index Indicator.
USDX
The US dollar index against a basket of basic currencies.