Burning Teko Auto Trading Companion
- Experts
-
Ahmad Fitrah
MQL5/MQL4 developer and XAUUSD trader. I build Expert Advisors, indicators and trading panels for MetaTrader 5, with a focus on gold: market structure and swing detection, session levels, ICT concepts (liquidity sweeps, MSS, FVG), chart pattern and trendline detection, and strict risk management (no - Versão: 1.17
- Atualizado: 15 outubro 2026
- Ativações: 5
Burning Teko Auto Trading Companion is an Expert Advisor for MetaTrader 5 that combines a manual trading panel with five independent automatic strategies. Each strategy has its own ON/OFF button, so you can run any of them, trade by hand next to them, and change the parameters while the EA is running.
It is designed and tested on gold (XAU/USD) on the M15 timeframe.
Only BB Break Out is ON by default. Market Break Out, RSI Stoch Reversal, MA Cross and Spike Trap are OFF until you turn them ON with their buttons on the panel, or with their "ON at start" inputs. In the Strategy Tester without Visual mode, use the inputs.
The trading panel is ON by default. If you only want the automatic strategies, set the input "Show the trading panel on the chart" to false; the EA then uses the "Default lot" input.
THE FIVE STRATEGIES
1. BB Break Out (trend + Bollinger Bands)
- Trend filter: EMA 20 against SMA 200 on the chosen timeframe (default M15). In an uptrend it only buys; in a downtrend it only sells.
- Setup: the price moves beyond the Bollinger Band by a set distance (default 300 points).
- Entry: when the band curls back, within a set number of candles (default 20). If it does not curl, the setup is cancelled.
- Stop loss: a fixed distance from the entry (default 3000 points). A stop beyond the nearest Woodie pivot level is available as an option.
- Break-even: after a set profit distance (default 4000 points), the stop loss is moved to the entry plus a locked profit (default 2000 points).
- Take profit (default 8000 points) and a cooldown after a losing trade.
2. Market Break Out (session ranges)
- Three ranges, each with its own switch: Asia session, London session, and Prev Day (yesterday's high and low).
- Candle close mode (default): the EA waits for the chart candle that pierces the range to close. A close outside the range is a breakout and the EA enters in that direction. A candle that pierces the range and closes back inside is a false breakout, which can be traded as a reversal. You choose: breakout, reversal or both.
- Filters for the candle close mode: BUY only / SELL only / both, and an H4 RSI filter so that a breakout is only taken when the H4 momentum agrees.
- Pending order mode: a Buy Stop above and a Sell Stop below the range (or Stop Limit orders); when one side is triggered, the opposite order is deleted.
- Each range has its own hours, buffer, minimum and maximum range, stop loss, take profit (multiple of the range), lot, expiry hour, optional close by time, and trailing.
- By default only the Prev Day range is traded (candle close breakout, BUY only, H4 RSI at least 60). Asia and London are available in the inputs.
- The range is drawn on the chart. If a day is skipped, the reason is shown next to the range.
3. RSI Stoch Reversal (H4 and D1)
- Works on the H4 and D1 timeframes at the same time, independently of the chart timeframe. Each timeframe has its own settings and its own position.
- Setup: RSI and Stochastic are both overbought (for a sell) or both oversold (for a buy) on that timeframe. Values are read live, without waiting for the candle to close.
- Entry, two methods per timeframe: the Stochastic cross with a %K level, or a turn of the Bollinger Band on the chart timeframe.
- Stop loss: beyond the extreme of the setup plus a buffer, or a fixed distance.
- Take profit: the opposite Bollinger Band on the chart timeframe, with a fallback, or a fixed distance. Optional trailing.
- Extra path for extreme readings: a setup at a very high or very low Stochastic and RSI, closed when the RSI of that timeframe returns to the middle (default 50), with a profit lock.
- Buy and sell levels are separate inputs, so either side can be tightened or switched off. By default H4 takes buy setups only and D1 takes both.
- Daily trend filter (per timeframe): when it is on, a buy is only taken while the D1 EMA 20 is above the D1 EMA 50, and a sell only while it is below. ON by default for H4, OFF for D1.
- Optional sound alert when a setup is confirmed.
4. MA Cross (trend following)
- Watches a fast EMA (default 20) and a slow MA (default 200) on its own timeframe (default H4), checked once per closed candle.
- When the fast EMA crosses above the slow MA, the EA buys. When it crosses back below, the position is closed. With both sides enabled, a cross below also opens a sell.
- Confirmation (default): after the cross, the EA waits until a candle of that timeframe closes above the highest high of the 30 candles before the cross (below the lowest low for a sell), for up to 12 candles. Without that close, the cross is skipped.
- Stop loss: ATR(14) of that timeframe multiplied by a factor (default 3). There is no take profit; the exit is the opposite cross or the stop loss.
- At most one position. Trades are few and can stay open for weeks or months, so check the swap of your account.
- Default: buys only.
5. Spike Trap (news spikes)
- Watches the 30 minutes after set local times (default 19:28, 20:28 and 20:58 WIB, moved one hour later while the US is on winter time), when US data is usually released.
- Speed mode (default): when the price moves at least 500 points within 2 seconds, the EA enters at market in the direction of the move. A stop-order mode (Buy Stop and Sell Stop around the price) is also available.
- Stop loss 500 points. Take profit: the position is closed when the first M15 candle closes against it. Optional fixed take profit (points) and trailing stop.
- Profit lock (default): once the profit has reached 1500 points, the position is closed if it falls back to 50% of the highest profit reached. Both numbers are inputs.
- When a spike is caught, the EA can first delete all pending orders on the symbol (including Floating Hedge) and lock open positions on the other side with one hedge. By default the hedge is released automatically only when the Spike Trap position hits its stop loss; otherwise you release it by hand.
- At most one Spike Trap position at a time. Fast markets can fill orders far from the requested price.
THE PANEL
- Live equity and floating P/L, server time and local time
- Position list with a Close button on every position, showing which strategy opened it
- Manual BUY, SELL, HEDGE, BUY STOP, SELL STOP, BUY LIMIT, SELL LIMIT
- Floating Hedge: a pending hedge order that follows the price each time you click. A label next to it shows the expected equity if that order is touched
- Trailing Stop, Close Buy, Close Sell, Close All, Delete SL/TP
- Trading Summary: trades, wins, losses, win rate and net P/L per strategy
- Movable panel, adjustable font size
CHART TOOLS (all built in, no extra files)
- MA 200, EMA 20 and Bollinger Bands
- RSI + Stochastic sub-window
- Woodie Pivot Points
- Multi-timeframe table (M1 to D1) with RSI, Stochastic and trend
- Session lines for Tokyo, London and New York
- Nearest swing high and swing low lines
RISK CONTROLS
- Free margin is checked before every automatic order; if it is not enough, the trade is skipped.
- Lot size is normalised to the broker's minimum, maximum and step.
- Every strategy uses a stop loss.
- Default lot is 0.01.
HOW TO USE
1. Attach the EA to an XAUUSD M15 chart, or select it in the Strategy Tester with "Every tick" modelling and Visual mode.
2. Turn each strategy ON or OFF with its button on the panel, or with its "ON at start" input.
3. Click Settings next to a strategy to change its parameters. Save applies them immediately. The D1 settings of RSI Stoch Reversal, the general Market Break Out settings and the MA Cross settings are in the inputs.
4. Set the Lot Size on the panel. A strategy lot of 0 means "use the panel Lot Size".
The automatic strategies use their own timeframes (M15 by default for the candle-based parts, H4 and D1 where stated), so you can switch the chart to another timeframe, for example M1, for manual trading without changing how they trade.
Session hours are in broker SERVER time. Check your broker's server time zone and adjust the session hours in the inputs if needed. Spike Trap times are in your local time.
MAIN INPUT PARAMETERS
- Default lot, SL, TP, magic number, panel position and font size
- BB Break Out: timeframe, BB period and deviation, EMA and MA periods, over-band distance, curl limit, SL (fixed or Woodie), break-even, cooldown, TP, lot
- Market Break Out, general: entry mode (pending orders, candle close breakout, reversal or both), sides, H4 RSI filter, Stop Limit and Woodie SL options
- Market Break Out (Asia, London, Prev Day): enabled, range hours, expiry and close hours, buffer, min and max range, SL percent, TP multiple, lot, close by time, trailing
- RSI Stoch Reversal (H4 and D1 separately): entry method, sell and buy levels for RSI and Stochastic, max wait, SL buffer or fixed SL, TP, lot, trailing, extra path levels, exit RSI and profit lock, daily trend filter
- MA Cross: timeframe, fast and slow periods, sides, stop loss ATR factor, confirmation candles, lot
- Spike Trap: mode, speed (points and seconds), local times, stop loss, trailing, exit on reverse candle and its timeframe, take profit, profit lock (points and %), delete pending orders, hedge and its release, lot
- Session lines: Tokyo, London and New York hours and colours, server and local GMT offset
- Chart display: indicators, Woodie pivots, multi-timeframe table, bounce lines, candle colours
VIDEO
The 5-minute walkthrough and the screenshots were recorded with version 1.11, before MA Cross and Spike Trap were added. In that version Market Break Out used pending orders on the Asia and London ranges (still available in the inputs) and RSI Stoch Reversal worked on the chart timeframe (it now works on H4 and D1).
Full walkthrough and visual backtest: https://youtu.be/8NzaRZ16ka8
Spike Trap on a news event (version 1.17, visual backtest of 14 October 2026): https://youtu.be/veatByebsds
RISK WARNING
Trading gold and other leveraged instruments involves a high risk of loss. This Expert Advisor does not guarantee any profit. Backtest results, including those shown in the video and screenshots, cover a limited period and do not guarantee future results. Test on a demo account first and only trade with money you can afford to lose.

