K-Line Position Management Panel automatically applies stop losses to new orders and features a trailing stop mechanism to manage open trades. Notable management tools include one-click break-even and the ability to close a specific percentage of an open position. The interface also displays a countdown timer for the current candle close. Users can customize visual settings such as panel coordinates, font size, and button colors through the input parameters.
Read from 仓位面板+跟踪止损.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
DefaultLot
double
0.05
仓位大小
Inp_Slippage
int
50
滑点
Inp_Magic
ulong
20260405
魔术码
StopLoss_Pips
int
200
止损点数
PANEL_X
int
5
整个面板左右位置
PANEL_Y
int
280
整个面板上下位置
FONT_SIZE
int
18
倒计时字体大小
InpTrailingStep
int
150
追踪步长
COL_PANEL_BG
color
clrLightBlue
面板背景色
COL_PANEL_BORDER
color
clrSteelBlue
面板边框色
COL_BTN_BUY_BG
color
clrDodgerBlue
买多按钮背景
COL_BTN_SELL_BG
color
clrRed
卖空按钮背景
Show all 20 inputs
Name
Type
Default
Description
COL_BTN_FUNC_BG
color
clrCyan
功能按钮背景
COL_BTN_CLOSE_BG
color
clrSlateBlue
平仓按钮背景
COL_BTN_LOT_BG
color
clrRoyalBlue
手数按钮背景
COL_BTN_BUY_PART
color
clrMediumSlateBlue
多单分批背景
COL_BTN_SELL_PART
color
clrLightPink
空单分批背景
COL_TEXT_WHITE
color
clrWhite
白色文字
COL_TEXT_BLACK
color
clrBlack
黑色文字
COL_COUNTDOWN
color
clrRed
倒计时文字颜色
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone 15287871491/MT4-MT5-K- from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
3Copy the filesCopy the .mq4 / .mq5 file into Experts.
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 MetaTrader expert advisor functions as a trade manager that automates stop loss adjustments for existing positions. It specifically waits until a trade reaches a user-defined profit threshold in points before initiating a trailing stop. The tool includes flexible filtering options to manage specific symbols, magic
Trader Pad is a trade management utility for MetaTrader 5 designed to automate position exits and risk control after an entry is initiated. The software handles stop-loss and take-profit placement in ticks, providing advanced trailing stop logic and break-even functionality. It allows users to scale out of positions th
This trade manager for MetaTrader 4 and 5 automatically adjusts the stop-loss levels of open positions using the Average True Range indicator. It allows users to define the trailing distance through a configurable ATR period and multiplier. The expert advisor includes filtering logic to apply the trailing stop only to
PSAR Trailing Stop is a management utility for MetaTrader 4 and 5 that automates the adjustment of stop-loss levels for open positions. Instead of manual movement, it follows the Parabolic SAR indicator values to lock in profits or minimize losses as a trend progresses. The software includes filtering options to target
This expert advisor is a utility for MetaTrader 4 and MetaTrader 5 designed to manage stop-loss levels for existing trades. It utilizes Bill Williams' Fractals indicator to dynamically adjust the stop loss as new fractal points form on the chart. Users can configure the number of bars to scan and specify which fractal
This visual trade management utility for MetaTrader 5 assists manual traders with order execution and risk management. It features interactive chart lines for entry, stop loss, and take profit levels, allowing for drag-and-drop price adjustments. The system automatically calculates position sizes based on a defined per