PINE LIBRARY
Güncellendi eHarmonicpatternsLogScale

Library "eHarmonicpatternsLogScale"
Library provides functions to scan harmonic patterns both or normal and log scale
getSupportedPatterns()
get_prz_range(x, a, b, c, patternArray, errorPercent, start_adj, end_adj, logScale)
Provides PRZ range based on BCD and XAD ranges
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
patternArray: Pattern flags for which PRZ range needs to be calculated
errorPercent: Error threshold
start_adj: - Adjustments for entry levels
end_adj: - Adjustments for stop levels
logScale: - calculate on log scale. Default is false
Returns: [dStart, dEnd] Start and end of consolidated PRZ range
get_prz_range_xad(x, a, b, c, patternArray, errorPercent, start_adj, end_adj, logScale)
Provides PRZ range based on XAD range only
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
patternArray: Pattern flags for which PRZ range needs to be calculated
errorPercent: Error threshold
start_adj: - Adjustments for entry levels
end_adj: - Adjustments for stop levels
logScale: - calculate on log scale. Default is false
Returns: [dStart, dEnd] Start and end of consolidated PRZ range
get_projection_range(x, a, b, c, patternArray, errorPercent, start_adj, end_adj, logScale)
Provides Projection range based on BCD and XAD ranges
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
patternArray: Pattern flags for which PRZ range needs to be calculated
errorPercent: Error threshold
start_adj: - Adjustments for entry levels
end_adj: - Adjustments for stop levels
logScale: - calculate on log scale. Default is false
Returns: [startRange, endRange] Array containing start and end ranges
isHarmonicPattern(x, a, b, c, d, flags, defaultEnabled, errorPercent, logScale)
Checks for harmonic patterns
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
d: D coordinate value
flags: flags to check patterns. Send empty array to enable all
defaultEnabled
errorPercent: Error threshold
logScale: - calculate on log scale. Default is false
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names
isHarmonicProjection(x, a, b, c, flags, defaultEnabled, errorPercent, logScale)
Checks for harmonic pattern projection
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
flags: flags to check patterns. Send empty array to enable all
defaultEnabled
errorPercent: Error threshold
logScale: - calculate on log scale. Default is false
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names.
Library provides functions to scan harmonic patterns both or normal and log scale
getSupportedPatterns()
get_prz_range(x, a, b, c, patternArray, errorPercent, start_adj, end_adj, logScale)
Provides PRZ range based on BCD and XAD ranges
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
patternArray: Pattern flags for which PRZ range needs to be calculated
errorPercent: Error threshold
start_adj: - Adjustments for entry levels
end_adj: - Adjustments for stop levels
logScale: - calculate on log scale. Default is false
Returns: [dStart, dEnd] Start and end of consolidated PRZ range
get_prz_range_xad(x, a, b, c, patternArray, errorPercent, start_adj, end_adj, logScale)
Provides PRZ range based on XAD range only
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
patternArray: Pattern flags for which PRZ range needs to be calculated
errorPercent: Error threshold
start_adj: - Adjustments for entry levels
end_adj: - Adjustments for stop levels
logScale: - calculate on log scale. Default is false
Returns: [dStart, dEnd] Start and end of consolidated PRZ range
get_projection_range(x, a, b, c, patternArray, errorPercent, start_adj, end_adj, logScale)
Provides Projection range based on BCD and XAD ranges
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
patternArray: Pattern flags for which PRZ range needs to be calculated
errorPercent: Error threshold
start_adj: - Adjustments for entry levels
end_adj: - Adjustments for stop levels
logScale: - calculate on log scale. Default is false
Returns: [startRange, endRange] Array containing start and end ranges
isHarmonicPattern(x, a, b, c, d, flags, defaultEnabled, errorPercent, logScale)
Checks for harmonic patterns
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
d: D coordinate value
flags: flags to check patterns. Send empty array to enable all
defaultEnabled
errorPercent: Error threshold
logScale: - calculate on log scale. Default is false
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names
isHarmonicProjection(x, a, b, c, flags, defaultEnabled, errorPercent, logScale)
Checks for harmonic pattern projection
Parameters:
x: X coordinate value
a: A coordinate value
b: B coordinate value
c: C coordinate value
flags: flags to check patterns. Send empty array to enable all
defaultEnabled
errorPercent: Error threshold
logScale: - calculate on log scale. Default is false
Returns: [patternArray, patternLabelArray] Array of boolean values which says whether valid pattern exist and array of corresponding pattern names.
Sürüm Notları
v2Pine kitaplığı
Gerçek TradingView ruhuyla, yazar bu Pine kodunu açık kaynaklı bir kütüphane olarak yayınladı, böylece topluluğumuzdaki diğer Pine programcıları onu yeniden kullanabilir. Yazara saygı! Bu kütüphaneyi özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Site Kuralları tarafından yönetilmektedir.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Pine kitaplığı
Gerçek TradingView ruhuyla, yazar bu Pine kodunu açık kaynaklı bir kütüphane olarak yayınladı, böylece topluluğumuzdaki diğer Pine programcıları onu yeniden kullanabilir. Yazara saygı! Bu kütüphaneyi özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Site Kuralları tarafından yönetilmektedir.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.