Trendoscope

convergingpatterns

Library "convergingpatterns"
Library having implementation of converging chart patterns

getPatternNameByType(patternType)
  Returns pattern name based on type
  Parameters:
    patternType (int): integer value representing pattern type
  Returns: string name of the pattern

method find(this, sProperties, dProperties, patterns, ohlcArray)
  find converging patterns for given zigzag
  Namespace types: zg.Zigzag
  Parameters:
    this (Zigzag type from Trendoscope/ZigzagLite/2): Current zigzag Object
    sProperties (ScanProperties): ScanProperties Object
    dProperties (DrawingProperties type from Trendoscope/abstractchartpatterns/5): DrawingProperties Object
    patterns (array<Pattern> type from Trendoscope/abstractchartpatterns/5): array of existing patterns to check for duplicates
    ohlcArray (array<OHLC> type from Trendoscope/ohlc/1): array of OHLC values for historical reference
  Returns: string name of the pattern

ScanProperties
  Object containing properties for pattern scanning
  Fields:
    baseProperties (ScanProperties type from Trendoscope/abstractchartpatterns/5): Object of Base Scan Properties
    convergingDistanceMultiplier (series float): when multiplied with pattern size gets the max number of bars within which the pattern should converge

Pineライブラリ

TradingViewの精神に則り、作者はPineコードをオープンソースライブラリとして公開し、コミュニティの他のPineプログラマーが再利用できるようにしました。作者に敬意を表します!このライブラリを個人的に、または他のオープンソースの投稿で使用することができますが、、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

このライブラリを使用したいですか?

以下の行をコピーして、スクリプト内に貼り付けてください。