Users can configure trendlines and horizontal lines to trigger buy or sell orders upon price touch, breakout, or retest. The EA includes a graphical user interface to manage lot sizes and provides draggable on-chart lines for setting stop loss and take profit levels. It also features utility buttons for the bulk closing of buy, sell, or all open positions and includes hotkeys for rapid object placement.
Read from SEMI AUTOMATIC LINE.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpDefaultOrderType
ENUM_TL_ORDER_TYPE
BuyTouch
デフォルト注文方法
InpDefaultLotSize
double
0.1
デフォルトロットサイズ
InpDefaultAlertFlag
bool
true
デフォルトでアラートをONにする
InpTrendlineHotkey
string
T
トレンドラインのショートカットキー
InpTrendlineColor
color
clrRed
トレンドラインの色
InpTrendlineWidth
int
2
トレンドラインの太さ
InpHorizonlineHotkey
string
H
水平線のショートカットキー
InpHorizonlineColor
color
clrYellow
水平線の色
InpHorizonlineWidth
int
2
水平線の太さ
InpChkBreakoutOnBarClose
bool
false
break注文のブレイク判定を足確定まで?
InpMAStopOnBarClose
bool
false
MA決済注文のブレイク判定を足確定まで?
InpMATPSLInfo_FontSize
int
10
Show all 15 inputs
Name
Type
Default
Description
InpMATPSLInfo_FontColor
color
clrRed
InpTrailingStopInfo_FontSize
int
10
InpTrailingStopInfo_FontColor
color
clrRed
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone DonJ92/MT5_Line_Trading_EA from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This utility for MetaTrader 4 and 5 automates trade execution based on trader-defined chart patterns. Users draw trendlines, horizontal lines, or channels, which the expert advisor monitors to place pending breakout orders. It handles trade entries, stop losses, and take profits according to specific object naming conv
PR Pivots Expert Advisor is a technical tool for MetaTrader 4 that calculates and displays daily pivot points on the chart. Using price data from the previous trading day, including high, low, and close values, it plots the central pivot level along with three resistance and three support levels. The software uses grap
Tao Stock Simple Arrow is a MetaTrader 4 expert advisor that serves as a visual signal generator for price breakouts. The program identifies the highest and lowest price levels within the most recent 100 candles. If the current price breaks these established boundaries, it places buy or sell arrow objects directly on t
This risk management tool for MetaTrader 4 and 5 calculates optimal lot sizes based on user-defined risk parameters, account balance, and currency. It provides a graphical user interface for setting entry, stop loss, and take profit levels visually on the chart. The expert advisor accounts for commissions, swaps, and m
This MetaTrader 5 tool acts as a discretion helper for manual traders to simplify order execution. It automates trade entries by applying calculated risk percentages and setting predefined stop loss and take profit values in pips. The utility features integrated trailing stop functionality, allowing users to define spe
This MetaTrader 5 utility is a comprehensive manual trading panel and risk management suite. It simplifies order execution by calculating lot sizes based on a defined risk percentage of account equity. Users can manage trades via automated break-even points, multi-mode trailing stops including Fractals, Moving Averages