OPEN-SOURCE SCRIPT
Black Tie ATR + Position Sizer

Multi-timeframe ATR with a built-in position sizing calculator. Computes the position size required to risk a fixed percentage of your account, given an ATR-based stop-loss distance. Displays SL distance, risk in account currency, and projected profit at three R:R targets.
This is for traders who size every position by risk, not by gut feeling.
WHAT IT SHOWS
A table on the chart with: current ATR value, SL distance in price units, account size, risk percentage, risk amount in account currency, position size (in the correct unit for your instrument), total notional value, and projected profit at TP1 / TP2 / TP3.
Optional preview lines on the chart show where the long SL and short SL would sit at the current price given the configured ATR multiplier. These lines are hypothetical references, not trade signals.
INSTRUMENT-AWARE POSITION SIZING
The indicator detects the instrument type and displays position size in the unit your broker actually uses:
Forex pairs: standard lots, mini lots, and micro lots (1 standard lot = 100,000 units).
Gold (XAUUSD): standard lots, mini lots, and micro lots (1 standard lot = 100 oz).
Silver (XAGUSD): standard lots, mini lots, and micro lots (1 standard lot = 5,000 oz).
Crypto, stocks, and indices: contracts, shares, or units as appropriate.
Detection is automatic but can be overridden manually if your symbol naming is non-standard.
ALGORITHM
Position size is computed as Risk Amount / SL Distance, then converted to the appropriate trading unit. The SL distance is ATR multiplied by the SL ATR Multiplier. The risk amount is account size multiplied by the risk percentage divided by 100.
The Risk classification field labels the configuration as Conservative (under 0.5%), Standard (0.5-1%), Aggressive (1-2%), or HIGH RISK (over 2%) based on the input. The professional standard is 0.5-1% per trade.
USAGE
Set your account size and the percentage you risk per trade. Adjust the ATR multiplier to match your typical stop-loss distance. The table will display the position size you should enter in your broker's order ticket on the next trade.
SETTINGS
ATR Timeframe lets you compute ATR on a higher timeframe than the chart (useful for swing position sizing on intraday charts).
ATR Period and Smoothing match standard ATR conventions (default RMA, 14).
SL ATR Multiplier defaults to 1.5; lower for tighter stops, higher for more breathing room.
TP1 / TP2 / TP3 R:R are configurable.
Account currency display can be set to USD, EUR, GBP, JPY, AUD, CAD, or CHF.
Note on cross-currency: calculations assume 1:1 conversion to the instrument's quote currency. On cross-currency forex pairs, verify the conversion rate manually with your broker.
This is for traders who size every position by risk, not by gut feeling.
WHAT IT SHOWS
A table on the chart with: current ATR value, SL distance in price units, account size, risk percentage, risk amount in account currency, position size (in the correct unit for your instrument), total notional value, and projected profit at TP1 / TP2 / TP3.
Optional preview lines on the chart show where the long SL and short SL would sit at the current price given the configured ATR multiplier. These lines are hypothetical references, not trade signals.
INSTRUMENT-AWARE POSITION SIZING
The indicator detects the instrument type and displays position size in the unit your broker actually uses:
Forex pairs: standard lots, mini lots, and micro lots (1 standard lot = 100,000 units).
Gold (XAUUSD): standard lots, mini lots, and micro lots (1 standard lot = 100 oz).
Silver (XAGUSD): standard lots, mini lots, and micro lots (1 standard lot = 5,000 oz).
Crypto, stocks, and indices: contracts, shares, or units as appropriate.
Detection is automatic but can be overridden manually if your symbol naming is non-standard.
ALGORITHM
Position size is computed as Risk Amount / SL Distance, then converted to the appropriate trading unit. The SL distance is ATR multiplied by the SL ATR Multiplier. The risk amount is account size multiplied by the risk percentage divided by 100.
The Risk classification field labels the configuration as Conservative (under 0.5%), Standard (0.5-1%), Aggressive (1-2%), or HIGH RISK (over 2%) based on the input. The professional standard is 0.5-1% per trade.
USAGE
Set your account size and the percentage you risk per trade. Adjust the ATR multiplier to match your typical stop-loss distance. The table will display the position size you should enter in your broker's order ticket on the next trade.
SETTINGS
ATR Timeframe lets you compute ATR on a higher timeframe than the chart (useful for swing position sizing on intraday charts).
ATR Period and Smoothing match standard ATR conventions (default RMA, 14).
SL ATR Multiplier defaults to 1.5; lower for tighter stops, higher for more breathing room.
TP1 / TP2 / TP3 R:R are configurable.
Account currency display can be set to USD, EUR, GBP, JPY, AUD, CAD, or CHF.
Note on cross-currency: calculations assume 1:1 conversion to the instrument's quote currency. On cross-currency forex pairs, verify the conversion rate manually with your broker.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Get notified when I release a new free indicator → blacktiereport.com/. No signals, no Discord, no copy trades. Educational use only.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Get notified when I release a new free indicator → blacktiereport.com/. No signals, no Discord, no copy trades. Educational use only.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.