PINE LIBRARY
Cập nhật eHarmonicpatterns

Library "eHarmonicpatterns"
Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations
scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic pattern
Parameters:
bcdRatio: AB/XA ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
scan_abc_axc(abcRatio, axcRatio, err_min, err_max, patternArray) Checks if abc or axc ratio is in range of any harmonic pattern
Parameters:
abcRatio: BC/AB ratio
axcRatio: XC/AX ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
scan_bcd(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic pattern
Parameters:
bcdRatio: CD/BC ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
scan_xad_xcd(xadRatio, xcdRatio, err_min, err_max, patternArray) Checks if xad or xcd ratio is in range of any harmonic pattern
Parameters:
xadRatio: AD/XA ratio
xcdRatio: CD/XC ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
isHarmonicPattern(x, a, c, c, d, flags, errorPercent) Checks for harmonic patterns
Parameters:
x: X coordinate value
a: A coordinate value
c: B coordinate value
c: C coordinate value
d: D coordinate value
flags: flags to check patterns. Send empty array to enable all
errorPercent: Error threshold
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names
isHarmonicProjection(x, a, c, c, flags, errorPercent) Checks for harmonic pattern projection
Parameters:
x: X coordinate value
a: A coordinate value
c: B coordinate value
c: C coordinate value
flags: flags to check patterns. Send empty array to enable all
errorPercent: Error threshold
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names
Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations
scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic pattern
Parameters:
bcdRatio: AB/XA ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
scan_abc_axc(abcRatio, axcRatio, err_min, err_max, patternArray) Checks if abc or axc ratio is in range of any harmonic pattern
Parameters:
abcRatio: BC/AB ratio
axcRatio: XC/AX ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
scan_bcd(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic pattern
Parameters:
bcdRatio: CD/BC ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
scan_xad_xcd(xadRatio, xcdRatio, err_min, err_max, patternArray) Checks if xad or xcd ratio is in range of any harmonic pattern
Parameters:
xadRatio: AD/XA ratio
xcdRatio: CD/XC ratio
err_min: minimum error threshold
err_max: maximum error threshold
patternArray: Array containing pattern check flags. Checks are made only if flags are true. Upon check flgs are overwritten.
isHarmonicPattern(x, a, c, c, d, flags, errorPercent) Checks for harmonic patterns
Parameters:
x: X coordinate value
a: A coordinate value
c: B coordinate value
c: C coordinate value
d: D coordinate value
flags: flags to check patterns. Send empty array to enable all
errorPercent: Error threshold
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names
isHarmonicProjection(x, a, c, c, flags, errorPercent) Checks for harmonic pattern projection
Parameters:
x: X coordinate value
a: A coordinate value
c: B coordinate value
c: C coordinate value
flags: flags to check patterns. Send empty array to enable all
errorPercent: Error threshold
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names
Phát hành các Ghi chú
v2Phát hành các Ghi chú
v3Added:
get_prz_range()
get_prz_range_xad()
Phát hành các Ghi chú
v4Phát hành các Ghi chú
v5Phát hành các Ghi chú
v6Added:
get_projection_range()
Phát hành các Ghi chú
v7Added:
getSupportedPatterns(patternLabelArray) Returns the list of supported patterns in order
Parameters:
patternLabelArray: Supported Patterns
Phát hành các Ghi chú
v8Phát hành các Ghi chú
v9Phát hành các Ghi chú
v10Phát hành các Ghi chú
v11Sorry for repeated experiments. Promise this is last one for now :D
Thư viện Pine
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo Nội quy chung.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Thư viện Pine
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo Nội quy chung.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.