Angora Trading System
- Эксперты
-
AYDIN DEMIREL
I'm an engineer and I'm working as a system engineer in a software company. I'm fourty years old. - Версия: 1.60
- Активации: 5
Angora Trading System is a mean-reversion Expert Advisor. It waits for price to stretch to the edge of the Bollinger Bands while RSI confirms an overbought or oversold condition, and it trades the move back toward the middle band. An ADX regime filter keeps it out of conditions that do not suit this approach. An optional ATR-based grid adds positions when price moves against the first entry. All legs share one basket stop loss, which is sent with every order.
Available for MetaTrader 4 and MetaTrader 5.
You can download optimized set file for XAUUSD from here. Please, optimize expert before use on any pair and make backtest.
INDICATORS
- Bollinger Bands: entry zones (upper/lower band) and the exit target (middle or opposite band).
- RSI: confirms overbought / oversold conditions for entries and grid additions.
- ADX with +DI / -DI (Wilder): market regime (range or trend) and the trend-break exit.
- EMA slope: trend direction in trend mode.
- ATR: scales everything to volatility (grid spacing, basket stop, band width, target distance, spread filter).
All signals use closed bars only.
HOW IT TRADES
1) Market regime
- ADX below "ADX Max Entry" (default 25) = RANGE: band reversals in both directions. Entries are skipped while ADX is rising quickly.
- ADX between "ADX Max Entry" and "Trend ADX Max" (25-45), with Trend Aligned Mode on = TREND: pullbacks in the trend direction only. The direction comes from the slope of a slow EMA (default EMA 100), so the pullback itself does not flip it.
- ADX above "Trend ADX Max" = no new entries.
2) Entry
- ReEntry (default): the previous bar touched or closed outside a band and the last bar closed back inside, with RSI in the oversold / overbought zone.
- Touch: a band touch plus the RSI condition is enough.
- Filters: minimum band width, minimum distance to the target, spread, session and account guards.
3) Grid (optional)
- A new leg is added every "Grid Step" x ATR against the basket, up to "Max Grid Levels" legs (closed legs count too).
- Grid additions require RSI near the extreme zone and ADX below the grid limit. In trend mode, the EMA direction must still agree.
- All legs share one basket stop loss beyond the last possible level.
- No grid additions while profit protection is active.
4) Exits
- Target: middle band (or opposite band) with at least "Min Basket Profit at Target".
- Profit protection: break-even lock and a trailing profit floor, measured in R. The floor can also be moved to the broker stop loss of every leg.
- Basket max loss (R), soft and hard time exits, trend-break exit.
WHAT IS "R"?
- 1R (basket) = the amount lost if all grid levels are filled and the basket stop loss is hit.
- Rp (protection) = the risk of the first leg down to the basket stop loss. Profit protection thresholds use Rp by default. With the grid off, R and Rp are the same.
REQUIREMENTS AND NOTES
- MetaTrader 5: a HEDGING account is required for the grid. On netting accounts the grid is switched off automatically and the EA trades a single position.
- Session hours are in broker server time.
- Use a different Magic Number for each chart if you run several copies on the same symbol.
- After a terminal restart the EA rebuilds the open basket automatically.
- The EA prints a statistics summary when it stops (trades, win rate, profit factor, results per exit reason) and a DIAG line showing which filters blocked entries. Use these when testing your own settings.
PARAMETERS
[Trading]
- Use Fixed Volume: ON = fixed lot per leg. OFF = lot calculated from Basket Risk %.
- Fixed Volume per Leg (lots): default 0.01.
- Basket Risk %: equity lost if every level fills and the basket stop is hit (1R). Default 2.
- Max Volume per Leg (lots): hard cap per leg. Default 1.0.
- Loss Cooldown (bars): bars to wait after a losing basket. Default 4.
- Max Slippage (points): default 30.
- Magic Number / Order Comment: identification of the EA's orders.
[Bollinger Bands & RSI]
- BB Period / BB Std Deviation / BB MA Method: defaults 20 / 2.0 / SMA.
- RSI Period: default 14.
- RSI Oversold (BUY) / RSI Overbought (SELL): range thresholds, defaults 30 / 70.
[Entry]
- Entry Mode: ReEntry or Touch.
- Min Band Width (x ATR): default 2.0.
- Min Target Distance (x ATR): default 0.8.
- Allow Buy / Allow Sell.
[Trend Mode]
- Use Trend Aligned Mode: default ON.
- Trend ADX Max: no entries above this ADX. Default 45.
- Trend Direction Source: EMA slope (default) or +DI / -DI.
- Trend EMA Period / Trend EMA Slope Bars / Trend Min EMA Slope (x ATR): defaults 100 / 10 / 0.5.
- Trend Min DI Spread: used only with the DI source. Default 5.
- Trend RSI Oversold / Overbought: pullback thresholds, defaults 40 / 60.
- Trend Grid Step Multiplier / Trend Max Grid Levels: defaults 1.5 / 3.
[ADX & ATR]
- ADX Period: default 14.
- ADX Max Entry: range / trend threshold. Default 25.
- ADX Slope Lookback / ADX Max Rising Slope: defaults 3 bars / 3.0 (0 = off).
- ATR Period: default 14.
[Grid]
- Use Grid: default ON.
- Grid Step (x ATR): default 1.0.
- Max Grid Levels: default 4 (including the first entry).
- Grid Volume Multiplier: 1.0 = equal lots (recommended).
- Stop Buffer (x ATR beyond last level): default 1.5.
- Grid Add Requires RSI / Grid Add RSI Buffer: defaults ON / 10.
- Grid Max ADX (range baskets): default 30.
- Grid Min Add Interval (seconds): default 60.
[Exit]
- Exit Target: middle band (default) or opposite band.
- Min Basket Profit at Target (R): default 0.05.
- Basket Max Loss (R): default 1.0 (0 = off).
- Soft Time Exit (bars): close at break-even or better after N bars. Default 32.
- Hard Time Exit (bars): default 96.
- Use Trend Break Exit / Trend Break ADX: defaults ON / 35.
[Profit Protection]
- Use Profit Protection: default ON.
- Protection R Base: First leg risk (default) or full basket risk.
- BE Trigger / BE Lock (R): defaults 0.75 / 0.1.
- Trail Start (R) / Trail Keep Fraction: defaults 2.0 / 0.5.
- Move Broker SL To Floor: default ON.
- Use Partial TP / Partial TP (R) / Partial Close Fraction: default OFF / 2.0 / 0.5.
- Fixed TP (R): 0 = off.
[Market Filters]
- Max Spread (points) / Max Spread (x ATR): defaults off / 0.2.
- Use Session Filter / Session Start / End Hour (server time): default OFF.
- Block Weekend Entries / Friday Cutoff Hour.
[Account Guard]
- Max Daily Loss (% equity) / Close Positions On Daily Limit: defaults 5% / ON.
- Max Drawdown (% peak equity) / Remove EA On Max Drawdown: defaults 20% / ON.
- Max Trades Per Day: 0 = unlimited.
- Max Total Risk (% equity): default 3%.
- Apply Risk Cap In Fixed Mode: default OFF.
[Log]
- Log Level: Quiet / Normal / Verbose.
- Print CSV Trade Lines: one CSV line per completed basket.
RECOMMENDATIONS
1. Backtest on your symbol and timeframe with the defaults first (MT5: "Every tick based on real ticks").
2. Read the STATS, STATS BY REASON and DIAG lines in the log to tune the settings.
3. Keep the grid conservative: equal lots and 3-4 levels.
4. Forward-test on a demo account before trading live.
RISK DISCLAIMER
Trading leveraged products such as Forex, CFDs and cryptocurrencies carries a high level of risk and may not be suitable for all investors. Grid and averaging strategies can increase losses during strong trends. Past performance, including backtest results, does not guarantee future results. Use this Expert Advisor at your own risk and only with capital you can afford to lose.
