Alpha BTC JcoWorld
- Experts
- Versione: 2.23
BTC PF159 is a fully automated Expert Advisor (EA) for MetaTrader 5, specifically engineered for trading Bitcoin (BTCUSD) on the M15 timeframe. The system combines trend-following logic, momentum filters, dynamic volatility-based risk management, and strict execution safeguards.
Key Features
-
Multi-Timeframe Trend Filtering: Combines higher timeframe (H1) trend direction with M15 entry confirmation to reduce false breakouts.
-
Dynamic Risk Management:
-
ATR-Based Stop Loss & Take Profit: Automatically adjusts SL and TP to match current market volatility.
-
Automatic Lot Sizing: Calculates position sizes based on a user-defined risk percentage of account balance.
-
-
Multi-Layered Trade Filters:
-
RSI Momentum Filter: Filters out trades with weak momentum.
-
Candle Confirmation Filter: Requires price action agreement before entering a position.
-
Rollover Protection: Pauses trading during illiquid daily rollover periods (23:55 – 00:15).
-
Spread Guard: Prevents execution during high spread spikes.
-
-
Institutional Code Standards: Built-in broker stop-level checks, dynamic execution mode detection (FOK/IOC), and clean memory handling upon termination.
Trading Logic & Entry Conditions
The EA enters a position only when all enabled filters align simultaneously:
-
Trend Filter (H1): Fast EMA must be aligned relative to the Slow EMA.
-
Entry Filter (M15): Fast EMA crosses/aligns with the Slow EMA, with price closing past the fast line.
-
RSI Filter: RSI must exceed the Buy threshold (default: 52) for long orders or fall below the Sell threshold (default: 48) for short orders.
-
Candle Confirmation: The previous M15 candle must close bullish for a Buy signal or bearish for a Sell signal.
Input Parameters Overview
| Parameter | Default | Description |
| MagicNumber | 212159 | Unique identifier for order tracking |
| EntryTF | PERIOD_M15 | Timeframe used for trade entries |
| TrendTF | PERIOD_H1 | Higher timeframe for overall trend bias |
| FastEMA / SlowEMA | 10 / 200 | Moving Average periods for trend detection |
| StopATR / TakeATR | 1.50 / 2.80 | ATR multipliers for Stop Loss and Take Profit |
| RiskPercent | 0.50 | Account balance risk per trade (%) |
| MaxTradesPerDay | 2 | Maximum allowed trades per calendar day |
| MaxSpreadPoints | 5000.0 | Maximum allowable spread (in points) |
Recommended Setup
-
Asset: BTCUSD / BITCOIN
-
Chart Timeframe: M15
-
Account Type: ECN / Raw Spread (low spread crypto broker recommended)
