Regression Channel MT5
- Experts
- Volodymyr Hrybachov
- Versione: 1.1
- Aggiornato: 3 marzo 2022
- Attivazioni: 5
The Expert Advisor works on a linear regression channel. The Expert Advisor trades from the channel borders, stop-loss and 2 take-profit levels with partial closing of orders are used for closing. The chart displays information about profit and draws the regression channel itself. The channel values are recalculated only when a new bar is formed.
MT4 version https://www.mql5.com/ru/market/product/56667
PARAMETERS :
- PERIOD - the number of bars for calculation;
- COEFFICIENT - coefficient for calculating channel boundaries;
- DEGREE - channel construction type;
- MIN_CHANNEL_WIDTH - minimum channel width for entering a trade;
- PERIOD_ATR , TIMEFRAME_ATR - period and timeframe of ATR values for determining the average aolatility;
- RISK_PER_TRADE - risk per trade, if = 0, then LOTS is used;
- LOTS - trade lot if RISK_PER_TRADE = 0;
- ENTRY_PCT , STOPLOSS_PCT , TAKEPROFIT1_PCT , TAKEPROFIT2_PCT - trade entry and exit levels, specified as a% of the channel width;