OPEN-SOURCE SCRIPT

ATR Levels

Aktualisiert
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.
Versionshinweise
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.
Versionshinweise
- 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
Versionshinweise
- Added table cell to display $ Range
- Added Target 3
Average True Range (ATR)

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss