Position sizing is the arithmetic that turns a stop distance and an account balance into the cash amount a trade is allowed to lose. The library does it in one static call: risk money over what one lot loses at your stop, floored to the volume step, capped against free margin.
The four risk bases
How the lot is produced
The daily loss base
What you supply
Where it stops
Good to know
TradeGuard - Reliable Order Execution: No Duplicates, Safe Retries, Restart Recovery
A one-file library that handles how an EA trades: pre-trade checks, normalisation to broker limits, safe retries, one order per signal, isolation by magic number and state recovery after a restart. Lot by risk, daily loss limit and equity floor included. Verified in the Strategy Tester.
Rolling VWAP Deviation Regime Filter
A regime-classification oscillator that measures how far, and how persistently, price deviates from a rolling volume-weighted VWAP in standard-deviation units, separating trending conditions from ranging ones.
Auto Fibo Extended
Auto Fibo Extended is a MetaTrader 5 indicator designed to automatically identify significant swing highs and swing lows and draw Fibonacci Retracement and Extension levels directly on the chart.
Close All Positions Panel
Close all positions panel for MT5: seven buttons to close all, buys, sells, winners, losers, the chart symbol or delete pending orders, on Gold (XAUUSD), forex or any symbol, for manual trades and any EA. Open source code.