This script answers one question before every trade: how many lots should I open so that a stop loss hit loses exactly the percentage of my account that I decided to risk?

You drop it on a chart, set the risk percent and the stop loss distance in points, and it shows the lot size in a panel on the chart. The calculation uses OrderCalcProfit(), so the tick value, the contract size and the account currency are handled by the platform. It works on forex pairs, gold, indices and crypto without any symbol specific setting.
The script takes the risk base (equity, balance or free margin) and multiplies it by the risk percent to get the amount of money you accept to lose. It then asks the platform how much 1 lot would lose if the price moves from the entry price to the stop loss, and divides the two numbers. The result is rounded down to the volume step of the symbol and kept between its minimum and maximum lot, so the real risk never goes above what you asked for.
If the exact lot is below the broker minimum, the panel shows a warning, because the minimum lot risks more than you asked. A second warning appears when the free margin is not enough for the calculated lot.
The script does not open, modify or close any trade. It only reads the account and symbol information and draws the panel.
Portfolio Allocation Planner — budget-to-lots dashboard and CSV
Before configuring a basket, see which target weights fit your broker's minimum lots. Portfolio Allocation Planner turns an explicit hypothetical notional budget and percentages into a chart table: minimum-lot notional, lots rounded down, calculated allocation, target shortfall and row status. Recalculate on demand, inspect row tooltips, paginate longer lists, and optionally export the displayed snapshot to CSV. No trades are sent and no account balance, equity or positions are read.
Broker Basket Preflight — read-only contract and minimum-volume diagnostics
Read-only MT5 script for exact Market Watch symbols: contract and volume rules, quote age and spread, isolated BUY/SELL margin, one-tick price moves and spread-only results in account currency. MIT source; Experts journal output.
VelaMayor MTF - Higher Timeframe Candle Overlay
Overlay higher timeframe candles directly onto your lower timeframe charts with customizable body fills, independent borders, and precise wicks. Effortlessly spot macro bias, session openings, and liquidity ranges without switching screens. Ultra-lightweight engine featuring separated box bounds and rock-solid chart change auto-recovery.
Margin Risk Simulator
Shows the prices of the current symbol at which the account reaches margin call and stop out, with a what-if mode for extra volume, the maximum volume you can add and pending orders that trigger on the way.