OPEN-SOURCE SCRIPT

Risk Size Calculator - Indices/Metals

52
This indicator is a universal position sizing tool that automatically calculates how many contracts or units to trade based on your defined dollar risk and stop size, while intelligently adapting to the asset you’re trading.
Key Features
Works on any asset: indices, metals, futures, stocks, crypto, etc.
Auto stop interpretation:
Metals (GC, MGC, SI, SIL, etc.) → Ticks
Everything else → Points
Single stop input (no switching between points/ticks manually)
Auto preset stops per asset class (optional)
Uses TradingView’s native contract data (pointvalue, mintick) for accuracy
Clean, readable top-right panel with:
Risk ($)
Stop (Points or Ticks, auto-labeled)
Contracts / Units
Actual Risk ($)
Optional manual $-per-point override for edge cases or custom instruments
Designed for fast execution with zero mental math and minimal chart disruption.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.