Skip to main content

Run Uppers

General Information

The Run Uppers trigger detects trader accounts with a "Low Start" strategy, where traders consistently generate profitable trades in recent transactions. This may indicate exploitation of dealing desk vulnerabilities.


📌 You can find the Run Uppers trigger under:
Risk ManagementEvent Triggers

Run Uppers


Edit Settings

Run Uppers Settings

Parameter NameDescription
Count of TradesThe number of most recent trades (including open orders) analyzed for profitability patterns.
SensitivityA notional value that defines the ratio of profitable trades to unprofitable trades.

Permissions

MT4MT5
No specific permissions required.No specific permissions required.

Trigger Logic

The Run Uppers trigger is designed to detect periods of abnormal profitability by analyzing the ratio of gains to losses within a specific window of trades. Unlike simple PnL tracking, this trigger uses logarithmic scaling to normalize the impact of outlier trades.

Calculation Algorithm

The trigger performs the following steps to evaluate account activity:

  1. Trade Selection: The system retrieves the $N$ most recent trades (defined by the Count of Trades setting) based on their Open Time.

  2. Logarithmic Summation: The system calculates the natural logarithm (ln) of the absolute value of the profit/loss for each trade. These are summed into two separate variables:

    • profitLn: The sum of ln(|Profit|) for all profitable trades in the sample.
    • lossLn: The sum of ln(|Loss|) for all losing trades in the sample.
  3. Ratio Calculation: The system determines the performance ratio:

    ratio = profitLn / lossLn
  4. Comparison: The calculated ratio is compared against the Sensitivity parameter. If the ratio meets or exceeds the Sensitivity, an alert is triggered.


Calculation Example

Settings:

  • Count of Trades: 5
  • Sensitivity: 2.0

Sample Data (Last 5 trades):

Trade #Profit/Loss (USD)Absolute Valueln(|x|)Category
1+$1501505.01profitLn
2+$2002005.30profitLn
3-$30303.40lossLn
4+$1001004.61profitLn
5-$15152.71lossLn

Results:

  • Total profitLn: 5.01 + 5.30 + 4.61 = 14.92
  • Total lossLn: 3.40 + 2.71 = 6.11
  • Final Ratio: 14.92 / 6.11 = 2.44

Outcome: Since 2.44 > 2.0 (Sensitivity), the trigger will ACTIVATE.

Technical Notes for Users

  • Sensitivity: The higher the sensitivity, the more "aggressive" the winning streak must be to trigger the alert.
  • Absolute Values: Using absolute values for logarithms ensures that the ratio compares the magnitude of wins versus the magnitude of losses.