seba34e

Range Gap/Open to Close/Close to Close

This indicator shows the percentage variation of:

gap
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
ملاحظات الأخبار:
Description
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.

Parameters
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. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟