All indicators have hard coded parameters, including the timeframe: "H1". Therefore, it is recommended to run the Expert Advisor on the H1 timeframe and on the EURUSD symbol. You can also set the time interval for the Expert Advisor operation using the From hour and To hour parameters.
The Expert Advisor works in a channel formed by indicators with a period of 220: one Moving Average and three Envelopes of different heights. It also uses two Moving Averages with a very short period of 2, one of which is based on Close prices and the other one is based on Open prices.
Separate settings of stop loss, take profit and trailing for BUY and SELL positions.
Trading without a stop loss can lead to a large drawdown, for example as follows:
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19971
A trading system based on the account balance and the result of the last trade.TrailingStopAndTake
Simple trailing of stop loss and take profit orders of open positions.
This version differs from the original Instantaneous Trend Line in one important part: instead of using fractional alpha parameter for calculation, this version uses period which makes it the same category as averages are and the usage becomes a bit more intuitive than the original version.Instantaneous Trend Line bands (generalized)
This version extends the Instantaneous Trend Line indicator with a sort of bands to make it easier to spot trend change and to filter out some false signals that can be produced if only the slope of the ITL indicator is takes for a signal. And it also differs from the original in one important part: instead of using fractional alpha parameter for calculation, this version uses period which makes it the same category as averages are and the usage becomes a bit more intuitive than the original version.