OPEN-SOURCE SCRIPT
업데이트됨 Zones Detector

This indicator highlights supply and demand zones.
Method to detect the zones:
1.- The body of the candle is calculated and it is checked how many times it can be repeated in its highest or lowest wick. If the body of the candle is repeated N number of times (Min. Factor) in any of its wicks, it is taken as an indecision zone.
2.- The subsequent candles are reviewed (Confirmation Bars) to determine if the zone is of supply or demand. For demand zones, subsequent prices must be above the minimum price of the indecision zone and for supply zones, subsequent prices must be below the maximum price of the indecision zone.
3.- The previous average volume of N periods (Periods) to the indecision zone is calculated and check that has a minimum percentage change (Min. Volume Change) with respect to the indecision zone and its subsequent candles (Confirmation Bars).
If the previous steps are met, the zone will be highlighted with a green color for demand (Zones/Demand) and red for supply (Zones/Supply), for the indecision zones (identified by point 1) they will be highlighted in gray (Zones/Indecision)
Invalid zones are automatically hidden from the chart, using methods such as: "wick" and "close".
Settings
Indecision
Volume
Zones
Use
The highlighted supply and demand zones can be used as support or resistance to place orders.
Method to detect the zones:
1.- The body of the candle is calculated and it is checked how many times it can be repeated in its highest or lowest wick. If the body of the candle is repeated N number of times (Min. Factor) in any of its wicks, it is taken as an indecision zone.
2.- The subsequent candles are reviewed (Confirmation Bars) to determine if the zone is of supply or demand. For demand zones, subsequent prices must be above the minimum price of the indecision zone and for supply zones, subsequent prices must be below the maximum price of the indecision zone.
3.- The previous average volume of N periods (Periods) to the indecision zone is calculated and check that has a minimum percentage change (Min. Volume Change) with respect to the indecision zone and its subsequent candles (Confirmation Bars).
If the previous steps are met, the zone will be highlighted with a green color for demand (Zones/Demand) and red for supply (Zones/Supply), for the indecision zones (identified by point 1) they will be highlighted in gray (Zones/Indecision)
Invalid zones are automatically hidden from the chart, using methods such as: "wick" and "close".
Settings
Indecision
- Min. Factor: Set the number of times that the body of the candle must be repeated in its wicks. High values will be stronger indecision zones, but fewer will be found, low values will find more zones.
- Invalidation Method: Method used to automatically invalidate zones. It can be "wick" or "close".
- Confirmation Bars: Defines the number of candles used to confirm an indecision zone found
Volume
- Min. Volume Change(%): Percentage of minimum change in volume (+/-) that the zone must have to be displayed
- Previous Periods: Number of previous periods to be used to calculate the average volume prior to the indecision zone.
Zones
- Show Last.- Number of zones (demand, supply, indecision) to be shown.
- Demand.- Color to highlight the demand zones
- Supply.- Color to highlight the supply zones
- Indecision.- Color to highlight the indecision zones
Use
The highlighted supply and demand zones can be used as support or resistance to place orders.
릴리즈 노트
- Alerts for new zones confirmed
- Alerts for price reached zone
- Use of new pine feature types which represents User Defined Object Types.
- Moving label of volumen change
- Algorithm for deleting overlapping zones
릴리즈 노트
- Refactor
- Adding signals (Buy / Sell)
- Showing numbers of bars reached the zone
- Using only bars confirmed to avoid repainting
릴리즈 노트
Changing default params for signals릴리즈 노트
Default params 1 to 2릴리즈 노트
- Minor Bug Fix- Refactor some code
- Adding setting to font size
릴리즈 노트
-Minor bug fix when display zones릴리즈 노트
- Bug fix on invalidation wick method오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.