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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בספרייה זו?

העתק את השורה הבאה והדבק אותה בסקריפט שלך.