Skip to content

Commit

Permalink
HBS-0: test optimize fastSearch pine 2
Browse files Browse the repository at this point in the history
  • Loading branch information
stimofeev-tv committed Feb 16, 2024
1 parent 4783f6b commit 515dc95
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions links/high_and_low.pine.link
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ custom_highest_and_date(_x, _xt, len, maxbarsback) =>
date := xt[i]
[res, date]
fastSearchTimeIndex(x, maxbarsback) =>
max_bars_back(time, maxbarsback)
left = 0
// max_bars_back(time, maxbarsback)
left = 0 * time[maxbarsback]
right = math.min(bar_index, maxbarsback)
mid = 0
if time < x
Expand Down
2 changes: 1 addition & 1 deletion scanner.data.bonds.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scanner.data.coin.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scanner.data.crypto.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scanner.data.futures.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scanner.data.json

Large diffs are not rendered by default.

0 comments on commit 515dc95

Please sign in to comment.