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.

ST Risk Calculator panel on MT4 chart showing ATR, entry, SL, TP, lot size, risk, and R:R ratio
The EA panel on a DJ30 chart showing a SELL setup

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

Read the User Guide →


Installation

  1. Download the .ex4 file
  2. Open MT4 → File → Open Data Folder
  3. Copy to MQL4/Experts/
  4. Restart MT4 or refresh Navigator
  5. Drag EA onto any chart
  6. Enable AutoTrading

More tools coming soon. All tools are free, open-source, and provided as-is with no warranty. Use at your own risk.