One-Click Trade Pro provides a robust graphical interface to open market and pending orders with one click. Users can execute trades via standard buttons, chart-based lines, or opposite order distance settings. The tool calculates optimal lot sizes based on percentage risk relative to account balance, equity, or free margin. It also serves as a trade manager, allowing users to browse open positions, modify stop loss and take profit levels, and view magic numbers.
Read from MQLTA MT4 One-Click Trade Pro.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Comment_1
string
====================
One-Click Trade
IndicatorName
string
OCTP
Indicator Name (used to draw objects)
Comment_2
string
====================
Default Settings
DefaultMarketPending
DEF_MARKPEND
Market
Default Type of Order
DefaultLotSize
double
1
Default Lot Size
DefaultLotStep
double
1
Default Increment/Decrement of size
MaxLotSize
double
100
Maximum Allowed Position Size
DefaultSLBy
DEF_SL
ByPts
Default Stop Loss Type
DefaultSLPts
int
0
Default Stop Loss in Points
DefaultTPPts
int
0
Default Take Profit in Points
DefaultMagic
int
0
Default Magic Number
DefaultComment
string
Default Comment
Show all 40 inputs
Name
Type
Default
Description
DefaultRiskPerc
double
2
Default % of Risk
DefaultRiskBase
DEF_PERCCALC
Balance
Default Risk Calculation Base
DefaultTakeScrenshot
bool
false
Default Take Screenshot Option
ScreenshotRes
SCRSHOT_RES
CURRENT
Default Screenshot Resolution
DefaultOrdersPerPage
int
10
Default Orders per page to show
Slippage
int
10
Slippage (in Points)
ShowMsg
bool
false
Enable Order Confirmation Message
UseRecommended
bool
false
Always Use Recommended Size When Available
Comment_2a
string
====================
Additional Default For Pending Opposite
DefaultPendingOppStartMode
ENUM_PENDING_START_PRICE_MODE
PENDING_START_CURRENT
Default Start Price
DefaultPendingOrderSide
ENUM_PENDING_SIDE
PENDING_BUYSELL
Default Pending Order Side
DefaultPendingOrderType
ENUM_PENDING_TYPE
PENDING_STOP
Default Pending Order Type
DefaultPendingBuyPrice
ENUM_PRICE_FOR_PENDING
PRICE_ASK
Default Price Used For Buy Pending
DefaultPendingSellPrice
ENUM_PRICE_FOR_PENDING
PRICE_BID
Default Price Used For Sell Pending
DefaultPendingOrderDistance
int
500
Default Pending Order Distance
Comment_2b
string
====================
Additional Default For Lines Order
DefaultOrderLineSide
ENUM_LINE_ORDER_SIDE
LINE_ORDER_BUY
Default Order Side
DefaultOrderLineType
ENUM_LINE_ORDER_TYPE
LINE_ORDER_MARKET
Default Order Type
LineOpenPriceColor
color
clrGray
Open Price Line Color
LineSLPriceColor
color
clrRed
Stop Loss Price Line Color
LineTPPriceColor
color
clrGreen
Take Profit Price Line Color
LineStyle
ENUM_LINE_STYLE
STYLE_DASH
Line Style
Comment_4
string
====================
Colors and Position
OpenBuyColor
color
clrGreen
Open Buy Order Color
OpenSellColor
color
clrRed
Open Sell Order Color
Xoff
int
20
Horizontal spacing for the control panel
Yoff
int
20
Vertical spacing for the control panel
NOFontSize
int
8
Font Size
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone EarnForex/One-Click-Trade-Pro from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 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 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
NNFX Backtest C1 is a specialized utility for MetaTrader 4 designed to evaluate external confirmation indicators using the No Nonsense Forex methodology. It enables users to backtest custom indicators by defining signal logic such as two-line crossovers, zero-line crosses, or histogram changes. The system manages risk
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
LediaEA Trading Assistant is a MetaTrader 4 utility designed to facilitate manual trade execution and risk management. It provides a graphical interface for calculating lot sizes based on a fixed currency amount or a percentage of account balance or equity. The tool automatically detects order types, including market a
A notification utility for MetaTrader 4 that monitors multiple technical indicators to generate trade alerts. It tracks moving average crossovers, specifically the 50 and 200 periods, along with Relative Strength Index levels, Bollinger Band breakouts, and MACD confirmations. Users can configure the tool to send notifi
Timed Order is a utility expert advisor that schedules market or pending orders to be executed at a specific time. It supports one-time execution or daily recurring trades on specified days of the week. The EA allows setting stop-loss and take-profit levels using fixed prices, point distances, ATR multipliers, or sprea