OPEN-SOURCE SCRIPT
Contracts Calculator by NQLOGIEST

🧮 Contracts Calculator by NQLOGIEST
This tool helps futures traders quickly calculate how many micro contracts to trade based on their dollar risk and stop size. It supports the following micro instruments:
MNQ – Micro Nasdaq 100
MES – Micro S&P 500
MCL – Micro Crude Oil Futures
MGC – Micro Gold Futures
🔧 Features:
Dynamic Contract Calculation based on:
Selected instrument
Dollar risk amount
Stop size (in points)
Instrument-aware $/point logic:
MNQ: $2/pt
MES: $5/pt
MCL: $1/pt
MGC: $1/pt
Customizable Table Position: Pin the results table to any corner of your chart.
Clean and lightweight — no chart clutter.
📋 How to Use:
Select the instrument you're trading from the dropdown (NQ, ES, CL, or GC).
Set your risk amount in dollars.
Set your stop loss size in points.
The indicator will calculate how many micro contracts you can trade while staying within your risk tolerance.
This tool helps futures traders quickly calculate how many micro contracts to trade based on their dollar risk and stop size. It supports the following micro instruments:
MNQ – Micro Nasdaq 100
MES – Micro S&P 500
MCL – Micro Crude Oil Futures
MGC – Micro Gold Futures
🔧 Features:
Dynamic Contract Calculation based on:
Selected instrument
Dollar risk amount
Stop size (in points)
Instrument-aware $/point logic:
MNQ: $2/pt
MES: $5/pt
MCL: $1/pt
MGC: $1/pt
Customizable Table Position: Pin the results table to any corner of your chart.
Clean and lightweight — no chart clutter.
📋 How to Use:
Select the instrument you're trading from the dropdown (NQ, ES, CL, or GC).
Set your risk amount in dollars.
Set your stop loss size in points.
The indicator will calculate how many micro contracts you can trade while staying within your risk tolerance.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.