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.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.