BreakChannelExp is an Expert Advisor for trading Moving Average channels.
General
- The EA is a versatile tool with many settings and operation modes.
- Expansion of the functionality in the new versions with full compatibility with older versions.
- Deals are performed only when a new bar is opened (at Open prices) for fast testing and optimization.
- The EA works with any amount of quote digits.
- The EA is resistant to unstable power supply and connection to a broker. As soon as connection is restored, the orders are managed by the EA again.
- The EA has been developed for USD accounts, though you can use a fixed lot for other accounts.
- The EA is accompanied by auxiliary MQL4 programs that I am going to post in the Comments section.
Input parameters
It is possible to create various trading systems based on the Moving Average channels by using different combinations of parameters.
A detailed description of the input parameters for the current version of the EA is available in the Comments section.
==== MM ====
Block of the money management parameters. You can select a fixed lot, risk in USD or a percentage of the balance.
- Lots
- RiskInDollars
- PercentRiskBalance
==== Exit ====
Block of exit parameters.
- PeriodAverageHL - period in bars on the current chart for calculating the average High-Low (AverageHL). The parameters below with the names starting with "Percent" are calculated as a percentage of AverageHL.
- PercentStopLoss
- PercentTakeProfit
- PercentBreakeven
- PercentBreakevenProfit
- PercentTrailingStop
- KexpTS - Trailing Stop smoothing factor (0..1).
- KexpTP - Take Profit approximation factor (0..1).
- PercentMinProfitExpTP - minimum profit that Take Profit approaches to.
- ModeExp - maintenance and exiting mode (0..6).
==== Entry ====
Block of entry parameters.
- MAChannelPeriod - period of the Moving Average for the signal channel.
- PercentHalfChannel - half of the signal channel width.
- ModeTrend - trend mode (0..5).
- MATrendPeriod - period of the Moving Average for the trend channel.
- PercentHalfTrend - half of the trend channel width.
- ModeReverse - entry mode.
- PosReverse
- OpenOnlyInBreakMoment
- Filter
- BlockNewOrders
- BlockNewOrdersTimer
==== Averaging ====
Block of averaging parameters. If the averaging mode is disabled, Stop Loss is used. If enabled, averaging is used instead of Stop Loss.
- ModeAveraging - averaging mode. 0 - disabled, 1,2 - enabled.
- PercentStepOrders - parameters for the step between orders.
- PercentStepOrdersInc
- PercentStepOrdersMax
- QntOrdersStepOrdersInc
- MAAveragingPeriod - parameters for the averaging channel.
- PercentHalfAveraging
- QntOrdersAveragingMA
- PercentProfitOneOrder - parameters for profit per order in the series.
- PercentProfitOneOrderDec
- PercentProfitOneOrderMin
- QntOrdersProfitOneOrderDec
- QntOrdersFastExit - parameters for quick exit.
- PercentProfitOneOrderFastExitQO
- QntBarsFastExit
- PercentProfitOneOrderFastExitQB
- KIncLot - parameters for the lot increase ratio.
- KIncLotDec
- KIncLotMin
- QntOrdersKIncLotDec
- MaxOrders - parameters for limiting by orders or drawdown.
- MaxLossBalance
- MaxLossDollars
- MaxLossBalanceBlock
==== Optional ====
Block of additional parameters.
- MagicNumber
- BlockHoursFrMo
- StartBlockHourFriday
- EndBlockHourMonday
- BlockHoursDaily
- StartBlockHour
- EndBlockHour
- PercentSlippage
- MaxSpread
- SoundOn
==== Tester ====
Block of parameters for the genetic optimization using "Custom".
- TesterRF
- TesterMinQntTrades
- TesterMaxDD
- TesterMinProfit
- TesterMinPF
- TesterMinPercentProfitTrades
- TesterMinRatioAverageProfitLoss
- TesterFilterProfitJumps
- TesterKJumpDetector
The default parameters of the EA are merely an example of using the EA.
For most parameters, a value of 0 means disabled/not used, the same applied to invalid values, for example, negative numbers.
video 1
video 2
video 3
No comments:
Post a Comment