GrowthOfNDay
简述
返回表达式Exp在N个周期指标的增长,其中returnType决定增长显示的类别,与系统参数(股票,日期,周期,复权)相关。
GrowthOfNDay(Exp:Expr;N:integer;returnType:Integer):real
名称 | 类型 | 说明 |
---|
Exp | Expr | 函数表达式 |
N | integer | 整数,天数 |
ReturnType | Integer | 用户自定义,返回类型
|
返回 | real | 实数 |
SetSysParam(pn_stock(),'SZ000001');
SetSysParam(pn_date(),20180801t);
return GrowthOfNDay(@close(),5,0);
//返回:-0.23