OPEN-SOURCE SCRIPT
Fixed $200 Risk Futures Position Sizer (2R Target)

This indicator is designed for traders who want to follow a strict, professional-style risk model identical to the rules used in funded futures trading programs. Instead of risking a percentage of the account, the indicator always risks a fixed $200 per trade, regardless of contract or market volatility. This allows traders to simulate evaluation accounts and maintain perfect risk discipline.
The tool works across a wide range of futures markets — including micro, mini, and continuous contracts (MES, MNQ, MNQ1!, MYM, M2K, MCL, MGC, ES1!, NQ1!, GC1!) — and automatically loads the correct tick size and tick value for each contract. This ensures that stop distance and risk calculations are always accurate, even when switching between index futures, metals, or energy markets.
You simply enter your Entry Price and Stop Loss Price, and the indicator calculates:
The stop distance in points and ticks
The exact dollar risk per contract
The maximum number of contracts allowed while staying under a fixed $200 risk
A fully automated 2R take-profit target (equivalent to $400 profit per trade)
Expected profit per contract
Total projected profit based on allowed size
Full long/short direction detection
This makes position sizing effortless and completely rule-based. If the chosen stop-loss distance requires more than $200 of risk per contract, the indicator will automatically show 0 contracts allowed, preventing invalid trades and helping maintain consistency.
For clarity and execution, the indicator also plots:
A green Entry Line
A red Stop-Loss Line
A blue 2R Take-Profit Line
This produces a visual, easy-to-understand risk-to-reward layout directly on the chart.
This tool is ideal for traders preparing for funded account challenges, traders practicing mechanical risk systems, or anyone who wants to enforce a strict, repeatable risk framework. It eliminates guesswork, improves consistency, and helps traders build discipline by sizing every trade according to a fixed dollar risk with a precise 2R reward objective.
The tool works across a wide range of futures markets — including micro, mini, and continuous contracts (MES, MNQ, MNQ1!, MYM, M2K, MCL, MGC, ES1!, NQ1!, GC1!) — and automatically loads the correct tick size and tick value for each contract. This ensures that stop distance and risk calculations are always accurate, even when switching between index futures, metals, or energy markets.
You simply enter your Entry Price and Stop Loss Price, and the indicator calculates:
The stop distance in points and ticks
The exact dollar risk per contract
The maximum number of contracts allowed while staying under a fixed $200 risk
A fully automated 2R take-profit target (equivalent to $400 profit per trade)
Expected profit per contract
Total projected profit based on allowed size
Full long/short direction detection
This makes position sizing effortless and completely rule-based. If the chosen stop-loss distance requires more than $200 of risk per contract, the indicator will automatically show 0 contracts allowed, preventing invalid trades and helping maintain consistency.
For clarity and execution, the indicator also plots:
A green Entry Line
A red Stop-Loss Line
A blue 2R Take-Profit Line
This produces a visual, easy-to-understand risk-to-reward layout directly on the chart.
This tool is ideal for traders preparing for funded account challenges, traders practicing mechanical risk systems, or anyone who wants to enforce a strict, repeatable risk framework. It eliminates guesswork, improves consistency, and helps traders build discipline by sizing every trade according to a fixed dollar risk with a precise 2R reward objective.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.