Tasks and notifications
Schedule trade closures, set trading hours and receive signal or connection notifications without editing code.
Tasks lets you schedule trading actions and receive notifications without changing your Pine Script. Open Tasks in the Portal to configure them.
Choose the task you need
Section titled “Choose the task you need”| I want to… | Task | What it does |
|---|---|---|
| Close trades at a set time each week | Close All Trades | Closes market positions and pending orders at the configured day and time. |
| Restrict when signals are processed | Trading Time Limit | Allows signals during the configured time window and halts them outside it. |
| Hear about a failed signal | Signal Error | Sends a notification when a processed signal encounters an error. |
| Hear when an account disconnects | Connection Lost | Sends a notification when the account’s connection is lost. |
Before you begin
Section titled “Before you begin”The published task guide requires PineConnector MT5 EA v3.45 or later. Confirm the intended account is connected before relying on a task.
For self-hosted MT5, use Portal Downloads to update your own EA. Edge manages its hosted EA separately: check the task controls available in Portal and ask Support if the hosted version or task availability is unclear. Installing or changing an EA on your own computer does not update Edge.
| Plan | Tasks | Notification channels |
|---|---|---|
| Core | Core tasks: Close All Trades and Trading Time Limit | |
| Plus | Core and Premium tasks, including Signal Error and Connection Lost | Email and Telegram |
| Pro | Core and Premium tasks | Email and Telegram |
Check the controls available in your Portal and compare the plans. For Telegram delivery, link Telegram first.
Legacy subscriptions: Advanced and Professional include Premium tasks and Telegram; their published task allowances are up to 3 and unlimited, respectively. Starter includes basic tasks and email. Its old task-count guidance includes a launch exception, so use the allowance shown in Portal.
Close All Trades
Section titled “Close All Trades”Use this to close trades at a specified day and time each week. The documented action includes market positions, such as buys and sells, and pending orders, such as buy stops and sell limits.
- Open Tasks and find Close All Trades.
- Turn on the task and open Configure.
- Choose the Day & Time to Close.
- Read the timezone shown at the bottom of the task. The task guide uses your local timezone.
- Select a Delivery Method if you want a notification, then select Save.
EnlargeCheck the result
Section titled “Check the result”On a self-hosted terminal, the documented EA displays Running Task, followed by Finished Task. For either setup, open the Activity tab to review the timestamp, action, status and notification channel. Edge users should use Portal’s available results rather than expect access to the hosted desktop display.
Also check MetaTrader: the intended positions should be closed and the intended pending orders removed. A notification alone does not establish that every broker request succeeded.
If email delivery is selected, the documented message includes the account and broker, closed positions, closure times and their profit/loss. The email destination is the address used to sign in and is not editable in this task configuration.
Trading Time Limit
Section titled “Trading Time Limit”Use this to choose when PineConnector processes incoming signals.
- Find Trading Time Limit on the Tasks page.
- Turn it on and open Configure.
- Choose the start and end times, checking the local timezone displayed on the tile.
- Save the configuration.
Enlarge| Example window | Meaning |
|---|---|
| 3 PM to 5 PM | A window within the same day. |
| 10 PM to 3 AM | A window that crosses midnight. |
| End at 3:13 PM | The documented window includes 3:12:59 PM and excludes 3:13:00 PM. |
Inside the window, signals are processed normally, subject to the other applicable settings. Outside it, signals are halted. Check the Signal Log and Activity; on self-hosted MT5, the EA’s Experts log supplies additional detail. The published Edge scope does not expose hosted Experts/Journal logs.
Do not use this as a scheduled close. A trading-hours restriction and closing existing positions are different jobs. Use Close All Trades when you need a closure at a set time.
Signal Error
Section titled “Signal Error”Enable Signal Error when you want to be notified that a signal encountered an error.
- Find Signal Error, turn it on and open Configure.
- Choose an available notification channel and save.
- Review any event in Activity, then read the matching full error in the Signal Log or MetaTrader.
Use the error guide to investigate the actual error text. A notification reports the problem; it does not correct or resend the signal.
Connection Lost
Section titled “Connection Lost”Enable Connection Lost to receive a notice when an account disconnects. Follow the same configure, delivery and save steps as Signal Error.
The published guide lists these situations as triggers:
- Removing the PineConnector EA from MetaTrader.
- Closing the MetaTrader terminal.
- Losing the device’s internet connection.
- Disconnecting the account in Portal or through Support.
- Changing the connected License ID while the EA is running.
- Switching trading accounts while the EA is active.
A notice after a change you made may be expected. For an unexpected disconnect, check the device and terminal on a self-hosted setup; on Edge, check the instance and account in Portal using the Edge guide. Follow missing signals troubleshooting if alerts are no longer reaching the account.
EnlargeNotifications and the Activity log
Section titled “Notifications and the Activity log”Use Activity to separate three questions: did the task trigger, what action ran, and was a notification sent? Check the recorded status rather than assuming that no message means no action occurred.
The published guide documents a precautionary limit of 10 emails and 10 Telegram messages per hour, introduced at launch. If notices appear to stop, check Activity and contact Support to confirm the current delivery limit before relying on that historical threshold.
If Telegram is missing or linked to the wrong account, follow Telegram setup and changes.
Change or stop a task
Section titled “Change or stop a task”Return to the task’s Configure panel to change its schedule or delivery method and save. To stop the task itself, use its on/off control. Recheck the saved state, timezone and intended account scope after any change.
For related terminal behaviour, see EA settings. For performance reporting, see Trading analytics.
Watch the published walkthrough
Section titled “Watch the published walkthrough”Configure PineConnector Tasks
Written summary
Choose a task, set its schedule and displayed timezone where applicable, save its action and notification settings, then inspect Activity and the affected account. A trading action can still run when its notifications are disabled.

