# Breach Rules

The **Breach Rules** section defines the conditions that will cause an account to breach the program. These rules help enforce consistent trading behavior and risk control.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FFwlPReWOcdiqDHqIlHnB%2FFrame%201000004899.png?alt=media&#x26;token=a8e0435f-ee15-47fe-8236-f4e03edef093" alt=""><figcaption></figcaption></figure>

Once the program starts, all active breach rules will be monitored automatically. If any rule is violated, the account will be marked as **Breached**.

## Lowest Allowed Equity

**Lowest Allowed Equity** a.k.a. **Maximum Drawdown Equity** sets a minimum threshold for active equity. If the trader's current equity falls below the defined limit, the account will breach.

Formula:

```
Active Equity < Lowest Allowed Equity
```

Used to measure maximum drawdown based on real-time equity performance.

## Lowest Allowed Balance

**Lowest Allowed Balance** is similar to equity drawdown, this rule is based on balance. If the active balance drops below the set threshold, a breach is triggered.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FoFwadDTJ2xw3Jc8xbu25%2FDialog%20-%20add%20breach%20rules%20-%20activate.png?alt=media&#x26;token=9e442193-85c5-4848-912a-a26c82f41216" alt=""><figcaption></figcaption></figure>

Formula:

```
Active Balance < Lowest Allowed Balance
```

Used to calculate drawdown using account balance instead of equity.

## Daily Drawdown

This rule limits the maximum loss allowed within a single trading day.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FTVq9e8mspOwiCUKA6J6C%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(1).png?alt=media&#x26;token=a965c480-4316-470c-98ed-ffcca524f598" alt=""><figcaption></figcaption></figure>

It can be calculated using different reference values:

### Based on Recorded Balance

Compares the current equity to the recorded balance at a predefined reset time.

Formula:

```
Daily Drawdown = ((Recorded Balance - Active Equity) / Recorded Balance) * 100%
```

### Based on Recorded Equity

Compares the current equity to the recorded equity snapshot at reset time.

Formula:

```
Daily Drawdown = ((Recorded Equity - Active Equity) / Recorded Equity) * 100%
```

If the reset time has not been reached, the initial balance will be used:

```
Daily Drawdown = ((Initial Balance - Active Equity) / Initial Balance) * 100%
```

## Trailing Daily Drawdown

Limits the maximum intraday loss based on the highest equity reached during the same day. As equity increases, the drawdown threshold moves accordingly.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FnpsIw4SZmAiRpm8Y8bFE%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(2).png?alt=media&#x26;token=7880e4f5-62d5-43f5-9f30-cb613e015da1" alt=""><figcaption></figcaption></figure>

Formula:

```
Trailing Daily Drawdown = ((Recorded Highest Equity - Recorded Lowest Equity) / Recorded Highest Equity) * 100%
```

Calculated in real time throughout each 24-hour window.

## Trailing Drawdown

Monitors account performance over time, not just within the day. The breach is triggered when the account equity falls below a moving drawdown limit, which adjusts as the account grows.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FijqjRZ66vOQvQYpgIGPn%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(3).png?alt=media&#x26;token=d8f9efe3-42c8-41f7-87cd-7c701e1939d3" alt=""><figcaption></figcaption></figure>

Formula:

```
Trailing Drawdown Limit = Highest Equity Level − Max Allowable Drawdown
```

## Stop-loss Must Be Set

This rule enforces that a stop-loss must be defined when opening any trade.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FVKVV4zAc7qDQR5OAvYdR%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(4).png?alt=media&#x26;token=b2e75cde-d986-4a37-89b6-071cd5f50c36" alt=""><figcaption></figcaption></figure>

If no stop-loss is present at trade initiation, a breach is recorded.

## Stop-loss Must Be Set Within

Requires a stop-loss to be set within a defined number of minutes after opening a trade. The countdown starts when the trade is executed.

**Unit** - Minutes

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FzwrxdwG8XM1wjGPvqwQm%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(5).png?alt=media&#x26;token=3c06f1d6-a1c0-4d09-96e6-64aa19742be6" alt=""><figcaption></figcaption></figure>

If the condition is not met in time, the account will breach.

## Maximum Trade Volume

Restricts the total trading volume (in lots) a trader can open simultaneously. Helps avoid excessive exposure in a single session.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FWHKYBTBnbdtW3xoj6aPu%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(6).png?alt=media&#x26;token=ab127621-ae93-492d-bdbd-91735fd0226a" alt=""><figcaption></figcaption></figure>

Formula:

```
Max Trade Volume = (Initial Balance / Lots Per Threshold) * Value Threshold
```

Typically used for asset classes like Forex.

## Trade Value Score

Limits the size of the largest profitable trade relative to the program's profit target. If the value exceeds the allowed percentage, the account breaches.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FeqcwXHipWhTGhkxPz9fy%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(7).png?alt=media&#x26;token=77de6da6-5d36-4674-9ce7-9ff09b50d27c" alt=""><figcaption></figcaption></figure>

Formula:

```
Value Trade Score (%) = (Highest Profit Trade / Profit Target) * 100%
```

## Trade Over the Weekend

Prevents positions from being held or opened over the weekend window, defined as:

**Time Range** - For e.g., Saturday 00:00 UTC to Sunday 00:00 UTC.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FiQTCZjMS3VbQXwMIiB8L%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(8).png?alt=media&#x26;token=511311f2-4aa1-4a60-bd9a-a05c44f06bbd" alt=""><figcaption></figcaption></figure>

Any active trades during this will trigger as breach.

## Stacking Trades

Restricts repeated execution of the same trade command (buy / sell) on the same symbol in a short timeframe. Helps prevent strategies that may exploit market timing or platform behavior.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FRnr66zZVbfGA8LwyRWHX%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(9).png?alt=media&#x26;token=c5453ba4-7649-48a1-aab8-d0968b0650fd" alt=""><figcaption></figcaption></figure>

Designed to ensure fair trading and protect platform integrity.

## Floating Loss Ratio

Measures unrealized loss relative to current balance. Helps evaluate how much of the account's value is under risk due to floating (open) positions.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FkrjILVp194un8BEL4j6o%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(10).png?alt=media&#x26;token=f13b6f36-8b5e-4d47-8a16-e2068b51dcfc" alt=""><figcaption></figcaption></figure>

Formula:

If current equity is lower than balance:

```
Floating Loss Ratio (%) = ((Current Balance - Current Equity) / Current Balance) * 100%
```

If current equity is equal to or greater than balance:

```
Floating Loss Ratio (%) = 0%
```

## Inactivity Days

Triggers a breach if the account remains inactive or no trades opened or closed, beyond a defined duration. Ensures accounts are actively managed and monitored.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FQpD5IQDIhpMG9mPOdESq%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(11).png?alt=media&#x26;token=0775bdff-710d-4d8c-829b-ecff0492eb48" alt=""><figcaption></figcaption></figure>

Helps maintain trading engagement and reduces the risk of forgotten or dormant accounts.

## Trade Open Duration

The rule enforces a minimum time requirement for how long a trade must remain open before being closed. If a position is closed before reaching the configured duration threshold, the account will breach.

<figure><img src="https://835503362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxKMBw1IB53ZJ2sltFPC%2Fuploads%2FOseOZuIbm7bKEZu1HN2h%2FDialog%20-%20add%20breach%20rules%20-%20activate%20(12).png?alt=media&#x26;token=0b9d3f8d-4623-4b11-b10b-7bfc27e72f0f" alt=""><figcaption></figcaption></figure>

Formula:

```
Trade Duration (seconds) = Trade Close Time − Trade Open Time
```

Breach Condition:

```
Trade Duration < Threshold (seconds)
```

The rule helps ensure that trades are held or a meaningful period, discouraging ultra-short-term or scalping behavior that may conflict with the program's objectives.
