hermes_trisme

HT: Levels Lib

Library "Levels"

method initialize(id)
  Namespace types: levels_collection
  Parameters:
    id (levels_collection)

method create_level(id, name, value, level_start_bar, level_color, show)
  Namespace types: levels_collection
  Parameters:
    id (levels_collection)
    name (string)
    value (float)
    level_start_bar (int)
    level_color (color)
    show (bool)

method set_level(id, name, value, level_start_bar, show)
  Namespace types: levels_collection
  Parameters:
    id (levels_collection)
    name (string)
    value (float)
    level_start_bar (int)
    show (bool)

method find_resistance(id)
  Namespace types: levels_collection
  Parameters:
    id (levels_collection)

method find_support(id)
  Namespace types: levels_collection
  Parameters:
    id (levels_collection)

method draw_level(id)
  Namespace types: level_info
  Parameters:
    id (level_info)

method draw_all_levels(id)
  Namespace types: levels_collection
  Parameters:
    id (levels_collection)

level_info
  Fields:
    name (series__string)
    value (series__float)
    bar_num (series__integer)
    level_line (series__line)
    line_start_bar (series__integer)
    level_color (series__color)
    show (series__bool)
    ss (series__bool)
    sr (series__bool)

levels_collection
  Fields:
    levels (array__|level_info|#OBJ)

Thư viện Pine

Với tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này như một thư viện mã nguồn mở để các lập trình viên Pine khác từ cộng đồng của chúng tôi có thể sử dụng lại nó. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này một cách riêng tư hoặc trong các ấn phẩm mã nguồn mở khác, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy chung.

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.

Bạn muốn sử dụng thư viện này?

Sao chép văn bản vào khay nhớ tạm và dán nó vào tập lệnh của bạn.