BigVaran is an Expert Advisor (trading robot) and a set of supporting indicators / libraries for MetaTrader 4 (MQL4), with partial compatibility elements for MetaTrader 5 (MQL5).
It implements a trend-following / breakout strategy based on:
- Adaptive Price Bands (APB channel)
- Fast and slow Triangular Moving Average (TMA) lines
- Impulse filters and false breakout rejection logic
- Position management with trailing stop and risk control
The strategy aims to capture strong directional moves while avoiding ranging / choppy market conditions.
(Replace with real chart screenshots showing entries, channel, TMA lines and trades)
| File | Purpose |
|---|---|
BigVaran.mq4 |
Main Expert Advisor (core trading logic) |
BigVaran Mode APB.mq4 |
Alternative EA version with stronger focus on APB channel signals |
iAPB.mqh |
Adaptive Price Bands calculation / indicator functions |
LibFastTMALine.mqh |
Optimized library for fast Triangular Moving Average computation |
SimpleFunc.mqh |
Collection of helper functions (math, trade utils, etc.) |
- MetaTrader 4 terminal (build 600+ recommended)
- Recommended timeframes: M5
- Instruments: trending pairs GBPAUD
- Broker with low spread and fast execution (ECN / STP preferred)
-
Download the repository:
git clone https://github.com/MaximusPro/BigVaran.git
-
Copy files to the correct MetaTrader 4 folders:
BigVaran.mq4
BigVaran Mode APB.mq4 → MQL4\Experts\
iAPB.mqh
LibFastTMALine.mqh
SimpleFunc.mqh → MQL4\Include\-
Restart MetaTrader 4
or right-click inside the Navigator panel → Refresh. -
Drag the BigVaran (or BigVaran Mode APB) expert advisor onto any chart.
Make sure the AutoTrading button in the toolbar is enabled (green).
These are example default values — always optimize and test your own parameter sets.
| Parameter | Default / Example | Description |
|---|---|---|
| MagicNumber | 20232025 | Unique magic number to identify EA's trades |
| LotSize | 0.10 | Fixed lot size (used when money management is off) |
| UseMoneyManagement | true | Enable automatic risk-based position sizing |
| RiskPercent | 1.0 – 2.0 | Risk per trade as % of account balance |
| MaxSpread | 25 – 40 | Maximum allowed spread (in points) |
| APB_Period | 34 | Period for Adaptive Price Bands |
| TMA_Fast_Period | 21 | Period of fast Triangular Moving Average |
| TMA_Slow_Period | 89 | Period of slow Triangular Moving Average |
| UseTrailing | true | Enable trailing stop |
| TrailingStart | 80 | Profit in points to start trailing |
| TrailingStep | 40 | Trailing stop distance / step |
Always check the full list of input parameters in the EA properties dialog for the actual defaults used in your version.
- Backtest first — run in Strategy Tester with modeling quality ≥ 99%
- Test on a demo account for at least 1–3 months before going live
- Regularly monitor actual spread, slippage and broker execution quality
MIT License
You are free to use, modify and distribute this software.
No warranty is provided.
- MaximusPro
- GitHub: https://github.com/MaximusPro
- Found a bug? → Please open an Issue
- Have improvements for filters, money management, trailing logic? → Pull Requests are welcome
- Achieved good live or demo results? → Feel free to share (screenshots appreciated)
Good luck and profitable trading! 🚀
