Risk Calculator Panel is a position size calculator for MetaTrader 5. Instead of typing prices, you drag a Stop Loss line on the chart and the panel immediately shows the correct lot size for the risk you choose. It is an indicator, so it never opens, closes or modifies trades.

Figure 1. Risk Calculator Panel on EURUSD H1: drag the red SL line and read the lot size
How to use
What the panel shows
The calculation uses the symbol's tick size and tick value, which the terminal already converts into your account currency. This makes it correct for forex majors, crosses, metals, indices and crypto without any manual settings.
Input parameters
| Input | Description |
| InpRiskPercent | risk per trade in percent (default 1.0). |
| InpRiskBase | calculate the risk from Balance, Equity or Free margin. |
| InpFixedRisk | fixed risk in account currency; a value above 0 overrides the percentage. |
| InpSLPoints, InpTPPoints | initial distance of the lines in points (TP 0 hides the TP line). |
| InpPanelX, InpPanelY, InpFontSize | panel position and size. |
| InpPanelColor, InpTextColor, InpSLColor, InpTPColor | colors. |
The lines keep their position when you change the timeframe. Removing the indicator removes all of its objects from the chart.
Volatility-Adjusted Momentum Decay Line
A momentum oscillator that relaxes back toward zero at a speed set by the current ATR relative to its own moving average, so decay speed adapts automatically to whether the market is calm or volatile.
Simple Anchored VWAP - Institutional Volume Benchmark
Clean and efficient Anchored VWAP (AVWAP) indicator for MetaTrader 5. Calculates volume-weighted average price from a user-defined anchor date with optional volatility standard deviation bands.
Fractal Dimension Trend Strength Index
A rolling, Katz-style fractal dimension of price that collapses toward 1.0 during directional moves and rises toward 2.0 during choppy, range-bound action, giving traders a single number for how "trendy" the current market is.
BotGuard - Terminal Health Heartbeat for VPS Monitoring
A lightweight, non-trading Expert Advisor that writes a JSON health heartbeat (connection, AutoTrading state, equity, daily P/L) and an equity log, so a VPS watchdog can detect frozen or disconnected terminals and alert you.