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が提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。