What is M9.?
Margin-9 (M9.) is a professional position sizing study for Sierra Chart that automatically calculates the optimal contract quantity for each trade. The study analyzes the distance between entry price and stop-loss in real-time and adjusts the position size to maintain your predefined risk budget per trade.
Built for serious futures traders, M9. combines sophisticated position sizing calculations, intelligent multi-target contract distribution, and a dynamic risk-to-reward display into a single, powerful tool that integrates seamlessly with Sierra Chart's native order system.
Problem it Solves
Proper position sizing is one of the most critical aspects of risk management. Many traders use the same contract quantity for every trade, regardless of how far the stop-loss is from the entry. This leads to inconsistent risk: tight stops result in less risk, while wide stops expose significantly more capital than intended.
M9. solves this problem by automatically adjusting contract quantity so that the dollar risk (or percentage of account balance) remains constant for every trade.
Intelligent Position Sizing Engine
At the heart of M9. is a sophisticated position sizing engine that performs complex calculations to determine the precise number of contracts for each trade. The study considers multiple variables and executes robust mathematical operations to deliver the most accurate results possible.
Core Calculation Formula
Contracts = Risk Amount / (Stop Distance in Ticks × Tick Value)The study continuously monitors entry price and stop-loss placement, recalculating position size in real-time as you adjust your orders. This ensures your risk remains constant even when you move your stop after placing an entry order.
Fixed Dollar Risk
Set a fixed amount (e.g., $250) that remains constant regardless of account size. Ideal for traders who prefer absolute risk limits per trade.
Percentage of Account
Risk a percentage of your live account balance (e.g., 1%). Position size automatically scales as your account grows or shrinks. Available in live trading mode only.
Real-Time Recalculation
Advanced Multiple Targets System
M9. features a powerful multi-target system that gives you complete control over how contracts are distributed across your take-profit levels. Each target can receive a fully customizable percentage of your total position, and the study performs intelligent rounding to ensure every contract is precisely allocated.
Example: 10 Contracts with 50/30/20 Distribution
5
TP1 (50%)
3
TP2 (30%)
2
TP3 (20%)
The study handles fractional rounding intelligently, ensuring total contracts always match
How It Works
- ●Per-Profile Distribution: Each of your 5 risk profiles can have its own unique TP distribution (e.g., Profile 1: "50,30,20", Profile 2: "100")
- ●Intelligent Rounding: When contracts can't be evenly divided, the study uses a smart algorithm to distribute remainders fairly across targets
- ●Limit-Aware Redistribution: If max contract limits reduce your position, the distribution is automatically recalculated to maintain your target percentages
- ●Real-Time Updates: The SIZE display in the control panel shows your current contract distribution (e.g., "[5,3,2]") at all times
Same Precision for Both Risk and Targets
Dynamic Risk-to-Reward Display
The R:R (Risk-to-Reward) display is one of M9.'s most sophisticated features. Unlike simple R:R calculators that assume equal contract distribution, this display performs weighted calculations that account for your actual contract allocation across multiple targets.
Weighted R:R Calculation
Weighted Reward = Σ (TP Distance × Contracts at TP) / Total Contracts
R:R = Weighted Reward / Risk Per ContractThis formula ensures the displayed R:R accurately reflects your expected return based on how contracts are distributed across your take-profit levels.
Live Adaptation
The R:R display continuously adapts to changing market conditions and order modifications:
- ●Updates when you place or modify entry orders
- ●Recalculates when stop-loss is moved
- ●Adjusts when take-profit targets are repositioned
- ●Reflects partial fills as targets are hit during the trade
< 1.5R
Consider adjusting targets
1.5R - 2.0R
Acceptable risk/reward
> 2.0R
Favorable trade setup
Forward Reward-to-Risk (FRR)v1.3.2+
When you move your stop into profit (above entry for longs, below entry for shorts), the classic R:R ratio becomes irrelevant. M9. automatically switches to Forward Reward-to-Risk (FRR) — a metric that measures your profit potential relative to your remaining risk from the current price.

When stop moves into profit, the display automatically switches from R:R to FRR
FRR Formula
FRR = (Take Profit - Current Price) / (Current Price - Stop)This formula calculates how much profit potential remains relative to the risk of giving back unrealized gains. A higher FRR means more upside with less risk of losing your locked-in profit.
Classic R:R (2.5R)
Displayed when stop is at risk (below entry for longs). Measures reward from entry pricerelative to initial risk amount.
Forward R:R (2.5F)
Displayed when stop is in profit. Measures remaining reward from current pricerelative to the risk of losing your locked-in profit.
FRR Color Scale
The FRR display uses a dynamic color scale to indicate trade quality at a glance:
≥ 3.0F
Excellent
≥ 2.0F
Very Good
≥ 1.5F
Good
≥ 1.0F
Acceptable
< 1.0F
Unfavorable
Trade Management Insight
Multi-Symbol Supportv1.4.0+
Since version 1.4.0, M9. supports fully independent multi-symbol operation. Each chart runs its own M9. window with completely isolated state — including risk profiles, position data, window position, and active configuration. Trade ES, NQ, and RTY simultaneously, each with different risk setups.

Three independent M9. windows running simultaneously on ES, RTY, and NQ — each with its own risk profile and configuration
Independent Windows
Each chart gets its own floating control panel with isolated state
Persistent Layout
Window position and active profile saved per symbol/chart
Per-Symbol Config
Different risk profiles and settings for each instrument
How It Works
Key Benefits
Consistent Risk
Maintain the same risk per trade, regardless of stop distance
Precise Calculations
Advanced algorithms ensure mathematically accurate position sizing
Flexible TP Distribution
Fully customizable contract allocation across multiple targets
Quick Profile Switching
Switch between 5 different risk profiles with a single click
Weighted R:R Display
Real-time risk/reward calculation that accounts for contract distribution
4K / Multi-Symbol Ready
Full HiDPI support and independent multi-chart operation
Who is this For?
Experience Level
Designed for intermediate to advanced traders familiar with Sierra Chart and fundamental risk management concepts. Basic understanding of bracket orders required.
Market Types
Optimized for futures trading. Supports all standard contracts (e.g., ES, NQ, CL) and micro contracts (e.g., MES, MNQ, M2K). Automatic detection of contract types.
Typical Trader Profiles
- ●Day traders who place multiple trades per session and require consistent risk management
- ●Traders who work with varying stop distances (tight scalps to wide swing stops)
- ●Traders who want to split positions across multiple take-profit levels
- ●Traders who wish to switch between different risk profiles (aggressive, conservative, etc.)