PROTECTED SOURCE SCRIPT

ATR Adaptive Position Sizer (APS) - OrbitPips

58
ATR Adaptive Position Sizer (APS)
Smart lot-calculator & risk dashboard for Forex, Crypto, Metals, Indices and Stocks

Why use APS?
  • Instant position sizing – enter Equity & Risk %, APS outputs the exact lot size (no more spreadsheets).
  • ATR-based stops – size adapts automatically to current volatility: SL = ATR × k.
  • True-risk aware – commissions, spread and the 0.01-lot tick are baked into the maths; the table shows the real % / USD at risk.
  • Multi-asset ready – auto-detects pip/tick value for FX, Crypto, CFDs, etc.
  • Live safety alerts – leverage limit, risk deviation, lot-cap and volatility spikes.


Core inputs
Account Equity ($) – current account balance
Risk % per Trade – how much of equity you’re willing to risk
ATR Length & SL Multiplier (k) – defines the ATR stop distance
Commission & Spread – set once to match your broker
Max Leverage & Max Lot Cap – optional safety ceilings
Table Font Size – “Large” by default for readability (switch to Normal if you prefer)

Table at a glance
• Recommended Size
• Actual Risk – final % and USD after rounding and costs
• ATR (14) – live ATR value
• Stop Loss LONG / SHORT – price levels for both directions
• Cost per Trade – commission + spread at that size
• Leverage Used – colour-graded as you approach the limit

What’s new in v3.0
  • Large font as default with Normal/Large switch
  • ATR row added to the info panel
  • Inputs tab cleaned; rarely used settings moved to code


Disclaimer
APS is a calculation tool, not financial advice. Test on a demo account before live trading and ensure it fits your personal risk plan.

Happy and safer trading 🪐

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.