Installation & settings
From download to the first trade in a few minutes. You do not need to change any setting: the defaults are the ones used in the backtest.
Before you start
- MetaTrader 5 on a computer that stays on, or on a VPS. See the budget.
- A broker with Nasdaq-100 futures (MNQ or NQ) or a Nasdaq-100 CFD (NAS100, US100, USTEC and similar names).
- The correct time and time zone on that computer.
Installation, website edition
For a subscription or a free trial from this website. The email with your licence key has the same steps. Prefer to watch? The installation video shows every step in under four minutes.
- Download the file from your licence page (the link is in the email).
- Copy it into MetaTrader 5. In MetaTrader 5 click File, then Open Data Folder. Open
MQL5, thenExperts, and paste the file there. In the Navigator window, right-click Expert Advisors and click Refresh. - Allow the licence check, once. Click Tools, then Options, then the Experts tab (Expert Advisors in some versions). Tick "Allow WebRequest for listed URL", type
https://api.openingbellalgo.comin the list and press OK. Without this step the program cannot check the licence and does not open trades. MetaTrader 5 does not let any program set this for you. - Open the chart. Open a chart of the current MNQ or NQ contract, or of your broker's Nasdaq-100 CFD (see on a CFD). Any timeframe works.
- Attach the program. Drag Opening Bell Algo for MT5 from the Navigator onto the chart. In the Common tab, tick "Allow Algo Trading". In the Inputs tab, paste your licence key into Licence key. Click OK.
- Turn on Algo Trading with the button in the MetaTrader 5 toolbar.
- Check the panel on the chart: it shows the licence, the symbol, the trade size and New York time.
You type the key only once. After the first successful check the program remembers the key for that trading account on this computer. On a new chart or after an update you can leave Licence key empty.
The licence works on one trading account: the one you chose after payment. The program checks the licence once an hour. If the internet or our server is down, it keeps trading for 72 hours. In the Strategy Tester no licence is needed. See the subscription terms.
On the VPS built into MetaTrader 5. The remembered key stays on your own computer and does not reach the VPS. Before you migrate, check that WebRequest is allowed for https://api.openingbellalgo.com (step 3). Then press F7 on the program's chart and paste your key into Licence key in the Inputs tab, even if the program already remembers it.
When you migrate, MetaTrader 5 turns off Algo Trading on your own terminal. Leave it off: the program should trade from one terminal only. Keep the program on your local chart: the next migration copies your local charts, so a program you remove there disappears from the VPS too. After each migration, open the VPS tab in the Toolbox and check in its Journal (Experts log) that the program started. See our VPS guide.
Installation, MQL5 Market edition
- Rent it on the MQL5 product page. You need an MQL5 account; MQL5 handles the payment.
- Install it. In MetaTrader 5 log in to your MQL5 account (Tools, Options, Community). In the Toolbox window open Market, then Purchased, and click Install. The program appears in the Navigator under Expert Advisors, Market.
- Attach it to the chart as in steps 4 to 7 above. There is no licence key and no WebRequest step.
Is it running?
- The Experts tab of the journal shows a start line that begins with
Opening Bell Algo for MT5followed by the version number (1.05). - With the overnight trade on, the journal also shows
S4: market referenceand the symbol the program uses to read the long-term trend (at AMP@ENQ). On a new installation the history can still be loading: the program then says so and checks again every hour. - The panel shows New York time. Compare it with a reliable clock.
- If the panel shows an orange warning about the symbol, the chart is not a Nasdaq-100 symbol. Open the right chart.
Keep MetaTrader 5 running. The program only works while the terminal is open and connected. Stops and targets already sent stay at your broker. The overnight trade has no stop: if the terminal is off in the morning, it stays open until the program runs again.
The symbol is found by itself
There is no instrument setting. The program reads the chart's symbol and the broker's contract details:
| Chart | What the program sees | Default trade size |
|---|---|---|
| MNQ (for example MNQZ26) | Futures, $2 per index point per contract | 1 contract, as in the backtest |
| NQ | Futures, $20 per index point per contract | 1 contract (10 times MNQ) |
| Nasdaq-100 CFD (NAS100, US100, USTEC, NDX...) | CFD, the money per point read from your broker | The lots worth about $2 per index point, like 1 MNQ contract |
The stop and target are in index points, so they are the same on all three. Only the money per point changes.
Settings
The program is ready to run: the tested settings are built in, and on futures there is nothing to change. The settings below are the only ones you see.
| Group | Setting | Default | What it does |
|---|---|---|---|
| Licence | Licence key | empty | Website edition only. Needed once, then remembered for this account on this computer. |
| Trading | Overnight trade | On | The overnight trade (Strategy 4). Turn it off if your broker or prop firm does not allow trades held overnight or over the weekend, or if your account cannot carry the overnight margin. |
| Money management | How to size each trade | Fixed lots | Fixed lots, Risk % of balance, or Risk a fixed amount. See below. |
| Fixed lots | 0 | 0 = 1 MNQ or NQ contract, or $2 per point on a CFD. Any other number is used up to the cap of 1 MNQ contract, or $2 per point on a CFD; a larger size is reduced and the journal says so. On NQ, and on a CFD whose smallest size is above the cap, the smallest size your broker allows is used (1 contract on NQ), with a warning in the journal. The cap counts the whole account: a second chart of the program opens nothing while the first holds a position. | |
| Risk per trade, % of balance | 1 | Only for "Risk % of balance", day trades only. Calculated at the stop price, not guaranteed: a stop filled with slippage can lose more. | |
| Risk per trade, money | 100 | Only for "Risk a fixed amount", day trades only. Calculated at the stop price, not guaranteed: a stop filled with slippage can lose more. | |
| Prop firm limits | Max daily loss, money | 0 (off) | If the account loses this much today, the program closes its trades and stops until the next trading day. |
| Stop if equity falls below, money | 0 (off) | If equity falls to this level, the program closes its trades and opens nothing new while equity stays there. | |
| Broker clock | How to read the broker's server time | Detect automatically | Leave it on automatic unless the journal tells you otherwise. |
| Broker GMT offset in hours | 0 | Only used with the Fixed option. | |
| Display | Show the status panel | On | Shows or hides the panel. |
| Panel position | Top left | Puts the panel in any corner of the chart. |
Coming from 1.04? Settings you changed in 1.04, other than the size, the prop firm limits, the clock and the panel, are now fixed. A chart that had the overnight trade off keeps it off: turn it on in Inputs if you want it.
On a CFD (NAS100, US100, USTEC and similar)
- Open a chart of your broker's Nasdaq-100 CFD. Any timeframe works.
- Attach the program as above. There is nothing else to set: the size is worked out from your broker's contract details (about $2 per index point, like 1 MNQ contract).
- Check the journal (Experts tab). The line
Broker clock: GMT...must match your broker's time zone. If the program cannot detect it, choose "Fixed offset below" in Broker clock and type your broker's GMT offset. - The overnight trade is held through the night and over the weekend: a CFD charges a financing fee (swap) for that, and some prop firms do not allow it. If yours does not, turn Overnight trade off.
Money management, in plain words
- Fixed lots (default): every trade has the same size. With 0 this is 1 MNQ contract, the size of all our results.
- Risk % of balance: the program picks the size so that a trade that hits its stop loses at most this share of your balance.
- Risk a fixed amount: the same, with an amount of money instead of a percentage.
With both risk options the size is always rounded down to your broker's lot step, so the risk at the stop price is never above what you chose. Risk sizing applies to the day trades only: the overnight trade always uses the fixed size and has no stop. The risk is calculated at the stop price and is not guaranteed: when a stop is filled with slippage, in a fast market or a price gap, a loss can be larger than the amount you set. If even the smallest size your broker allows would risk more, the program skips the trade and the panel tells you. The size never goes up after a loss.
Prop firm limits help, they do not guarantee. A gap or slippage can take a loss past the limit, and your prop firm measures its rules on its own server. Set them below your firm's limits.
Prefer to risk a fixed fee instead of a full trading account? You can run the program on an FTMO challenge account (affiliate link: we may earn a commission, at no extra cost to you). A challenge fee is usually much smaller than the account balance in our budget. Check the firm's rules first, in particular for trades held overnight and over the weekend, for daily loss limits and for its capital limit per strategy (see our prop firm guide); where they are not allowed, turn the overnight trade off. Passing a challenge is not guaranteed.
The broker clock
The program trades on New York time and turns it into your broker's time by itself, also when the clocks change for summer or winter. Once a day it checks the price history and warns in the journal if your computer's clock or time zone look wrong. In the Strategy Tester it finds the broker's clock from the price history; with a very short history it can be one hour off until the first weekend. Our backtest at AMP used the option "Broker clock is UTC", the AMP server time: choose the same to compare with our numbers.
Test it yourself
- Use the free demo in the Strategy Tester, or the 14-day free trial on a demo account.
- Choose the current contract (or your CFD) and a period when that contract was the front month.
- Model: "Every tick based on real ticks".
- Add your broker's fees. Without them the result looks better than it is.
- Leave the settings on their defaults for the first test. With the overnight trade on, the tester also needs the history of your broker's continuous Nasdaq-100 contract (at AMP
@ENQ): the first run downloads it and can take a while.
Your result will not match ours exactly: other data, other fees and another period all change it. See why results differ.