Idea by: Alex.
MQL5 code by: Vladimir Karputov.
The EA trades on several candlestick patterns. For positions BUY and SELL, there must be the separate settings of Take Profit, Stop Loss, and Trailing. There must not be no more than one position in the market, so the EA can run on both hedging and netting accounts.
Along with determining the patterns, there is one setting (Off "Main timeframe") that can enable/disable determining a trend by bar #1 on Main timeframe. An example of how the Off "Main timeframe" setting influences for EURUSD,H1:

Fig. 1. Parameter "Off "Main timeframe"" == true

Fig. 2. Parameter "Off "Main timeframe"" == false
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/20824
Night Flat Trade
The EA works in the quietest hours (upon closing the American session and before opening the Asian session).
ASCtrend_NRTR_HTF
Indicator ASCtrend_NRTR with the timeframe selection option available in input parameters, alerting and sending e-mails and push-messages when the indicator changes its color.
MACD and SAR
A trading system based on indicators MACD and SAR. The signal receiving formula is completely optimizable.
ATR_Normalize_Histogram
A typical oscillator using Average True Range in form of a multicolor histogram.