OPEN-SOURCE SCRIPT
EvilAI | Position Sizer

Simple position sizing for futures traders. Automatically calculates optimal contract size based on ATR volatility and your risk parameters.
█ FEATURES
- Dynamic ATR-based stop calculation
- Auto contract selection (GC/MGC, NQ/MNQ)
- Real capital awareness for prop firm accounts
- Survival analysis — see how many losses until drawdown limits
- Min/max contract constraints with visual warnings
█ DESIGNED FOR
Prop firm traders (FundedNext, Topstep, Apex) who need precise risk management with strict drawdown rules. Works with any futures instrument — preconfigured for Gold and Nasdaq.
█ HOW IT WORKS
1. Set your daily drawdown limit (your REAL capital)
2. Set your risk % per trade
3. The indicator calculates position size based on current ATR
4. Auto mode selects micro vs full contracts intelligently
█ DISPLAY
- Compact mode: Just the essentials
- Full mode: Complete risk breakdown
- Color-coded warnings (green/yellow/red)
Stop blowing accounts. Size positions properly.
█ FEATURES
- Dynamic ATR-based stop calculation
- Auto contract selection (GC/MGC, NQ/MNQ)
- Real capital awareness for prop firm accounts
- Survival analysis — see how many losses until drawdown limits
- Min/max contract constraints with visual warnings
█ DESIGNED FOR
Prop firm traders (FundedNext, Topstep, Apex) who need precise risk management with strict drawdown rules. Works with any futures instrument — preconfigured for Gold and Nasdaq.
█ HOW IT WORKS
1. Set your daily drawdown limit (your REAL capital)
2. Set your risk % per trade
3. The indicator calculates position size based on current ATR
4. Auto mode selects micro vs full contracts intelligently
█ DISPLAY
- Compact mode: Just the essentials
- Full mode: Complete risk breakdown
- Color-coded warnings (green/yellow/red)
Stop blowing accounts. Size positions properly.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。