Charts
DataOn-chain
VIP
Market Cap
API
Rankings
CoinOSNew
CoinClaw🦞
Language
  • 简体中文
  • 繁体中文
  • English
Leader in global market data applications, committed to providing valuable information more efficiently.

Features

  • Real-time Data
  • Special Features
  • AI Grid

Services

  • News
  • Open Data(API)
  • Institutional Services

Downloads

  • Desktop
  • Android
  • iOS

Contact Us

  • Chat Room
  • Business Email
  • Official Email
  • Official Verification

Join Community

  • Telegram
  • Twitter
  • Discord

© Copyright 2013-2026. All rights reserved.

简体繁體English
|Legacy

Custom Indicators - Supported Periods for Multi-Data Source Functions

CN
AiCoin
Follow
2 years ago
AI summarizes in 5 seconds.

Multi-data Source Function

security

Retrieve data from another data source

security(symbol, period, expr)

Syntax version requires // @version=2

Parameter Description

Name

Type

Description

symbol

String

The identifier of the requested data, using syminfo.tickerid to obtain the identifier of the current window

period

String

The requested data period

expr

Expression

The expression to be calculated and returned

Supported Periods for the Function

security(symbol, period, expr)

● The supported periods depend on the symbol value used

● For example, the BTC long/short position ratio index shown in the figure below [Figure 1] does not support periods such as 1 minute, 5 minutes, 10 minutes, etc. When using the symbol value of this index, the security function also does not support these periods.

● In addition, the security function currently does not support membership periods and custom periods, but supports all other periods. All periods can be viewed in the table below [Table 1] (note that some periods have differences due to different opening times)

● When no period is entered, such as security(syminfo.tickerid, '', close); then the current trading pair's candlestick period is used.

Custom Indicator - Supported Periods for Multi-data Source Function_aicoin_Figure 1

                                                                                       [Figure 1]

Periods

Open at 0:00 International Time - (period value)

Open at 0:00 Beijing Time - (period value)

1 minute

1m

1m

3 minutes

3m

3m

5 minutes

5m

5m

10 minutes

10m

10m

15 minutes

15m

15m

30 minutes

30m

30m

1 hour

1h

1h

2 hours

2h

2h

3 hours

3h

3h-8h

4 hours

4h

4h

6 hours

6h

6h-8h

12 hours

12h

12h-8h

1 day

1d

1d-8h

2 days

2d

2d-8h

3 days

3d

3d-8h

5 days

5d

5d-8h

1 week

1w

1w-8h

1 month

1M

1M-8h

1 quarter

1q

1q-8h

1 year

1y

1y-8h

                                                        [Table 1]

Related Reading:

AICoin Custom Indicator - Symbol Values and Expressions for Multi-data Source Function

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。

|
|
APP
Windows
Mac
Share To

X

Telegram

Facebook

Reddit

CopyLink

|
|
APP
Windows
Mac
Share To

X

Telegram

Facebook

Reddit

CopyLink

Selected Articles by AiCoin

3 hours ago
【AiCoin丨5.16 Snapshot: Institutions Increase Holdings, Net Outflow of Funds, Stablecoin Expansion】
1 day ago
At 4 PM, AiCoin NPC live broadcast: Rebirth of my wool pulling at OKX (gift membership)
1 day ago
【AiCoin丨5.15 Snapshot: Institutional Accumulation, Stablecoin Freezing, Institutional ETF Deposit】
View More

Table of Contents

|
|
APP
Windows
Mac
Share To

X

Telegram

Facebook

Reddit

CopyLink

Related Articles

avatar
avatarAiCoin研究院
20 hours ago
Open aster world | Uncover the new Ponzi play of the ETH protocol
avatar
avatarAiCoin研究院
2 days ago
After Wash takes office, how will the 2026 crypto bull market develop?
avatar
avatarAiCoin研究院
2 days ago
45 minutes line find buy sell points
avatar
avatarAiCoin研究院
3 days ago
BOLL Practical Combat | On-Chain K Line Investment Techniques
avatar
avatarAiCoin研究院
8 days ago
Capture key positions, just use chip distribution.
APP
Windows
Mac

X

Telegram

Facebook

Reddit

CopyLink