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. קרא עוד ב־תנאי השימוש.