PineWave

ATR Levels

PineWave Updated   
The indicator calculates and displays key levels based on the Average True Range (ATR) of an asset's price. The ATR is a measure of market volatility, and this indicator uses it to create trigger levels and ATR target levels. The "ATR Levels" indicator helps traders identify potential entry and exit points based on market volatility, providing valuable information for their trading decisions.

The indicator adds text labels to indicate whether the levels are for "Puts" or "Calls" on the trigger levels, and "Target 1" or "Target 2" on the ATR target levels.

Input Description:

ATR Length: This is an input parameter that allows the user to set the number of periods used to calculate the Average True Range (ATR). The ATR measures the market's volatility, and a higher length value will result in a smoother ATR line.

Trigger Percentage: Another input parameter that determines the percentage above and below the previous day's close at which the trigger levels will be plotted. It allows traders to set the sensitivity of the trigger levels.

Lower Trigger Level Color and Upper Trigger Level Color: These input parameters allow the user to customize the colors of the trigger levels. The indicator will plot two lines representing the lower and upper trigger levels.

Level Size: This input parameter allows the user to adjust the thickness of the trigger level lines.

ATR Target Color: An input parameter that sets the color for the ATR target level lines.

ATR Target Multiplier 1 and ATR Target Multiplier 2: These are input parameters that allow the user to set the multiplier for calculating the ATR target levels. The indicator will plot two ATR target lines above and below the previous day's close, each multiplied by the specified multiplier.
Release Notes:
Fixed multiple label plotting: This was causing visual clutter and redundancy.

Extended the label to the right. This was resulting in the labels being plotted at the current live candle and making price hard to watch.
Release Notes:
- Added Table
- Added Weekly Calculations TF
- Added Alert conditions for trigger/target cross on both directions
- Change Target Levels to specify bullish and bearish labels
Release Notes:
- Added table cell to display $ Range
- Added Target 3
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?