Custom Indicators - Supported Periods for Multi-Data Source Functions

CN
AICoin
Follow
1 year ago

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

Share To
APP

X

Telegram

Facebook

Reddit

CopyLink