OPEN-SOURCE SCRIPT
Lucky Risk Calculator

Lucky Risk Calculator
Know your risk before you pull the trigger — every single time.
Lucky Risk Calculator is a clean, no-nonsense risk management tool built for futures traders. Whether you're trading MNQ, NQ, MES, ES, or any other futures contract, it automatically detects the point value of your instrument and gives you instant dollar risk and profit targets right on your chart — no spreadsheets, no mental math mid-trade.
---
What It Does
Enter your stop distance and number of contracts, and the table instantly shows you:
- **Dollar risk** per contract and for your full position
- **Profit target distance** based on your R:R ratio
- **Dollar profit** at target per contract and full position
- **Auto point value detection** — works on any futures symbol without manual setup
---
How To Use
1. Set your **Stop Distance** (in points) based on where your stop loss is placed
2. Set your **Contracts** — risk and profit scale automatically
3. Set your **R:R Target** — the calculator shows exactly what hitting that target is worth in dollars
4. Move the table to wherever it fits best on your chart
---
Works With
MNQ · NQ · MES · ES · MYM · YM · M2K · RTY — and any other futures contract on TradingView. Point values are pulled automatically from the symbol, so you never have to touch a setting when switching instruments.
---
Why I Built This
As a futures scalper, I needed to know my exact dollar risk the moment I defined my stop — not after the trade. This tool keeps risk front and center so you trade with discipline, not guesses.
*Trade smart. Manage risk. Stay lucky.*
— LuckyJo
Know your risk before you pull the trigger — every single time.
Lucky Risk Calculator is a clean, no-nonsense risk management tool built for futures traders. Whether you're trading MNQ, NQ, MES, ES, or any other futures contract, it automatically detects the point value of your instrument and gives you instant dollar risk and profit targets right on your chart — no spreadsheets, no mental math mid-trade.
---
What It Does
Enter your stop distance and number of contracts, and the table instantly shows you:
- **Dollar risk** per contract and for your full position
- **Profit target distance** based on your R:R ratio
- **Dollar profit** at target per contract and full position
- **Auto point value detection** — works on any futures symbol without manual setup
---
How To Use
1. Set your **Stop Distance** (in points) based on where your stop loss is placed
2. Set your **Contracts** — risk and profit scale automatically
3. Set your **R:R Target** — the calculator shows exactly what hitting that target is worth in dollars
4. Move the table to wherever it fits best on your chart
---
Works With
MNQ · NQ · MES · ES · MYM · YM · M2K · RTY — and any other futures contract on TradingView. Point values are pulled automatically from the symbol, so you never have to touch a setting when switching instruments.
---
Why I Built This
As a futures scalper, I needed to know my exact dollar risk the moment I defined my stop — not after the trade. This tool keeps risk front and center so you trade with discipline, not guesses.
*Trade smart. Manage risk. Stay lucky.*
— LuckyJo
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.