{"id":18,"date":"2026-04-26T09:19:38","date_gmt":"2026-04-26T09:19:38","guid":{"rendered":"http:\/\/docs.traderis.me\/en\/docs\/line-alert-ea-mt5\/"},"modified":"2026-04-26T10:07:44","modified_gmt":"2026-04-26T10:07:44","password":"","slug":"line-alert-ea-mt5","status":"publish","type":"docs","link":"https:\/\/docs.traderis.me\/en\/docs\/line-alert-ea-mt5\/","title":{"rendered":"Line Alert EA (MT4\/MT5) \u2014 Features and Parameters"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>TraderIsMe-Line-Alert-EA<\/strong> 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 \u2014 via popup, mobile push, LINE, or Discord. It works on both MT4 and MT5, and Discord alerts can include a chart screenshot.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This article is the EA&#8217;s feature and parameter reference. For setup instructions \u2014 heartbeat authentication, plan requirements, generating an API key \u2014 see <a href=\"https:\/\/docs.traderis.me\/en\/docs\/free-ea-setup-guide\/\">How to Use the Free EAs (Common Setup Guide)<\/a>.<\/p>\n\n\n\n<nav class=\"td-toc\" aria-label=\"Table of contents\">\n  <p class=\"td-toc-title\">Contents<\/p>\n  <ol>\n    <li><a href=\"#section-download\">Download<\/a><\/li>\n    <li><a href=\"#section-overview\">Overview<\/a><\/li>\n    <li><a href=\"#section-features\">Key features<\/a><\/li>\n    <li><a href=\"#section-requirements\">Requirements<\/a><\/li>\n    <li><a href=\"#section-usage\">Setup walkthrough<\/a><\/li>\n    <li><a href=\"#section-parameters\">Input parameters<\/a><\/li>\n    <li><a href=\"#section-notes\">Notes<\/a><\/li>\n    <li><a href=\"#section-links\">Related articles<\/a><\/li>\n  <\/ol>\n<\/nav>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-download\">Download<\/h2>\n\n\n\n<div style=\"display:flex;flex-direction:column;gap:24px;margin:24px 0\">\n  <div>\n    <p style=\"text-align:center;margin:0 0 10px;color:#ccc;font-size:14px\">Download the MT5 build<\/p>\n    <a href=\"https:\/\/docs.traderis.me\/downloads\/TraderIsMe-Line-Alert-EA-MT5.zip\" download style=\"display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,#1d87d9,#146eb5);color:#fff;padding:20px 26px;border-radius:12px;text-decoration:none;font-weight:600;font-size:20px;box-shadow:0 2px 8px rgba(0,0,0,.15)\">\n      <span style=\"display:inline-flex;align-items:center;gap:12px\">\n        <svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\/><polyline points=\"7 10 12 15 17 10\"\/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\/><\/svg>\n        TraderIsMe-Line-Alert-EA-MT5.zip\n      <\/span>\n      <span style=\"background:#fff;color:#1d87d9;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px\">MT5<\/span>\n    <\/a>\n  <\/div>\n  <div>\n    <p style=\"text-align:center;margin:0 0 10px;color:#ccc;font-size:14px\">Download the MT4 build<\/p>\n    <a href=\"https:\/\/docs.traderis.me\/downloads\/TraderIsMe-Line-Alert-EA-MT4.zip\" download style=\"display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,#d97016,#b35912);color:#fff;padding:20px 26px;border-radius:12px;text-decoration:none;font-weight:600;font-size:20px;box-shadow:0 2px 8px rgba(0,0,0,.15)\">\n      <span style=\"display:inline-flex;align-items:center;gap:12px\">\n        <svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\/><polyline points=\"7 10 12 15 17 10\"\/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\/><\/svg>\n        TraderIsMe-Line-Alert-EA-MT4.zip\n      <\/span>\n      <span style=\"background:#fff;color:#d97016;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px\">MT4<\/span>\n    <\/a>\n  <\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:13px;color:#666\">\u203b Unzip the archive, then place the extracted .ex5 \/ .ex4 file in your MT data folder under <code>MQL5\/Experts\/<\/code> or <code>MQL4\/Experts\/<\/code> and refresh the Navigator.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-overview\">Overview<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Platforms<\/strong>: MetaTrader 4 \/ MetaTrader 5<\/li>\n<li><strong>Licensing<\/strong>: Heartbeat-based authentication tied to your TraderIsMe account (works on the FREE plan as well \u2014 see <a href=\"https:\/\/docs.traderis.me\/en\/docs\/free-ea-setup-guide\/\">How to Use the Free EAs<\/a>)<\/li>\n<li><strong>Markets<\/strong>: FX, CFDs, indices, commodities, crypto \u2014 any symbol your MT4 \/ MT5 broker can chart<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-features\">Key features<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Two horizontal lines (High and Low) drawn on the chart, each toggled on\/off from the panel buttons<\/li>\n<li>Set the price by typing it directly in the panel&#8217;s input field, or just drag the line on the chart<\/li>\n<li>On startup the lines auto-snap to the highest high \/ lowest low of the last N bars (50 by default)<\/li>\n<li>Three break-detection modes: <strong>Touch<\/strong>, <strong>Confirmed close<\/strong>, or <strong>Body or wick<\/strong><\/li>\n<li>Pick any combination of alert channels: popup, mobile push, LINE (Messaging API broadcast), and Discord (webhook)<\/li>\n<li>Discord alerts can include a chart screenshot<\/li>\n<li>Timestamps in alerts can use server time or JST<\/li>\n<li>Drag the panel anywhere on the chart; the initial corner (4 positions) is configurable<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-requirements\">Requirements<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MetaTrader 4 or MetaTrader 5 terminal<\/li>\n<li>A TraderIsMe account and an <strong>Account API Key<\/strong> (generate it on the <a href=\"https:\/\/app.traderis.me\/settings\">Settings page<\/a>)<\/li>\n<li>The following URLs added to the MT WebRequest allow list (depending on which alert channels you use):\n  <ul>\n    <li><code>https:\/\/app.traderis.me<\/code> (required, for the heartbeat)<\/li>\n    <li><code>https:\/\/api.line.me<\/code> (only if you use LINE alerts)<\/li>\n    <li><code>https:\/\/discord.com<\/code> (only if you use Discord alerts)<\/li>\n  <\/ul>\n<\/li>\n<li>For LINE alerts: a long-lived Channel Access Token from the LINE Messaging API<\/li>\n<li>For Discord alerts: a Discord channel webhook URL<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-usage\">Setup walkthrough<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Place <code>TraderIsMe-Line-Alert-EA.ex5<\/code> or <code>.ex4<\/code> in your MT data folder under <code>MQL5\/Experts\/<\/code> or <code>MQL4\/Experts\/<\/code>, then refresh the Navigator.<\/li>\n<li>Drag and drop the EA onto any symbol&#8217;s chart.<\/li>\n<li>On the <strong>Common<\/strong> tab, tick <strong>Allow Algo Trading<\/strong>. On the <strong>Inputs<\/strong> tab, paste your Account API Key into <code>InpAccountApiKey<\/code>. If you&#8217;re using LINE or Discord alerts, fill in the Access Token \/ Webhook URL too.<\/li>\n<li>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.<\/li>\n<li>When price reaches the line, the EA fires according to your break-mode setting and pushes alerts to every channel you&#8217;ve enabled.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-parameters\">Input parameters<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Panel<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>InpInitCorner<\/code><\/td><td>enum<\/td><td>Bottom-Left<\/td><td>Where the panel appears when the EA loads. One of Top-Left \/ Top-Right \/ Bottom-Left \/ Bottom-Right. Once loaded, the panel is freely draggable.<\/td><\/tr>\n<tr><td><code>InpGripColor<\/code><\/td><td>color<\/td><td>SlateGray<\/td><td>Color of the grip bar at the top of the panel (the drag handle).<\/td><\/tr>\n<tr><td><code>InpLookback<\/code><\/td><td>int<\/td><td>50<\/td><td>How far back to look when auto-snapping the High\/Low lines on startup. Uses the highest high \/ lowest low of the last N bars.<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Lines<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>InpHighColor<\/code><\/td><td>color<\/td><td>DodgerBlue<\/td><td>Color of the High line.<\/td><\/tr>\n<tr><td><code>InpLowColor<\/code><\/td><td>color<\/td><td>Red<\/td><td>Color of the Low line.<\/td><\/tr>\n<tr><td><code>InpLineWidth<\/code><\/td><td>int<\/td><td>2<\/td><td>Line thickness in pixels.<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Alerts<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>InpAlertPopup<\/code><\/td><td>bool<\/td><td>true<\/td><td>Show the standard MT popup alert.<\/td><\/tr>\n<tr><td><code>InpAlertPush<\/code><\/td><td>bool<\/td><td>true<\/td><td>Send a push notification to the MT mobile app (requires your MetaQuotes ID to be set in MT options).<\/td><\/tr>\n<tr><td><code>InpAlertLine<\/code><\/td><td>bool<\/td><td>false<\/td><td>Send an alert to LINE. Requires <code>InpLineAccessToken<\/code>.<\/td><\/tr>\n<tr><td><code>InpAlertDiscord<\/code><\/td><td>bool<\/td><td>false<\/td><td>Send an alert to Discord. Requires <code>InpDiscordWebhook<\/code>.<\/td><\/tr>\n<tr><td><code>InpSendScreenshot<\/code><\/td><td>bool<\/td><td>true<\/td><td>Attach a chart screenshot to Discord alerts.<\/td><\/tr>\n<tr><td><code>InpBreakMode<\/code><\/td><td>enum<\/td><td>Touch<\/td><td>How a break is detected. <strong>Touch<\/strong> (Bid touches the line), <strong>Close Confirmed<\/strong> (the closing price of a completed bar crosses the line), or <strong>Body or Wick<\/strong> (the high\/low of the current bar crosses the line).<\/td><\/tr>\n<tr><td><code>InpTimezone<\/code><\/td><td>enum<\/td><td>JST (UTC+9)<\/td><td>Timezone used for timestamps in alert messages: server time or JST.<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">LINE<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>InpLineAccessToken<\/code><\/td><td>string<\/td><td>&#8220;&#8221; (empty)<\/td><td>Long-lived Channel Access Token from the LINE Messaging API. Alerts are broadcast to every friend of your LINE Official Account \u2014 no user IDs required.<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Discord<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>InpDiscordWebhook<\/code><\/td><td>string<\/td><td>&#8220;&#8221; (empty)<\/td><td>Webhook URL for the target Discord channel. Generate one under Server Settings \u2192 Integrations \u2192 Webhooks.<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Subscription<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>InpAccountApiKey<\/code><\/td><td>string<\/td><td>&#8220;&#8221; (empty)<\/td><td>Your TraderIsMe Account API Key. Generate the UUID on the <a href=\"https:\/\/app.traderis.me\/settings\">Settings page<\/a> and paste it here. Used for heartbeat authentication.<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-notes\">Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Heartbeat authentication<\/strong>: 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 \u2014 but EA functionality is never restricted.<\/li>\n<li><strong>Available on every plan<\/strong>: Works on FREE \/ BASIC \/ PRO. FREE users will see a periodic notification dialog in MetaTrader; subscribing to BASIC or PRO silences it (see <a href=\"https:\/\/docs.traderis.me\/en\/docs\/free-ea-setup-guide\/\">How to Use the Free EAs<\/a>).<\/li>\n<li><strong>WebRequest URL whitelist<\/strong>: Under <strong>Tools \u2192 Options \u2192 Expert Advisors<\/strong> in MT, <code>https:\/\/app.traderis.me<\/code> is mandatory. Add <code>https:\/\/api.line.me<\/code> and\/or <code>https:\/\/discord.com<\/code> if you use those alert channels.<\/li>\n<li><strong>Break behavior<\/strong>: Once a line is broken, it&#8217;s hidden automatically and no further alerts fire on the same side. Toggle the line back on from the panel to re-arm detection.<\/li>\n<li><strong>Mobile push notifications<\/strong>: Set your MetaQuotes ID under <strong>Tools \u2192 Options \u2192 Notifications<\/strong> in MT \u2014 that&#8217;s the ID of your MetaTrader mobile app.<\/li>\n<li><strong>About LINE alerts<\/strong>: The legacy &#8220;LINE Notify&#8221; service has been retired, so this EA uses LINE Messaging API broadcasts instead. You&#8217;ll need to create a LINE Official Account and get a long-lived Channel Access Token.<\/li>\n<li><strong>Symbol coverage<\/strong>: Works on every symbol your MT4 \/ MT5 broker can chart.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"section-links\">Related articles<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.traderis.me\/en\/docs\/free-ea-setup-guide\/\">How to Use the Free EAs (Common Setup Guide)<\/a> \u2014 heartbeat, plan requirements, account API key<\/li>\n<li><a href=\"https:\/\/docs.traderis.me\/en\/docs\/auto-lots-calculation-ea-mt5\/\">Auto Lots Calculation EA (MT4\/MT5) \u2014 Features and Parameters<\/a><\/li>\n<li><a href=\"https:\/\/docs.traderis.me\/en\/docs\/mt-data-sync-setup\/\">Set Up MT4\/MT5 Data Sync<\/a> (data sync EA)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Download<\/h2>\n\n\n\n<div style=\"display:flex;flex-direction:column;gap:24px;margin:24px 0\">\n  <div>\n    <p style=\"text-align:center;margin:0 0 10px;color:#ccc;font-size:14px\">Download the MT5 build<\/p>\n    <a href=\"https:\/\/docs.traderis.me\/downloads\/TraderIsMe-Line-Alert-EA-MT5.zip\" download style=\"display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,#1d87d9,#146eb5);color:#fff;padding:20px 26px;border-radius:12px;text-decoration:none;font-weight:600;font-size:20px;box-shadow:0 2px 8px rgba(0,0,0,.15)\">\n      <span style=\"display:inline-flex;align-items:center;gap:12px\">\n        <svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\/><polyline points=\"7 10 12 15 17 10\"\/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\/><\/svg>\n        TraderIsMe-Line-Alert-EA-MT5.zip\n      <\/span>\n      <span style=\"background:#fff;color:#1d87d9;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px\">MT5<\/span>\n    <\/a>\n  <\/div>\n  <div>\n    <p style=\"text-align:center;margin:0 0 10px;color:#ccc;font-size:14px\">Download the MT4 build<\/p>\n    <a href=\"https:\/\/docs.traderis.me\/downloads\/TraderIsMe-Line-Alert-EA-MT4.zip\" download style=\"display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,#d97016,#b35912);color:#fff;padding:20px 26px;border-radius:12px;text-decoration:none;font-weight:600;font-size:20px;box-shadow:0 2px 8px rgba(0,0,0,.15)\">\n      <span style=\"display:inline-flex;align-items:center;gap:12px\">\n        <svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\/><polyline points=\"7 10 12 15 17 10\"\/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\/><\/svg>\n        TraderIsMe-Line-Alert-EA-MT4.zip\n      <\/span>\n      <span style=\"background:#fff;color:#d97016;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px\">MT4<\/span>\n    <\/a>\n  <\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:13px;color:#666\">\u203b Unzip the archive, then place the extracted .ex5 \/ .ex4 file in your MT data folder under <code>MQL5\/Experts\/<\/code> or <code>MQL4\/Experts\/<\/code> and refresh the Navigator.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>TraderIsMe-Line-Alert-EA is a MetaTrader EA that lets you draw High and Low horizontal lines on a chart and fi &#8230; <a title=\"Line Alert EA (MT4\/MT5) \u2014 Features and Parameters\" class=\"read-more\" href=\"https:\/\/docs.traderis.me\/en\/docs\/line-alert-ea-mt5\/\" aria-label=\"Line Alert EA (MT4\/MT5) \u2014 Features and Parameters \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[9],"doc_tag":[],"class_list":["post-18","docs","type-docs","status-publish","hentry","doc_category-free-ea"],"year_month":"2026-06","word_count":1026,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":[],"doc_category_info":[{"term_name":"Free EAs","term_url":"https:\/\/docs.traderis.me\/en\/docs-category\/free-ea\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":1,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs\/18\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs\/18\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/doc_category?post=18"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/doc_tag?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}