MT4 Tools
Free MetaTrader 4 indicators, EAs, and utilities. Source code included.
ST Risk Calculator v2.02
Expert Advisor (EA) • Requires MetaTrader 4
ATR-based risk calculator with one-click trade execution. Calculates position size automatically based on your account balance and risk percentage, then places the trade with proper SL/TP levels u2014 all from a draggable on-chart panel.

Features
- ATR-based SL/TP u2014 Stop loss and take profit calculated from ATR with configurable multipliers (default: SL = 0.5u00d7ATR, TP = 3u00d7ATR)
- Automatic position sizing u2014 Lot size calculated to risk exactly 2% of account balance (configurable)
- One-click execution u2014 BUY/SELL buttons with instant order placement, SL/TP set via OrderModify
- Draggable panel u2014 Dark-themed on-chart panel showing ATR, spread, entry, SL, TP, lot size, risk amount, and R:R ratio
- Visual SL/TP/Entry lines u2014 Horizontal lines drawn on chart for clear trade visualization
- Spread-aware u2014 SL and TP distances include the current spread automatically
- Safety checks u2014 Margin verification, stop level validation, and clear error messages
Configurable Inputs
- ATR Period (default: 14)
- Risk % (default: 2.0%)
- SL multiplier (default: 0.5u00d7 ATR)
- TP multiplier (default: 3.0u00d7 ATR)
- ATR timeframe (default: current chart)
- Max slippage (default: 2 pips)
- Panel & line colors fully customizable
Download
Version 2.02 • Feb 2026
Installation
- Download the .ex4 file
- Open MT4 u2192 File u2192 Open Data Folder
- Copy to
MQL4/Experts/ - Restart MT4 or refresh Navigator
- Drag EA onto any chart
- Enable AutoTrading
More tools coming soon. All tools are free, open-source, and provided as-is with no warranty. Use at your own risk.