TRAIDJIM

Quantower Features

Risk Guard for Quantower

A free strategy that enforces a daily losing-trade cap, a daily loss in dollars, and an optional contract limit. After a limit it flattens and blocks new orders until the day resets at 18:00 New York. It complements the beta Risk Manager in Quantower 1.147.11. It is not a broker limit and not financial advice.

Version
v1.0
Build date
2026-11-21
Download
RiskGuard-Quantower-v1.0.zip (42 KB)

v1.0 – new release, test on a demo/sim account first

Use at your own risk. Risk Guard is free and provided as is, with no warranty. It is not financial advice. It can flatten positions and block new orders after a limit. It is a discipline aid, not tamper-proof security, and not a substitute for the prop firm's or broker's own limits. Test on a demo or sim account first.

Risk Guard banner and a daily loss-limit band

What it does

  • Max losing trades per day (default 3). A breakeven trade counts as a loss only if you turn that on.
  • Max daily loss in dollars (default $500). Open P&L and commissions are off unless you turn them on.
  • Max contracts per symbol (default off). When it is on, the position plus working orders on the same side cannot go past that number.
  • After a daily limit: alert, cancel orders, flatten, and reject new or modified orders that would open or increase a position. Cancels, closes, and reduce-only orders such as a stop or target still pass.
  • The lock lasts until the trading-day reset, default 18:00 New York. State is kept in %AppData%\RiskGuard\, so restarting Quantower does not clear the day.
  • A password, stored only as a salted hash, is required to loosen limits, unlock early, or turn the guard off. Making a limit stricter does not need the password.

Requirements

Quantower 1.147.11 on Windows. Built against that version. A later Quantower build may need a new compile. RiskGuard.dll is a strategy. RiskGuardBanner.dll is an optional chart indicator.

Install

  1. Close Quantower.
  2. Copy RiskGuard.dll to C:\Quantower\Settings\Scripts\Strategies\ (create the folder if it is missing).
  3. Optional: copy RiskGuardBanner.dll to C:\Quantower\Settings\Scripts\Indicators\.
  4. Start Quantower and connect.

Run

  1. Control Center, Strategies Manager, +, Risk Guard.
  2. Open its settings and set the limits.
  3. Type a password into New password. Ideally someone else picks it and keeps it.
  4. Press Start. Status shows in Metrics and in the log.
  5. Optional: add the Risk Guard Banner indicator to a chart. Green means OK, orange means warning, red means locked until the day reset.

Quantower only lets you edit settings while the strategy is stopped. Changes apply on the next Start. Stopping the strategy without the password does not turn protection off. It keeps running in the background until Quantower closes.

When a limit is hit

You get an alert, a deal ticket, and a sound. Working orders are cancelled and the account is flattened. Flatten retries about every 15 seconds while a position remains. Until the reset, a new or modified order that would open or increase a position is rejected. A warning can fire at 80% of the loss limit, and one losing trade before the trade cap, unless you turn the warning off.

Test on a demo or sim account first

  1. Set the losing-trade limit to 1.
  2. Set a small daily loss limit.
  3. Set max contracts to 1. A 2-lot entry should be rejected. A stop or target should pass.
  4. While locked, confirm you can still close and cancel.
  5. Restart Quantower and confirm the lock is still there.
  6. Start mid-day and confirm today's trades are picked up.
  7. Try to loosen a limit without the password. The change should be reverted on Start.

Limitations

  • This is a discipline aid, not tamper-proof security. Deleting the DLL or %AppData%\RiskGuard\, reinstalling, or trading on another platform bypasses it.
  • It only sees orders sent through this Quantower. A hard limit still has to come from the prop firm or the broker.
  • A trade is a flat-to-flat position. P&L is computed from fill prices and can differ slightly from the broker statement.
  • Trades from before you press Start are read from Quantower's local trade cache, the same cache as the Trades panel. Otherwise counting starts at launch.

Changelog

v1.0

  • First public build. Daily losing-trade cap, daily loss, optional contract limit, flatten and block until 18:00 New York, and a password on loosening the limits.

Other Quantower features