Trident Pro MT4
- Experts
- Version: 1.0
- Activations: 20
Trident Pro is a multi-currency Expert Advisor for MetaTrader 4 that trades three interrelated pairs: AUDCAD, NZDCAD and AUDNZD. Attach it to a single chart and it manages all three pairs by itself. The EA enters when price has moved noticeably away from its channel and manages the position until price comes back. Built-in control of currency exposure and deposit load keeps it from building up excessive volume.
MetaTrader 5 version: https://www.mql5.com/en/market/product/207953
Subscribe to my channel so you do not miss updates and new products: https://www.mql5.com/en/channels/algotrader
The price will most likely be raised step by step, and at some point sales will be stopped completely so that the EA does not become too widespread.
How the EA works
- It watches three pairs at the same time from one chart.
- When price moves beyond the channel border, it opens a starting order in the direction of the return.
- If price keeps moving against the position, it adds averaging orders. The step between orders adapts to volatility and can widen, so the series is spread over a large distance instead of being filled at once.
- An averaging order is opened no more than once per bar of the selected timeframe, and only after a bar that closed in the direction of the position.
- Every order has its own take profit. The whole series is closed when price returns to the calculated level.
- If the trailing stop is enabled, it protects the profit while the series consists of one order. After it triggers, a new entry is opened only at a better price.
- Before every order the EA checks the net position in each currency (AUD, NZD, CAD) and the deposit load. If a limit is exceeded, the order is reduced or skipped.
- If the account margin level drops below the set value, the EA closes all its orders.
Features
- Three pairs on one chart, one magic number.
- The grid step adapts to current volatility.
- Net position control per currency: the EA does not double a bet on one currency through different pairs.
- Deposit load limit and margin level protection.
- Trailing stop and protection against stops and take profits placed too close to price.
- Spread filter and Asian session filter.
- Information panel that adapts itself to the chart size.
Recommendations
- Pairs: AUDCAD, NZDCAD, AUDNZD. If your broker uses symbol names with a suffix, enter them in Work Pairs exactly as they appear in Market Watch.
- Chart timeframe: any. The EA uses its own timeframes from the settings.
- Attach the EA to the chart of one of the working pairs.
Testing
- A multi-currency test is not possible in MetaTrader 4: the tester of this platform works with one symbol only. In a test the EA trades only the pair of the chart it is started on.
- Test each working pair (AUDCAD, NZDCAD, AUDNZD) separately, on the M1 chart.
- To see all three pairs working together, test the MetaTrader 5 version: in its tester the EA trades all pairs at the same time. Link: https://www.mql5.com/en/market/product/207953
- In live trading the MetaTrader 4 version works the same way as the MetaTrader 5 version: one chart and all pairs from Work Pairs.
On-chart panel
The panel is turned on by the Show panel setting. You can drag it by the header and collapse it with the button; its position is remembered. The panel size adapts itself to the chart size; if you prefer, set it in percent with the Panel size setting. The panel lets you see at a glance whether the EA is working and, if it does not open an order, why.
- Header: name, version and the total current result (P/L) of open orders on all pairs.
- Status: overall state. WORKING means the EA is running. WORKING: 2 of 3 pairs ready means some pairs are still loading history. PAUSED: drawdown limit means new orders are stopped by the drawdown limit. STOPPED means algo trading is disabled or no pair is ready.
- Data: whether there is enough quote history. If not, it shows which pair and timeframe are being loaded.
- PAIR: pair name.
- PROFIT: current profit or loss of open orders on the pair.
- SPREAD: current spread. It turns orange if the spread is above Max spread.
- START LOT: the lot of the next starting order.
- STATE: what is happening with the pair. Waiting for signal: waiting for a signal. In series: 2/5 orders: a series is open, with the number of orders out of the maximum. Paused: Asian session: pause for the Asian session. Waiting: spread too high: the spread is too wide. Loading history: history is being loaded. The reason why an order is postponed is shown here as well: waiting for a confirming bar, currency limit, deposit load limit, waiting for a better price after trailing, pause after margin level protection.
- TOTAL: total result on all pairs.
- Open orders: number of open orders of the EA.
Settings
Trader's trading tools
- Work Pairs: list of traded pairs, separated by commas.
- Enable one series in this period: do not open a new series in the same bar in which the previous one was closed.
- One series of orders in this period: the timeframe of that bar. It also defines how often the EA checks its conditions.
Lot settings
- MaxRisk: percentage of free margin used to calculate the starting lot. The lot grows with the account. With 0 a fixed lot is used.
- if MaxRisk = 0, Lot will be: fixed starting lot.
- Max lot: upper limit of the starting lot.
TP & SL
- Take profit: take profit of each order, in points.
- Stop loss: stop loss of each order, in points. 0 turns it off.
- Take profit as a percentage: close all orders when account profit reaches this percentage of the balance. 0 turns the function off.
- Drawdown % to block new orders (if > 0): at this drawdown, in percent of the balance, new orders are not opened. Open orders are not closed.
Risk limits
- Max net exposure per currency, in full series (0 = off): how many full series may be held in one direction on one currency. 1.0 means one series.
- Max deposit load (margin / equity), % (0 = off): new orders are not opened if margin would exceed this percentage of equity.
- Close all orders if margin level falls below, % (0 = off): all orders of the EA are closed if the account margin level drops below this value. After that, new orders are opened only from the next bar of Signal TF.
Ancillary transactions
- Step between orders (minimum step if ATR step is on): step between the orders of a series, in points. If the ATR step is on, this is the minimum step.
- Step from ATR of Signal TF: calculate the step from current volatility (ATR).
- First step, in ATR: size of the first step as a fraction of ATR.
- ATR period (step and trailing): ATR period for the step and the trailing stop.
- Step expansion (each next step is multiplied by): how many times each next step is wider than the previous one.
- Next averaging below the level of a closed (by take profit) averaging order: after an averaging order is closed by take profit, the next one is opened only beyond its level.
- Multiplication: lot multiplier of each next order in a series.
- Max trades per pair: maximum number of orders per pair.
- Averaging: one order per bar and only after a confirming bar: average no more than once per bar and only after a bar that closed in the direction of the position.
- Averaging TF: timeframe for this rule and for re-entry after trailing.
- Max spread: maximum spread, in points, at which orders are opened.
Trailing stop (series of one order)
- Enable trailing stop: turn on the trailing stop for a series of one order.
- Trailing start: profit, in ATR: profit, as a fraction of ATR, after which trailing starts.
- Trailing distance, in ATR: distance from price to the stop, as a fraction of ATR.
Trading session
- Trade in Asian session: allow starting orders during the Asian session.
- Asian session start (GMT hour): start of the Asian session, GMT hour.
- Asian session end (GMT hour): end of the Asian session, GMT hour.
Channel settings
- Channel type (Bollinger / Keltner): channel type.
- Signal TF: channel timeframe.
- Canal period (BB period / Keltner EMA period): channel period.
- Canal deviation (BB deviation / Keltner ATR multiplier): channel width.
- Keltner ATR period: ATR period for the Keltner channel.
- Applied price BUY: price used to calculate the channel for buys.
- Applied price SELL: price used to calculate the channel for sells.
Does not affect trade
- Comments to orders: order comment.
- Magic: unique number by which the EA recognizes its own orders.
- Slipage: allowed slippage, in points.
- Print per-pair statistics at the end of the test: print statistics for the pair to the journal at the end of a test.
- Show panel: show the panel on the chart.
- Panel font size: panel font size.
- Panel size, % (0 = adaptive to chart size): panel size in percent. With 0 the panel adapts itself to the chart size.
