PROTECTED SOURCE SCRIPT
Aggiornato ATR Price Frame

ATR Price Frame
ATR Price Frame is a versatile and customizable TradingView indicator that uses the Average True Range (ATR) to define a dynamic price frame for effective risk management and position sizing.
Risk Management:
This indicator automatically calculates the number of units (shares or contracts) you can trade based on a user-defined maximum risk. By comparing the current price to ATR-based levels, it determines the risk per unit—applying a tailored formula for stocks and futures—so you can maintain proper risk control on every trade.
Informative Labeling:
An optional label is displayed at the far right of your chart, providing clear, concise information about your calculated unit count and, if enabled, the total risk in dollars (formatted like “3 : $45.00”). With configurable text size and horizontal offset, the label is designed to integrate seamlessly into your chart setup.
Unified Line Appearance:
The indicator draws two horizontal lines—one above and one below the current price—to create the price frame. These lines use a unified appearance with settings for length, width, style, and an optional horizontal offset, ensuring a clean and consistent visual representation of market volatility.
ATR Price Frame automatically determines whether the instrument is a stock or a futures contract, applying the appropriate risk calculations. This makes it an essential tool for traders looking to integrate volatility-based risk management into their strategies.
ATR Price Frame is a versatile and customizable TradingView indicator that uses the Average True Range (ATR) to define a dynamic price frame for effective risk management and position sizing.
Risk Management:
This indicator automatically calculates the number of units (shares or contracts) you can trade based on a user-defined maximum risk. By comparing the current price to ATR-based levels, it determines the risk per unit—applying a tailored formula for stocks and futures—so you can maintain proper risk control on every trade.
Informative Labeling:
An optional label is displayed at the far right of your chart, providing clear, concise information about your calculated unit count and, if enabled, the total risk in dollars (formatted like “3 : $45.00”). With configurable text size and horizontal offset, the label is designed to integrate seamlessly into your chart setup.
Unified Line Appearance:
The indicator draws two horizontal lines—one above and one below the current price—to create the price frame. These lines use a unified appearance with settings for length, width, style, and an optional horizontal offset, ensuring a clean and consistent visual representation of market volatility.
ATR Price Frame automatically determines whether the instrument is a stock or a futures contract, applying the appropriate risk calculations. This makes it an essential tool for traders looking to integrate volatility-based risk management into their strategies.
Note di rilascio
Added the ability to Hide/Show the labelNote di rilascio
Adding Version numberNote di rilascio
Added the ability to show historical values.This can be used when chart testing using the position tool against historical data.
By default, they are not plotted as they create noise on the chart and are only use full in back testing
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.