
Yes, if you want indicator alerts to fire while your computer is off or asleep, you need something that keeps MetaTrader running around the clock. A VPS is the most common way to do that, but it isn't the only one. Indicator alerts are generated by the terminal itself, so if the terminal is closed, the chart isn't open, or the machine is asleep, no alert is sent.
Why the terminal has to stay on
A custom indicator only calculates while it is attached to an open chart in a running terminal, and that terminal needs a live connection to your broker's server. Close MetaTrader, lose internet, or let your laptop sleep, and alerts stop. Nothing is queued, and you won't be told about what you missed.
Your realistic options
| Option | Works when your PC is off? | Trade-offs |
|---|---|---|
| Your own PC, left on | No | Free, but exposed to power cuts, updates, restarts and sleep settings. |
| Dedicated always-on computer | Yes, while it has power and internet | You maintain it yourself. |
| Windows VPS | Yes | Ongoing cost and some setup. Check current pricing and specs with the provider. |
| Broker-offered hosting | Varies | Terms differ by broker, so confirm details on the official site. |
Recommended for youHow to Install a Custom Indicator in MetaTrader 4 and 5: .ex4, .mq4, .ex5 and .mq5 Files Step by StepWhen you probably don't need one
- You trade during hours when you're at your desk anyway.
- You only use a few alerts on higher timeframes and can check manually.
- Your setup is on a computer that already runs all day.
When a VPS makes sense
- You want overnight or session-gap alerts you'd otherwise miss.
- You use email or mobile push alerts and expect them to arrive unattended.
- Your home connection or power is unreliable.
Before you commit
- Confirm your indicator works on your own machine first. See fixing common indicator errors.
- Set up and test your notifications locally using the alerts setup guide.
- Save a template so you can rebuild your charts on the server quickly: templates and profiles.
- Install the indicator on the VPS terminal separately, following the installation guide.
Be cautious about any provider or indicator vendor promising results from running 24/7. A VPS only keeps software running. It does not make signals better or reduce trading risk. Compare providers on the official sites before paying, since prices and terms change.
Related
Start with the MetaTrader Indicator Setup & Tutorials hub. If you're weighing platforms, read MetaTrader 4 vs 5 for indicator users. Mobile apps can't run custom indicators, as explained here. Mac users can see this guide, and broker compatibility is covered here.
Keep reading
MetaTrader Indicator Not Showing or Not Working? Fixing Common Errors Step by StepMost indicator problems in MetaTrader come down to a short list of causes: the file is in the wrong…
How to Set Up Indicator Alerts in MetaTrader: Pop-Up, Sound, Email and Mobile Push NotificationsIndicator alerts exist so you don't have to stare at a chart all day. They only work if you know wh…
MetaTrader Templates, Profiles and Saved Settings: How to Save, Reuse and Transfer Your Indicator SetupYou spend an hour tuning an indicator setup: the right periods, colors you can read at a glance, a…