Range Gap/Open to Close/Close to Close

This indicator shows the percentage variation of:

close to close (day including gap)
open to close (without gap)

The green bars represent the days when the variation did not reach the selected range. The red bars show the days when the variation was higher than the selected range.

Best timeframe : DAY
릴리즈 노트:
This indicator allows you to see in a quick and friendly way the number of occurrences that exist in an index, stock or ETF.

It is an indicator that is useful for those who are interested in the world of options and study strategies such as IRON CONDORS, IRON BUTTERFLIES, spreads, verticals and others.

For statistical purposes, it shows how many times an asset exceeded or not a certain percentage of a gap (daily), from a close to the next close (daily) or from the open to the close in the same day.

It is recommended to use it in daily temporality, although it can be used in any other one you want.

Conditions: .
* Gap: or Close to Open, refers to the gap from the close of one day to the open of the next day.
* Close To Close, refers to the close of one day to the close of the next day.
* Open To Close, refers to the open of one day until the close of the same day.

Target Percentage: refers to the percentage of deviation to be tested. Note that it does not matter if the deviation was positive or negative.

Star Date: Start date of the sample.
End Date: End date of the sample.

Apply Filter From: Uncheck if you do not want to select a start date (the sample starts from the first day TV has in its history).
Apply Filter Until: Uncheck if you want the sample to end on the current day.

Output Table:
The table at the top right shows:

Condition: your current selected condition (Gap, Close to Close or Open To Close).
Deviation: your current selected deviation.
Total Days: number of days the sample has.
Under Condition Days: number of days that do not reach the selected deviation percentage.
Over Condition Days: number of days that exceeded the selected deviation percentage.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.


이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?