Perpetual Stop-Loss Auto-Setter
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Perpetual Stop-Loss Auto-Setter watches the current perpetual trading page for the user's wallet address and open position, reads the user's position data (entry price, direction, collateral, leverage) from the perpetual contract on-chain, calculates the recommended stop-loss price based on user's risk tolerance and position parameters, monitors current price against the stop-loss level, and displays alerts with stop-loss recommendations, distance to stop-loss, and execution recommendations when the position approaches the stop-loss. The tool connects to the user's wallet via window.ethereum, reads the user's position data from the perpetual contract, calculates the recommended stop-loss price using the formula based on entry price, direction, and risk tolerance, calculates the distance between current price and stop-loss, determines if the position is approaching the stop-loss, and provides clear recommendations for manual execution.
WHERE IT RUNS
The tool runs as a panel inside your browser on GMX perpetual trading pages at https://app.gmx.io/*. It works on GMX trading pages where the user has an open position. The tool connects to your real EVM wallet extension (MetaMask, WalletConnect, or any wallet injecting window.ethereum) to read on-chain data via eth_call and the ethers library loaded at runtime. No data is sent to any external server; all reads happen directly from the blockchain through your wallet provider.
HOW TO USE
Install the BotGentz extension, navigate to GMX, open a perpetual position, and open the Perpetual Stop-Loss Auto-Setter panel. Set your risk tolerance percentage (default 2%) — the tool will calculate the stop-loss price based on this percentage away from your entry price. Select your stop-loss type from the dropdown — Fixed (static price) or Trailing (moves with price). Select your monitoring interval from the dropdown — 10, 15, 30, or 60 seconds. Choose your alert preference — Panel only, Browser notification, or Both. Toggle "Auto-check on page load" if you want the tool to analyze automatically when you open the panel. Click "Set Stop-Loss" — the tool reads your position data from the perpetual contract, calculates the recommended stop-loss price based on your risk tolerance and position direction, calculates the distance to the stop-loss, and displays a comprehensive analysis with stop-loss recommendations. When the position approaches the stop-loss, the tool triggers alerts with the stop-loss price and distance. The stop-loss monitor updates automatically at your chosen interval. Click "Refresh" to manually update the stop-loss status.
MECHANISM — STOP-LOSS CALCULATION WITH RISK TOLERANCE AND POSITION DIRECTION
This tool uses a stop-loss calculation engine that determines optimal stop-loss levels based on user-defined risk parameters. The system first connects to window.ethereum and requests the user's wallet address. It reads the user's position data (entry price, direction) from the perpetual contract via eth_call. The stop-loss price is calculated using the formula: For long positions, SL = entryPrice * (1 - riskPct / 100). For short positions, SL = entryPrice * (1 + riskPct / 100). The tool then calculates the distance from the current price to the stop-loss as a percentage. The urgency classification uses a multi-tier system: HIT (price crosses stop-loss), APPROACHING (distance ≤ riskPct * 1.5), or SAFE (distance > riskPct * 1.5). Recommendations are generated based on the urgency, helping users decide whether to close the position, adjust the stop-loss, or let the position run.
THE PANEL
The BotGentz panel is fully draggable, allowing you to position it anywhere on your screen without obstructing the GMX interface. It includes per-site position memory, so the panel returns to your preferred location each time you visit the exchange. Snap-to-edge functionality lets you dock the panel to any side of the browser window. The panel collapses to a compact icon when not in use and expands with a single click. You can resize it to your preferred dimensions, and pressing the Escape key instantly closes the panel. All interactions are smooth and intuitive, designed to work alongside your trading workflow.
PLEASE NOTE
This tool requires the free BotGentz extension and a real EVM wallet extension (such as MetaMask) already installed in your browser. EVM chains only — currently supports Ethereum mainnet and compatible networks. This is a monitoring and alert tool only — it does not execute stop-loss transactions automatically. The tool cannot guarantee that the displayed stop-loss price matches the exact moment of execution due to price changes. It cannot account for slippage or price impact during execution. It cannot read position data from perpetual protocols other than GMX. It cannot predict price movements or stop-loss timing. It cannot read private wallet information or trading intentions. All blockchain reads are performed directly through your wallet provider; no data is stored or transmitted beyond your browser. Websites change their layouts and content structures regularly; while we continuously update the extraction logic, some pages may require script updates. Always verify all stop-loss levels, position details, and risk parameters independently before taking any action based on the dashboard.