=== Prop Firm Drawdown Calculator ===
Contributors: spectarfx
Tags: calculator, trading, drawdown, forex, prop firm
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A daily loss limit and drawdown calculator for prop firm style trading accounts. Add it with a shortcode. Runs in the browser.

== Description ==

Many funded and prop firm style trading accounts have a daily loss limit and a maximum drawdown. This plugin adds a small calculator to any post or page so your readers can work out:

* the daily loss floor for today and the allowance behind it,
* the room left before the nearest floor,
* their own stop level if they keep part of the daily allowance unused,
* the maximum drawdown floor.

Add it with the shortcode:

`[prop_drawdown_calculator]`

Optional starting values:

`[prop_drawdown_calculator account="50000" daily="4" max="8"]`

**Privacy:** everything is calculated in the visitor's browser. The plugin makes no external requests, loads nothing from other servers, sets no cookies and stores nothing about visitors.

**Credit link:** a small "Calculator by Spectar FX" link can be shown under the calculator. It is **off by default** and appears only if you turn it on under Settings > Drawdown Calculator.

The calculator shows arithmetic only. It is not financial advice and not a suggestion for how to trade. Rules differ between firms; readers should check their own.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install it from the Plugins screen.
2. Activate it.
3. Put `[prop_drawdown_calculator]` in any post or page.

== Frequently Asked Questions ==

= Does it send any data? =

No. There are no external requests. All numbers stay in the visitor's browser.

= Can I change the starting values? =

Yes, with the `account`, `daily` and `max` shortcode attributes.

= Is the credit link required? =

No. It is off unless you switch it on.

== Changelog ==

= 1.0.0 =
* First release.
