OPEN-SOURCE SCRIPT

Entry Weight Indicator(Dual Labels)

Mis à jour
이 지표는 트레이더가 동적으로 진입 비중을 결정할 수 있도록 도와주는 도구입니다. 이전 캔들의 종가를 기준으로 두 가지 다른 진입 비중을 계산하여 표시합니다.

주요 특징:
1. 두 가지 진입 비중 계산:
- 저점 기준 (EW Long): 이전 캔들 종가와 룩백 기간 내 최저가 사이의 거리를 기준으로 계산
- 고점 기준 (EW Short): 이전 캔들 종가와 룩백 기간 내 최고가 사이의 거리를 기준으로 계산

2. 시각적 표시:
- 초록색 라벨 (EW Long): 캔들 위에 표시
- 빨간색 라벨 (EW Short): 캔들 아래에 표시
- 룩백 기간 내 최고가와 최저가를 녹색과 빨간색 선으로 표시

3. 사용자 정의 파라미터:
- 원하는 손실 비율 (Desired Loss Percentage)
- 레버리지 (Leverage)
- 룩백 기간 (Lookback Period)

4. 추가 정보 표시:
- 차트 우측 상단에 이전 종가, 최고가, 최저가, 손실 비율 등의 정보를 표시

사용 방법:
1. 원하는 손실 비율, 레버리지, 룩백 기간을 설정합니다.
2. 차트에 표시되는 라벨을 통해 각 캔들에 대한 두 가지 진입 비중을 확인합니다.
3. EW Long (초록색)은 Long 진입 시 비중을, EW Short (빨간색)는 Short 진입 시 비중을 나타냅니다.

주의: 이 지표는 투자 시 직접적인 성과를 가져다주는 지표가 아니며, 실제 거래 결정 시에는 다른 분석 도구와 함께 사용하는 것이 좋습니다.

This indicator is a tool that helps traders dynamically determine their entry weight. It calculates and displays two different entry weights based on the closing price of the previous candle.

Key features:
1. Calculation of two entry weights:
- Low-based (EW Long): Calculated based on the distance between the previous candle's close and the lowest price within the lookback period
- High-based (EW Short): Calculated based on the distance between the previous candle's close and the highest price within the lookback period

2. Visual display:
- Green label (EW Long): Displayed above the candle
- Red label (EW Short): Displayed below the candle
- Highest and lowest prices within the lookback period are shown as green and red lines

3. User-defined parameters:
- Desired Loss Percentage
- Leverage
- Lookback Period

4. Additional information display:
- Information such as previous close, highest price, lowest price, and loss percentage is displayed in the upper right corner of the chart

How to use:
1. Set the desired loss percentage, leverage, and lookback period.
2. Check the two entry weights for each candle through the labels displayed on the chart.
3. EW Long (green) represents the entry weight for long positions, while EW Short (red) represents the entry weight for short positions.

Caution: This indicator does not directly lead to investment performance. When making actual trading decisions, it is advisable to use it in conjunction with other analytical tools.
Notes de version
1. 라벨 표시 개선:
- EW Long (초록색) 라벨과 EW Short (빨간색) 라벨에 현재 설정된 레버리지 값이 함께 표시됩니다.
- 라벨 형식: "EW Long/Short: XX.XX%\nLeverage: X.Xx"

2. 레버리지 정보:
- 각 라벨에 표시되는 레버리지 값을 통해 사용자는 현재 설정된 레버리지를 즉시 확인할 수 있습니다.
- 레버리지는 소수점 첫째 자리까지 표시되며, 'x'를 붙여 배수를 나타냅니다.

1. Improved Label Display:
- Both EW Long (green) and EW Short (red) labels now include the currently set leverage value.
- Label format: "EW Long/Short: XX.XX%\nLeverage: X.Xx"

2. Leverage Information:
- Users can instantly check the current leverage setting through the value displayed on each label.
- The leverage is shown to one decimal place, followed by 'x' to indicate the multiplier.
Notes de version
라벨 표시 개선:
- 이전 버전에서 발생하던 라벨 누적 문제를 해결했습니다.
- 이제 항상 현재 기준 한 개 이전 캔들에만 라벨이 표시됩니다.

Improved Label Display:
- Resolved the issue of label accumulation present in previous versions.
- Labels are now displayed only on the candle immediately preceding the current one.
Notes de version
1. **고점/저점 표시 옵션 추가**
- 사용자가 원하는 대로 고점과 저점을 차트에 표시하거나 숨길 수 있는 옵션을 추가하였습니다.

2. **캔들 방향에 따른 라벨 색상 변경**
- 이전 캔들의 방향(양봉/음봉)에 따라 표시되는 라벨의 색상을 다르게 적용하였습니다.
- 양봉 캔들의 경우 초록색 라벨로 롱 진입 비중을 표시합니다.
- 음봉 캔들의 경우 빨간색 라벨로 숏 진입 비중을 표시합니다.
- 이를 통해 사용자가 캔들의 방향과 진입 비중을 한눈에 파악할 수 있게 되었습니다.

3. **현재 캔들 라벨 표시 개선**
- 현재 캔들의 라벨은 회색으로 표시하여 이전 캔들의 라벨과 구분되도록 하였습니다.
- 현재 캔들에 대해서는 항상 롱과 숏 진입 비중을 모두 표시하여, 사용자가 현재 상황에 대한 전체적인 정보를 얻을 수 있도록 하였습니다.

1. **Added Option to Display High/Low Points**
- We have introduced an option that allows users to show or hide the high and low points on the chart as desired.

2. **Label Color Change Based on Candle Direction**
- We have applied different label colors based on the direction (bullish/bearish) of the previous candle.
- For bullish candles, a green label displays the long entry weight.
- For bearish candles, a red label displays the short entry weight.
- This change allows users to instantly grasp both the candle direction and entry weight at a glance.

3. **Improved Current Candle Label Display**
- The labels for the current candle are now displayed in gray to distinguish them from the labels of previous candles.
- For the current candle, both long and short entry weights are always displayed, providing users with comprehensive information about the current situation.
Notes de version
Delete
Notes de version
전체 변경
High-Low Indexstatistics

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité