OPEN-SOURCE SCRIPT

High/Low Location Frequency [LuxAlgo]

The High/Low Location Frequency tool provides users with probabilities of tops and bottoms at user-defined periods, along with advanced filters that offer deep and objective market information about the likelihood of a top or bottom in the market.

🔶 USAGE

快照

There are four different time periods that traders can select for analysis of probabilities:

  • HOUR OF DAY: Probability of occurrence of top and bottom prices for each hour of the day
  • DAY OF WEEK: Probability of occurrence of top and bottom prices for each day of the week
  • DAY OF MONTH: Probability of occurrence of top and bottom prices for each day of the month
  • MONTH OF YEAR: Probability of occurrence of top and bottom prices for each month


The data is displayed as a dashboard, which users can position according to their preferences. The dashboard includes useful information in the header, such as the number of periods and the date from which the data is gathered. Additionally, users can enable active filters to customize their view. The probabilities are displayed in one, two, or three columns, depending on the number of elements.

🔹 Advanced Filters

快照

快照

Advanced Filters allow traders to exclude specific data from the results. They can choose to use none or all filters simultaneously, inputting a list of numbers separated by spaces or commas. However, it is not possible to use both separators on the same filter.

The tool is equipped with five advanced filters:

  • HOURS OF DAY: The permitted range is from 0 to 23.
  • DAYS OF WEEK: The permitted range is from 1 to 7.
  • DAYS OF MONTH: The permitted range is from 1 to 31.
  • MONTHS: The permitted range is from 1 to 12.
  • YEARS: The permitted range is from 1000 to 2999.


It should be noted that the DAYS OF WEEK advanced filter has been designed for use with tickers that trade every day, such as those trading in the crypto market. In such cases, the numbers displayed will range from 1 (Sunday) to 7 (Saturday). Conversely, for tickers that do not trade over the weekend, the numbers will range from 1 (Monday) to 5 (Friday).

To illustrate the application of this filter, we will exclude results for Mondays and Tuesdays, the first five days of each month, January and February, and the years 2020, 2021, and 2022. Let us review the results:

  • DAYS OF WEEK: `2,3` or `2 3` (for crypto) or `1,2` or `1 2` (for the rest)
  • DAYS OF MONTH: `1,2,3,4,5` or `1 2 3 4 5`
  • MONTHS: `1,2` or `1 2`
  • YEARS: `2020,2021,2022` or `2020 2021 2022`


🔹 High Probability Lines

快照

The tool enables traders to identify the next period with the highest probability of a top (red) and/or bottom (green) on the chart, marked with two horizontal lines indicating the location of these periods.

🔹 Top/Bottom Labels and Periods Highlight

快照

The tool is capable of indicating on the chart the upper and lower limits of each selected period, as well as the commencement of each new period, thus providing traders with a convenient reference point.

🔶 SETTINGS

  • Period: Select how many bars (hours, days, or months) will be used to gather data from, max value as default.
  • Execution Window: Select how many bars (hours, days, or months) will be used to gather data from


🔹 Advanced Filters

  • Hours of day: Filter which hours of the day are excluded from the data, it accepts a list of hours from 0 to 23 separated by commas or spaces, users can not mix commas or spaces as a separator, must choose one
  • Days of week: Filter which days of the week are excluded from the data, it accepts a list of days from 1 to 5 for tickers not trading weekends, or from 1 to 7 for tickers trading all week, users can choose between commas or spaces as a separator, but can not mix them on the same filter.
  • Days of month: Filter which days of the month are excluded from the data, it accepts a list of days from 1 to 31, users can choose between commas or spaces as separator, but can not mix them on the same filter.
  • Months: Filter months to exclude from data. Accepts months from 1 to 12. Choose one separator: comma or space.
  • Years: Filter years to exclude from data. Accepts years from 1000 to 2999. Choose one separator: comma or space.


🔹 Dashboard

  • Dashboard Location: Select both the vertical and horizontal parameters for the desired location of the dashboard.
  • Dashboard Size: Select size for dashboard.


🔹 Style

  • High Probability Top Line: Enable/disable `High Probability Top` vertical line and choose color
  • High Probability Bottom Line: Enable/disable `High Probability Bottom` vertical line and choose color
  • Top Label: Enable/disable period top labels, choose color and size.
  • Bottom Label: Enable/disable period bottom labels, choose color and size.
  • Highlight Period Changes: Enable/disable vertical highlight at start of period
CyclesforecastforecastingfrequencyluxalgopredictionreversaltopbottomfinderTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
更多:

免责声明