Line Alert EA (MT4/MT5) — Features and Parameters

TraderIsMe-Line-Alert-EA is a MetaTrader EA that lets you draw High and Low horizontal lines on a chart and fires alerts the moment price touches or breaks them — via popup, mobile push, LINE, or Discord. It works on both MT4 and MT5, and Discord alerts can include a chart screenshot.

This article is the EA’s feature and parameter reference. For setup instructions — heartbeat authentication, plan requirements, generating an API key — see How to Use the Free EAs (Common Setup Guide).

Download

Download the MT5 build

TraderIsMe-Line-Alert-EA-MT5.zip MT5

Download the MT4 build

TraderIsMe-Line-Alert-EA-MT4.zip MT4

※ Unzip the archive, then place the extracted .ex5 / .ex4 file in your MT data folder under MQL5/Experts/ or MQL4/Experts/ and refresh the Navigator.

Overview

  • Platforms: MetaTrader 4 / MetaTrader 5
  • Licensing: Heartbeat-based authentication tied to your TraderIsMe account (works on the FREE plan as well — see How to Use the Free EAs)
  • Markets: FX, CFDs, indices, commodities, crypto — any symbol your MT4 / MT5 broker can chart

Key features

  • Two horizontal lines (High and Low) drawn on the chart, each toggled on/off from the panel buttons
  • Set the price by typing it directly in the panel’s input field, or just drag the line on the chart
  • On startup the lines auto-snap to the highest high / lowest low of the last N bars (50 by default)
  • Three break-detection modes: Touch, Confirmed close, or Body or wick
  • Pick any combination of alert channels: popup, mobile push, LINE (Messaging API broadcast), and Discord (webhook)
  • Discord alerts can include a chart screenshot
  • Timestamps in alerts can use server time or JST
  • Drag the panel anywhere on the chart; the initial corner (4 positions) is configurable

Requirements

  • MetaTrader 4 or MetaTrader 5 terminal
  • A TraderIsMe account and an Account API Key (generate it on the Settings page)
  • The following URLs added to the MT WebRequest allow list (depending on which alert channels you use):
    • https://app.traderis.me (required, for the heartbeat)
    • https://api.line.me (only if you use LINE alerts)
    • https://discord.com (only if you use Discord alerts)
  • For LINE alerts: a long-lived Channel Access Token from the LINE Messaging API
  • For Discord alerts: a Discord channel webhook URL

Setup walkthrough

  1. Place TraderIsMe-Line-Alert-EA.ex5 or .ex4 in your MT data folder under MQL5/Experts/ or MQL4/Experts/, then refresh the Navigator.
  2. Drag and drop the EA onto any symbol’s chart.
  3. On the Common tab, tick Allow Algo Trading. On the Inputs tab, paste your Account API Key into InpAccountApiKey. If you’re using LINE or Discord alerts, fill in the Access Token / Webhook URL too.
  4. The chart shows the High line (blue) and Low line (red) plus a control panel. Use the on/off buttons on the panel to enable each line, then either type a price into the input field or drag the line on the chart to position it.
  5. When price reaches the line, the EA fires according to your break-mode setting and pushes alerts to every channel you’ve enabled.

Input parameters

Panel

ParameterTypeDefaultDescription
InpInitCornerenumBottom-LeftWhere the panel appears when the EA loads. One of Top-Left / Top-Right / Bottom-Left / Bottom-Right. Once loaded, the panel is freely draggable.
InpGripColorcolorSlateGrayColor of the grip bar at the top of the panel (the drag handle).
InpLookbackint50How far back to look when auto-snapping the High/Low lines on startup. Uses the highest high / lowest low of the last N bars.

Lines

ParameterTypeDefaultDescription
InpHighColorcolorDodgerBlueColor of the High line.
InpLowColorcolorRedColor of the Low line.
InpLineWidthint2Line thickness in pixels.

Alerts

ParameterTypeDefaultDescription
InpAlertPopupbooltrueShow the standard MT popup alert.
InpAlertPushbooltrueSend a push notification to the MT mobile app (requires your MetaQuotes ID to be set in MT options).
InpAlertLineboolfalseSend an alert to LINE. Requires InpLineAccessToken.
InpAlertDiscordboolfalseSend an alert to Discord. Requires InpDiscordWebhook.
InpSendScreenshotbooltrueAttach a chart screenshot to Discord alerts.
InpBreakModeenumTouchHow a break is detected. Touch (Bid touches the line), Close Confirmed (the closing price of a completed bar crosses the line), or Body or Wick (the high/low of the current bar crosses the line).
InpTimezoneenumJST (UTC+9)Timezone used for timestamps in alert messages: server time or JST.

LINE

ParameterTypeDefaultDescription
InpLineAccessTokenstring“” (empty)Long-lived Channel Access Token from the LINE Messaging API. Alerts are broadcast to every friend of your LINE Official Account — no user IDs required.

Discord

ParameterTypeDefaultDescription
InpDiscordWebhookstring“” (empty)Webhook URL for the target Discord channel. Generate one under Server Settings → Integrations → Webhooks.

Subscription

ParameterTypeDefaultDescription
InpAccountApiKeystring“” (empty)Your TraderIsMe Account API Key. Generate the UUID on the Settings page and paste it here. Used for heartbeat authentication.

Notes

  • Heartbeat authentication: The EA performs its first authentication 30 seconds after launch, then re-checks plan status with the TraderIsMe server every 60 seconds. On the FREE plan, a notification dialog is shown every 15 minutes — but EA functionality is never restricted.
  • Available on every plan: Works on FREE / BASIC / PRO. FREE users will see a periodic notification dialog in MetaTrader; subscribing to BASIC or PRO silences it (see How to Use the Free EAs).
  • WebRequest URL whitelist: Under Tools → Options → Expert Advisors in MT, https://app.traderis.me is mandatory. Add https://api.line.me and/or https://discord.com if you use those alert channels.
  • Break behavior: Once a line is broken, it’s hidden automatically and no further alerts fire on the same side. Toggle the line back on from the panel to re-arm detection.
  • Mobile push notifications: Set your MetaQuotes ID under Tools → Options → Notifications in MT — that’s the ID of your MetaTrader mobile app.
  • About LINE alerts: The legacy “LINE Notify” service has been retired, so this EA uses LINE Messaging API broadcasts instead. You’ll need to create a LINE Official Account and get a long-lived Channel Access Token.
  • Symbol coverage: Works on every symbol your MT4 / MT5 broker can chart.

Download

Download the MT5 build

TraderIsMe-Line-Alert-EA-MT5.zip MT5

Download the MT4 build

TraderIsMe-Line-Alert-EA-MT4.zip MT4

※ Unzip the archive, then place the extracted .ex5 / .ex4 file in your MT data folder under MQL5/Experts/ or MQL4/Experts/ and refresh the Navigator.