Math Operator Functions
数学运算符函数
ADD - Vector Arithmetic Add
函数名:ADD
名称:向量加法运算
real = ADD(high, low)
DIV - Vector Arithmetic Div
函数名:DIV
名称:向量除法运算
real = DIV(high, low)
MAX - Highest value over a specified period
函数名:MAX
名称:周期内最大值(未满足周期返回nan)
real = MAX(close, timeperiod=30)
MAXINDEX - Index of highest value over a specified period
函数名:MAXINDEX
名称:周期内最大值的索引
integer = MAXINDEX(close, timeperiod=30)
MIN - Lowest value over a specified period
函数名:MIN
名称:周期内最小值 (未满足周期返回nan)
real = MIN(close, timeperiod=30)
MININDEX - Index of lowest value over a specified period
函数名:MININDEX
名称:周期内最小值的索引
integer = MININDEX(close, timeperiod=30)
MINMAX - Lowest and highest values over a specified period
函数名:MINMAX
名称:周期内最小值和最大值(返回元组````元组(array【最小】,array【最大】)```)
min, max = MINMAX(close, timeperiod=30)
MINMAXINDEX - Indexes of lowest and highest values over a specified period
函数名:MINMAX
名称:周期内最小值和最大值索引(返回元组````元组(array【最小】,array【最大】)```)
minidx, maxidx = MINMAXINDEX(close, timeperiod=30)
MULT - Vector Arithmetic Mult
函数名:MULT
名称:向量乘法运算
real = MULT(high, low)
SUB - Vector Arithmetic Substraction
函数名:SUB
名称:向量减法运算
real = SUB(high, low)
SUM - Summation
函数名:SUM
名称:周期内求和
real = SUM(close, timeperiod=30)
原文地址:https://www.cnblogs.com/fangbei/p/9461339.html
时间: 2024-10-10 10:59:19