PINE LIBRARY
Cập nhật

MyLibrary001

382
Library "MyLibrary001"
Library for calculating the number of bars in the last X trading days

BarsInLastXDays(numTradingDays)
  BarsInLastXDays
description Calculates the number of bars in the last X trading days
  Parameters:
    numTradingDays (int): int Number of trading days to consider
  Returns: tuple(float, float) A tuple with the number of bars and the bar duration
Phát hành các Ghi chú
v2

Added:
BarsInLastXDaysXXX(numTradingDays)
  Parameters:
    numTradingDays (int)
Phát hành các Ghi chú
v3

Added:
InTimeRange(my_start, my_finish, my_time)
  Parameters:
    my_start (int)
    my_finish (int)
    my_time (int)

isWithinLastInterval(my_time, my_time1)
  Parameters:
    my_time (int)
    my_time1 (int)

Removed:
BarsInLastXDaysXXX(numTradingDays)
Phát hành các Ghi chú
v4

Added:
CloseToEarnings(max_days)
  Parameters:
    max_days (int)
Phát hành các Ghi chú
v5
Phát hành các Ghi chú
v6

Added:
CheckAndTriggerManualSignals(open_time, close_time, signals)
  Parameters:
    open_time (int)
    close_time (int)
    signals (array<string>)
Phát hành các Ghi chú
v7

Added:
TestAlertAndStrat(jsonLONG)
  Parameters:
    jsonLONG (simple string)
Phát hành các Ghi chú
v8

Updated:
TestAlertAndStrat(jsonLONG)
  Parameters:
    jsonLONG (string)
Phát hành các Ghi chú
v9

Updated:
TestAlertAndStrat(jsonLONG, jsonSHORT, long)
  Parameters:
    jsonLONG (string)
    jsonSHORT (string)
    long (bool)
Phát hành các Ghi chú
v10

Added:
ServerAlert(symbol, strategy_name, action, price)
  Parameters:
    symbol (string)
    strategy_name (string)
    action (string)
    price (float)
Phát hành các Ghi chú
v11
Phát hành các Ghi chú
v12
Phát hành các Ghi chú
v13
Phát hành các Ghi chú
v14

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.