OPEN-SOURCE SCRIPT

ATR Levels

アップデート済
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.
リリースノート
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.
リリースノート
- 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
リリースノート
- Added table cell to display $ Range
- Added Target 3
Average True Range (ATR)

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項