BTC Trend Follower Rangebox Tool
- Utilities
- Version: 1.0
BTC Trend Follower is an automated Expert Advisor designed for structured trend‑following on the BTCUSD M15 timeframe. The system combines exponential moving averages, volatility‑based risk management and multi‑layered signal validation to identify stable market phases and execute trades under predefined technical conditions.
The EA operates without martingale, grid, arbitrage or high‑risk averaging techniques. All decisions are based on transparent, rule‑based logic that can be reviewed directly in the input parameters.
Trend Detection
The EA evaluates the market structure using three exponential moving averages:
-
EMA20 (short‑term trend)
-
EMA50 (medium‑term trend)
-
EMA200 (primary trend)
A valid trend requires a clean alignment of these averages. The EA tracks how long the trend has been active and only considers signals after a minimum number of bars, ensuring that entries occur during established market phases rather than temporary fluctuations.
Signal Generation
A trade signal is generated only when multiple independent conditions align. This prevents impulsive entries and focuses on structured pullback situations.
Signal components:
-
Price returns toward EMA20 within a defined tolerance range
-
RSI filter to avoid extreme conditions
-
Optional candle confirmation (bullish or bearish close)
-
Trend must be active for a minimum number of bars
-
Price must remain above/below EMA200 depending on direction
-
Signal expires after a configurable number of bars if not executed
When all conditions are met, the EA calculates entry, stop loss and take profit levels using ATR‑based volatility.
Entry & Exit Logic
The EA uses volatility‑based levels to adapt to changing market conditions.
Entry:
-
Buy at Ask or Sell at Bid when a valid signal is active
-
ATR‑based stop loss
-
ATR‑based take profit using a configurable risk‑to‑reward ratio
Exit:
-
Stop loss
-
Take profit
-
Optional breakeven function
-
Optional ATR‑based trailing stop
-
Manual close button on the dashboard
The EA does not modify positions unless the breakeven or trailing logic is enabled.
Risk Management
The EA includes several protective mechanisms to limit exposure and daily activity.
Risk controls:
-
Daily drawdown limit (percentage‑based)
-
Maximum number of trades per day
-
Cooldown after signal generation
-
Cooldown after trade closure
-
Dynamic or fixed lot sizing
-
Minimum and maximum lot boundaries
-
ATR‑based stop distance validation
Dynamic lot sizing uses account balance, ATR distance and tick value to calculate position size based on a defined risk percentage.
Dashboard & Interface
A built‑in on‑chart dashboard provides real‑time information about:
-
Trend direction and duration
-
EMA20 / EMA50 / EMA200 values
-
RSI and ATR readings
-
Signal direction, entry, stop loss and take profit
-
Risk‑to‑reward ratio
-
Trade status, breakeven and trailing
-
Daily protection status
-
Auto‑trading, pause and manual control buttons
The interface is designed to be clear, minimal and functional without unnecessary visual elements.
Automation & Control
The EA can operate fully automatically or be controlled manually through the dashboard.
Modes:
-
Auto‑trading on/off
-
Pause mode
-
Manual trailing activation
-
Manual close button
All functions are optional and can be adjusted according to the user’s preferences.
Notifications
The EA can send alerts when a new signal appears or when a trade opens or closes.
Supported notifications:
-
Sound alert
-
Popup alert
-
Telegram message (optional)
Telegram notifications include entry price, stop loss, take profit, lot size and signal reason.
Input Parameters
The EA provides a structured set of input parameters grouped into logical sections:
-
Trend settings (EMA periods, pullback tolerance)
-
RSI filter
-
Entry filter (candle confirmation, trend duration)
-
ATR & risk settings
-
Breakeven and trailing stop
-
Daily protection
-
Cooldown settings
-
Auto‑trading
-
Alerts
-
Telegram configuration
All parameters are documented and can be adjusted to match different trading preferences.
Recommended Setup
-
Symbol: BTCUSD
-
Timeframe: M15
-
Leverage: 1:500
-
Minimum balance: according to user‑defined risk settings
The EA is designed specifically for BTCUSD M15 and should be used on this symbol and timeframe for optimal behavior.
Important Notes
This Expert Advisor does not guarantee results and does not provide any form of financial promise. All trading involves risk, and users should test the EA under their own conditions before using it on a live account.
The EA does not use martingale, grid, arbitrage or similar high‑risk techniques.
