Controlled BTC
- Experts
-
Massimo Boncompagni
Hi guys! 👋
I'm Max, and I've been involved in manual trading since 2013. Over the past 4 years, I've started developing and testing automated trading strategies to optimize my trading operations. - 버전: 1.8
- 활성화: 10
Product name: Bitcoin Controlled EA (v1.08) – Expert Advisor for BTCUSD on the daily timeframe
Short title:
Bitcoin (BTCUSD) EA based on adaptive RSI + SAR with Donchian filter: operates on the 1-day (D1) timeframe and takes advantage of price extremes with pyramid management, automatic Stop Loss and Take Profit.
Full description:
Controlled BTC is an Expert Advisor for MetaTrader 5 designed to trade BTCUSD (recommended timeframe: Daily). The strategy combines three classic technical analysis elements:
- RSI (14) to identify overbought/oversold zones;
- Adaptive SAR applied to the RSI value, with configurable dynamic acceleration, to detect momentum shifts;
- Donchian channel (240/14) as a confirmation filter on moves beyond the period's highs/lows.
The logic is contrarian/breakout: when the RSI reaches its extremes and momentum changes, the EA checks whether the price has broken above (or fallen below) the Donchian channel and, if confirmed, opens the position in the direction of the prevailing move. The system supports controlled pyramiding (up to 3 entries) with Martingale sizing, a maximum lot cap, a percentage Stop Loss on the weighted average price and a Take Profit with adjustable buffer.
The EA includes built-in safety controls: margin check before every order, volume normalization based on the symbol's minimum/maximum lots, 30-point deviation, magic number to isolate its own positions, and optional alerts on open/close.
One trade per day, up to three entries per direction, with risk capped by the maximum lot.
Past results do not guarantee future profits: always test the strategy with your own broker before using it on a live account.
Settings Parameters
| Group | Parameter | Value | Description |
|---|---|---|---|
| Alerts | InpAlertLong | true | Alert on Long entry |
| InpAlertShort | true | Alert on Short entry | |
| InpAlertClose | true | Alert on position close | |
| Position Sizing | InpSizingMode | Martingale | Sizing mode: "Martingale" (each entry = current position size) |
| InpInitialSize | 0.01 | Initial lot | |
| InpMaxLot | 0.10 | Maximum lot (cap) | |
| Donchian | InpDcLength | 240 | Donchian channel length |
| InpDcOffset | 14 | Channel offset (bars back) | |
| RSI + SAR | InpRsiLen | 14 | RSI period |
| InpRsiUpper | 70 | High RSI threshold (overbought) | |
| InpRsiLower | 24 | Low RSI threshold (oversold) | |
| InpSarStart | 0.02 | Initial SAR acceleration | |
| InpSarInc | 0.032 | Acceleration increment | |
| InpSarMax | 0.2 | Maximum acceleration | |
| Strategy | InpMaxPyramid | 3 | Maximum number of entries (pyramiding) |
| InpExitBuffer | 0.2 | Take Profit buffer in % | |
| InpStopLossPct | 2.0 | Stop Loss in % on the average price | |
| InpMagic | 20250913 | Magic number (do not change) | |
| InpDebug | true | Debug logging in the Journal |
