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,本平台相关工作人员将会进行核查。

100% 中10U!新人Ai礼--戴森扫地机!
广告
|
|
APP
Windows
Mac
Share To

X

Telegram

Facebook

Reddit

CopyLink

|
|
APP
Windows
Mac
Share To

X

Telegram

Facebook

Reddit

CopyLink

Selected Articles by AiCoin

21 hours ago
【AiCoin丨March 28 Snapshot: Interest Rate Expectations, Gold Rise, ETF Deposits】
1 day ago
At 4 PM, AiCoin NPC Live: Ten Years of Trading Coins, Are There No Opportunities Left in the Crypto Circle? Will You Switch to the US Stock Market? (Membership Giveaway)
1 day ago
11 AM, AiCoin NPC直播: After ten years of trading cryptocurrencies, is there no opportunity left in the crypto world? Will you switch to the US stock market? (Membership giveaway)
View More

Table of Contents

|
|
APP
Windows
Mac
Share To

X

Telegram

Facebook

Reddit

CopyLink

Related Articles

avatar
avatarAiCoin研究院
1 day ago
After ten years of trading cryptocurrencies, is there no opportunity left in the crypto market? Will you turn to the US stock market?
avatar
avatarAiCoin研究院
3 days ago
Trump turns against! BTC makes a fortune, only 60 hours left.
avatar
avatarAiCoin研究院
5 days ago
The large pancake has fallen below 70,000, this "airdrop raid" has violently recovered! Are you ready?
avatar
avatarAiCoin研究院
8 days ago
Who was selling during the plummet last night?
avatar
avatarAiCoin研究院
9 days ago
315 Counterfeit Fighting Continues, Cryptocurrency Circle Avoid Pitfall God Live Broadcast!
APP
Windows
Mac

X

Telegram

Facebook

Reddit

CopyLink