
Calculate the slope of the equity curve using a linear regression model before every new session begins. The logs at orb trading sizing niacki document this specific method of adjusting the risk coefficient based on recent performance. This approach treats the equity curve as a dynamic variable rather than a static baseline. By measuring the rate of change in the account balance, a trader can scale exposure up or down. A positive slope indicates a period of high expectancy, allowing for a higher risk coefficient. A declining slope signals a drawdown or a period of low edge, requiring a reduction in the sizing of each intraday trade to preserve capital.
The Mechanics of Slope Calculation

The calculation requires a rolling window of recent trades. A regression line is fitted to the equity curve over the last twenty to fifty trades. The gradient of this line represents the current momentum of the edge. If the gradient is positive and steep, the risk coefficient moves toward the upper bound of the predefined limits. If the gradient turns negative, the coefficient must drop immediately. This prevents a single bad streak from depleting the core capital. The math remains independent of the specific timeframe used for entries, focusing solely on the realized equity results.
Integrating the Opening Range

Risk adjustments occur before the market open. Once the opening range is established, the trader determines the initial position size for the first trade. This size is a product of the base risk and the current slope coefficient. During the first fifteen minutes of the session, volatility often creates outliers in the equity curve. These outliers must be smoothed using a moving average to prevent the slope from reacting too violently to a single large win or loss. The goal is to capture the trend of the edge rather than the noise of a single trade.
Managing Volatility Near the Cash Open
The period around the cash open presents the highest risk of variance. Large swings in equity during the first hour can distort the regression model. It is better to use a lagging coefficient during this period to ensure that the risk adjustment is based on settled data. If an opening range breakout occurs, the size is determined by the slope calculated at the end of the previous session. This keeps the math mechanical and prevents emotional interference during high volatility. The coefficient acts as a governor on the account.
Timeframe Neutrality in Risk Scaling
The equity curve feedback loop operates on a different level than the execution timeframe. Whether a trade is taken on a 5 minute chart or a 60 minute chart, the risk coefficient remains tied to the cumulative equity slope. This separation ensures that the execution style does not dictate the risk management logic. The feedback loop only cares about the slope of the realized profit and loss. This mechanical discipline ensures that the sizing follows the math of the edge over the long term.
Refining the Feedback Loop
A small sample of trades often produces an unreliable slope. To mitigate this, the regression window must be large enough to represent a statistically significant sample. A period of drawdown will naturally flatten the slope, which forces a reduction in sizing. This happens automatically without needing to make subjective decisions about the current market environment. The system reacts to the equity curve, not the price action. This is how the account survives the inevitable periods of low expectancy.