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 — all from a draggable on-chart panel.

Features
- ATR-based SL/TP — Stop loss and take profit calculated from ATR with configurable multipliers (default: SL = 0.5×ATR, TP = 3×ATR)
- Automatic position sizing — Lot size calculated to risk exactly 2% of account balance (configurable)
- One-click execution — BUY/SELL buttons with instant order placement, SL/TP set via OrderModify
- Draggable panel — Dark-themed on-chart panel showing ATR, spread, entry, SL, TP, lot size, risk amount, and R:R ratio
- Visual SL/TP/Entry lines — Horizontal lines drawn on chart for clear trade visualization
- Spread-aware — SL and TP distances include the current spread automatically
- Safety checks — Margin verification, stop level validation, and clear error messages
Configurable Inputs
- ATR Period (default: 14)
- Risk % (default: 2.0%)
- SL multiplier (default: 0.5× ATR)
- TP multiplier (default: 3.0× 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 → File → 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.