Bamboo MT5
- Experts
- Version: 1.0
Brand: Tulip Fintech | Version: 1.0 | Expert Advisor for MetaTrader 5
One-liner
Bamboo 2.0 is an adaptive trend-trading Expert Advisor built for GOLD (XAU*) — it trades only when a trend is confirmed, follows the trend direction, enters on breakout, and exits on breakdown. Five sub-strategies with progressive cycles are built in, each can run alone or all together.
The Brand Story — "Bamboo grows after its roots take hold"
A bamboo tree spends years building an invisible root system before it shoots upward. Bamboo 2.0 follows the same philosophy:
-
Wait. Stand aside in ranging markets — no trend, no trade.
-
Confirm. Enter only when the trend is confirmed from multiple dimensions.
-
Grow. Let winners run; exit only when the trend actually breaks.
This is patient trend-following, not guesswork.
Core Highlights
1. Truly adaptive to the market
| Step | Condition |
|---|---|
| 1. Trend switch | Only trade when ADX(14) ≥ threshold — ranging markets stay flat |
| 2. Direction filter | Price above/below the trend EMA — long only above, short only below |
| 3. Entry | Donchian channel breakout — close beyond the N-bar high/low |
| 4. Exit | Chandelier trailing stop ( extreme ∓ trailATR × ATR ), or trend collapse, or EMA cross-back |
2. Five sub-strategies, one engine
| Strategy | Donchian | Trend EMA | ADX | Trailing | Magic |
|---|---|---|---|---|---|
| S1 | 176 | 110 | 24 | 7×ATR | base+1 |
| S2 | 220 | 150 | 22 | 8×ATR | base+2 |
| S3 | 260 | 150 | 22 | 8×ATR | base+3 |
| S4 | 300 | 150 | 22 | 9×ATR | base+4 |
| S5 | 340 | 150 | 22 | 9×ATR | base+5 |
-
Dropdown: S1 only / S2 only / S3 only / S4 only / S5 only / All 5
-
Each sub-strategy has its own magic → ALL mode may hold up to 5 positions, fully independent
-
Maximum one position per sub-strategy; re-entry only after close
3. Three lot-sizing modes
-
Fixed — constant lot ( InpLotFixed , default 0.01)
-
Capital-based — lots per 10,000 balance ( InpLotPer10k )
-
Risk-based (default) — risk % of equity per trade ( InpRiskPercent , default 0.1%)
Built-in margin cap (double safety): the requested size never exceeds 80% of free margin, so small accounts never hit "not enough money".
4. Zero-threshold setup
-
English UI throughout, standard MQL5 structure, fully reviewable in MetaEditor
-
Broker-suffix aware — works on XAUUSDm , XAUUSD.a , GOLDz , etc.
-
Attach to a GOLD M30 chart and it's ready to trade
How to Use
-
Copy Bamboo2.ex5 into MQL5\Experts\ (and TULIP_Common.mqh into MQL5\Include\ )
-
Attach to XAUUSD / GOLD M30 chart (strategies are locked to M30; other chart timeframes do not trade)
-
Choose strategy mode and lot mode in the inputs
-
Enable AutoTrading
Recommended starting point: All 5 strategies + Risk-based 0.1% on a demo or cent account.
Where It Fits — and Where It Doesn't
-
Best suited for: trending gold markets; low-frequency trading (a handful of trades per month); traders who can tolerate drawdown between trades
-
Not suited for: high-frequency scalping expectations, or expecting profits in prolonged sideways markets — standing flat in range-bound markets is by design, not a bug
Risk Disclaimer
Trading leveraged instruments (gold, forex, CFDs) carries a high level of risk and may not be suitable for all investors. Past performance (backtests or live) is not a reliable indicator of future results. This EA is a decision-support tool and does not constitute investment advice. Always test on a demo/cent account first, start with small lot sizes, and never risk money you cannot afford to lose.
Produced by Tulip Fintech . Source code and technical documentation are available upon request.
