@@ -2,6 +2,8 @@
|
||||
|
||||
## `sp_median(arg1, arg2)`
|
||||
|
||||
声明:function
|
||||
|
||||
时间序列统计相关函数。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -13,6 +15,8 @@
|
||||
|
||||
## `sp_mode(arg1, arg2)`
|
||||
|
||||
声明:function
|
||||
|
||||
时间序列统计相关函数。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -24,6 +28,8 @@
|
||||
|
||||
## `sp_norm(stock_id, arg2)`
|
||||
|
||||
声明:function
|
||||
|
||||
时间序列统计相关函数。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -35,6 +41,8 @@
|
||||
|
||||
## `sp_product(stock_id, arg2)`
|
||||
|
||||
声明:function
|
||||
|
||||
时间序列统计相关函数。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -46,6 +54,8 @@
|
||||
|
||||
## `sp_rank(arg1, arg2, arg3)`
|
||||
|
||||
声明:function
|
||||
|
||||
时间序列统计相关函数。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -58,6 +68,8 @@
|
||||
|
||||
## `hhv(exp, n, cache_string)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回N日最高的Exp的值,与系统参数(股票、时间、周期等相关),查看相关行情数据说明。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -87,6 +99,8 @@ return r;
|
||||
|
||||
## `llv(exp, n, cache_string)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回N日最低的Exp的值,与系统参数(股票、时间、周期等相关),查看相关行情数据说明。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -99,6 +113,8 @@ return r;
|
||||
|
||||
## `ma(exp, n, cache_string)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回N日Exp的平均值,与系统参数(股票、时间、周期等相关)。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -130,6 +146,8 @@ return t;
|
||||
|
||||
## `ema(exp, n, cache_string)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回N日Exp的移动平均,与系统参数(股票、时间、周期等相关)。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -153,6 +171,8 @@ return ema(close(),n);
|
||||
|
||||
## `sma(exp, n, m, cache_string)`
|
||||
|
||||
声明:function
|
||||
|
||||
求Exp的N日平滑移动平均,M为权重。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -177,6 +197,8 @@ return sma(close(),n,m);//返回8.0914
|
||||
|
||||
## `count(exp, n, cache_string)`
|
||||
|
||||
声明:function
|
||||
|
||||
统计N天中表达式Exp值为真的天数。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -199,6 +221,8 @@ return count(isUp(),100);
|
||||
|
||||
## `sumN(exp, n, cache_string)`
|
||||
|
||||
声明:function
|
||||
|
||||
求Exp的N日累加和。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -220,6 +244,8 @@ return sumN(vol(),5); // 返回152502152
|
||||
|
||||
## `cross(a, b)`
|
||||
|
||||
声明:function
|
||||
|
||||
A线从下面穿越B线时返回1,从A上面向下穿越B时返回-1,否则返回0。与系统参数(股票、时间、周期等相关)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
|
||||
Reference in New Issue
Block a user