原文:
www.backtrader.com/
TA-Lib
原文:
www.backtrader.com/docu/talib/talib/
即使backtrader提供了大量内置指标,而且开发指标主要是定义输入、输出并以自然方式编写公式,一些人还是想要使用TA-LIB。一些原因包括:
-
指标X在库中而不在backtrader中(作者将乐意接受请求)
-
TA-LIB行为是众所周知的,人们信任老牌产品
为了满足各种口味,提供了TA-LIB集成。
要求
-
用于 TA-Lib 的 Python 包装器
-
它所需的任何依赖项(例如numpy)
安装细节在GitHub仓库上。
使用ta-lib
与backtrader中已内置的任何指标使用起来一样容易。例如一个简单移动平均线。首先是backtrader的一个:
import backtrader as btclass MyStrategy(bt.Strategy):params = (('period', 20),)def __init__(self):self.sma = bt.indicators.SMA(self.data, period=self.p.period)......
现在是ta-lib示例:
import backtrader as btclass MyStrategy(bt.Strategy):params = (('period', 20),)def __init__(self):self.sma = bt.talib.SMA(self.data, timeperiod=self.p.period)......
Et voilá!当然,ta-lib指标的params由库本身定义,而不是由backtrader定义。在这种情况下,ta-lib中的SMA接受一个名为timeperiod
的参数来定义操作窗口的大小。
对于需要多个输入的指标,例如随机指标:
import backtrader as btclass MyStrategy(bt.Strategy):params = (('period', 20),)def __init__(self):self.stoc = bt.talib.STOCH(self.data.high, self.data.low, self.data.close,fastk_period=14, slowk_period=3, slowd_period=3)......
注意high
、low
和close
已经分别传递。可以随时传递open
而不是low
(或任何其他数据系列)进行实验。
ta-lib指标文档已自动解析并添加到backtrader文档中。您也可以查看ta-lib源代码/文档。或者额外执行以下操作:
print(bt.talib.SMA.__doc__)
这种情况下的输出是:
SMA([input_arrays], [timeperiod=30])Simple Moving Average (Overlap Studies)Inputs:price: (any ndarray)
Parameters:timeperiod: 30
Outputs:real
这提供了一些信息:
-
预期的是哪个输入(忽略
ndarray
注释,因为 backtrader 在后台管理转换) -
哪些参数和哪些默认值
-
指标实际提供了哪些线
移动平均线和 MA_Type。
为了为像bt.talib.STOCH
这样的指标选择特定的移动平均线,标准的ta-lib MA_Type
可以通过backtrader.talib.MA_Type
访问。例如:
import backtrader as bt
print('SMA:', bt.talib.MA_Type.SMA)
print('T3:', bt.talib.MA_Type.T3)
绘制 ta-lib 指标
与常规用法一样,绘制ta-lib指标无需任何特殊操作。
注意
输出为CANDLE(所有寻找蜡烛图案的指标)的指标提供二进制输出:0 或 100。为了避免向图表添加subplot
,自动绘图转换为在识别出该模式的时间点上在数据上绘制它们。
示例和比较
以下是比较一些ta-lib指标的输出与backtrader中等效内置指标的图表。需要考虑的是:
-
ta-lib指标在绘图时带有
TA_
前缀。这是由示例特别完成的,以帮助用户区分它们。 -
移动平均线(如果两者产生相同的结果)将被绘制在现有的移动平均线之上。这两个指标不能分开观察,如果是这样,测试就通过了。
-
所有样本都包括一个
CDLDOJI
指标作为参考
KAMA(Kaufman 移动平均)
这是第一个示例,因为它是唯一一个(从所有直接比较的指标中)具有差异的示例:
-
样本的初始值不同
-
在某个时间点,两种KAMA实现会收敛并具有相同的行为。
在分析了ta-lib源代码之后:
-
ta-lib中的实现对KAMA的第一个值进行了非行业标准的选择。
可以从源代码中看到选择(引用源代码):这里使用昨天的价格作为前一天的 KAMA。
backtrader做出了通常的选择,与Stockcharts的选择相同:
-
StockCharts 上的 KAMA
由于我们需要一个初始值来开始计算,因此第一个 KAMA 只是一个简单的移动平均
因此有所不同。此外:
- ta-lib的
KAMA
实现不允许指定用于调整Kaufman定义的可调节常数的fast
和slow
周期。
示例执行:
$ ./talibtest.py --plot --ind kama
输出
SMA
$ ./talibtest.py --plot --ind sma
输出
EMA
$ ./talibtest.py --plot --ind ema
输出
随机指标
$ ./talibtest.py --plot --ind stoc
输出
RSI
$ ./talibtest.py --plot --ind rsi
输出
MACD
$ ./talibtest.py --plot --ind macd
输出
布林带
$ ./talibtest.py --plot --ind bollinger
输出
AROON
请注意,ta-lib选择先放down线,并且颜色与backtrader内置指标相比是反转的。
$ ./talibtest.py --plot --ind aroon
输出
终极波动指标
$ ./talibtest.py --plot --ind ultimate
输出
Trix
$ ./talibtest.py --plot --ind trix
输出
ADXR
这里backtrader提供了ADX
和ADXR
线。
$ ./talibtest.py --plot --ind adxr
输出
DEMA
$ ./talibtest.py --plot --ind dema
输出
TEMA
$ ./talibtest.py --plot --ind tema
输出
PPO
这里backtrader不仅提供ppo
线,还提供了更传统的macd
方法。
$ ./talibtest.py --plot --ind ppo
输出
WilliamsR
$ ./talibtest.py --plot --ind williamsr
输出
ROC
所有指标显示的形状完全相同,但如何跟踪动量或变化率有几种定义。
$ ./talibtest.py --plot --ind roc
输出
示例用法
$ ./talibtest.py --help
usage: talibtest.py [-h] [--data0 DATA0] [--fromdate FROMDATE][--todate TODATE][--ind {sma,ema,stoc,rsi,macd,bollinger,aroon,ultimate,trix,kama,adxr,dema,tema,ppo,williamsr,roc}][--no-doji] [--use-next] [--plot [kwargs]]Sample for ta-liboptional arguments:-h, --help show this help message and exit--data0 DATA0 Data to be read in (default:../../datas/yhoo-1996-2015.txt)--fromdate FROMDATE Starting date in YYYY-MM-DD format (default:2005-01-01)--todate TODATE Ending date in YYYY-MM-DD format (default: 2006-12-31)--ind {sma,ema,stoc,rsi,macd,bollinger,aroon,ultimate,trix,kama,adxr,dema,tema,ppo,williamsr,roc}Which indicator pair to show together (default: sma)--no-doji Remove Doji CandleStick pattern checker (default:False)--use-next Use next (step by step) instead of once (batch)(default: False)--plot [kwargs], -p [kwargs]Plot the read data applying any kwargs passed Forexample (escape the quotes if needed): --plotstyle="candle" (to plot candles) (default: None)
示例代码
from __future__ import (absolute_import, division, print_function,unicode_literals)import argparse
import datetimeimport backtrader as btclass TALibStrategy(bt.Strategy):params = (('ind', 'sma'), ('doji', True),)INDS = ['sma', 'ema', 'stoc', 'rsi', 'macd', 'bollinger', 'aroon','ultimate', 'trix', 'kama', 'adxr', 'dema', 'ppo', 'tema','roc', 'williamsr']def __init__(self):if self.p.doji:bt.talib.CDLDOJI(self.data.open, self.data.high,self.data.low, self.data.close)if self.p.ind == 'sma':bt.talib.SMA(self.data.close, timeperiod=25, plotname='TA_SMA')bt.indicators.SMA(self.data, period=25)elif self.p.ind == 'ema':bt.talib.EMA(timeperiod=25, plotname='TA_SMA')bt.indicators.EMA(period=25)elif self.p.ind == 'stoc':bt.talib.STOCH(self.data.high, self.data.low, self.data.close,fastk_period=14, slowk_period=3, slowd_period=3,plotname='TA_STOCH')bt.indicators.Stochastic(self.data)elif self.p.ind == 'macd':bt.talib.MACD(self.data, plotname='TA_MACD')bt.indicators.MACD(self.data)bt.indicators.MACDHisto(self.data)elif self.p.ind == 'bollinger':bt.talib.BBANDS(self.data, timeperiod=25,plotname='TA_BBANDS')bt.indicators.BollingerBands(self.data, period=25)elif self.p.ind == 'rsi':bt.talib.RSI(self.data, plotname='TA_RSI')bt.indicators.RSI(self.data)elif self.p.ind == 'aroon':bt.talib.AROON(self.data.high, self.data.low, plotname='TA_AROON')bt.indicators.AroonIndicator(self.data)elif self.p.ind == 'ultimate':bt.talib.ULTOSC(self.data.high, self.data.low, self.data.close,plotname='TA_ULTOSC')bt.indicators.UltimateOscillator(self.data)elif self.p.ind == 'trix':bt.talib.TRIX(self.data, timeperiod=25, plotname='TA_TRIX')bt.indicators.Trix(self.data, period=25)elif self.p.ind == 'adxr':bt.talib.ADXR(self.data.high, self.data.low, self.data.close,plotname='TA_ADXR')bt.indicators.ADXR(self.data)elif self.p.ind == 'kama':bt.talib.KAMA(self.data, timeperiod=25, plotname='TA_KAMA')bt.indicators.KAMA(self.data, period=25)elif self.p.ind == 'dema':bt.talib.DEMA(self.data, timeperiod=25, plotname='TA_DEMA')bt.indicators.DEMA(self.data, period=25)elif self.p.ind == 'ppo':bt.talib.PPO(self.data, plotname='TA_PPO')bt.indicators.PPO(self.data, _movav=bt.indicators.SMA)elif self.p.ind == 'tema':bt.talib.TEMA(self.data, timeperiod=25, plotname='TA_TEMA')bt.indicators.TEMA(self.data, period=25)elif self.p.ind == 'roc':bt.talib.ROC(self.data, timeperiod=12, plotname='TA_ROC')bt.talib.ROCP(self.data, timeperiod=12, plotname='TA_ROCP')bt.talib.ROCR(self.data, timeperiod=12, plotname='TA_ROCR')bt.talib.ROCR100(self.data, timeperiod=12, plotname='TA_ROCR100')bt.indicators.ROC(self.data, period=12)bt.indicators.Momentum(self.data, period=12)bt.indicators.MomentumOscillator(self.data, period=12)elif self.p.ind == 'williamsr':bt.talib.WILLR(self.data.high, self.data.low, self.data.close,plotname='TA_WILLR')bt.indicators.WilliamsR(self.data)def runstrat(args=None):args = parse_args(args)cerebro = bt.Cerebro()dkwargs = dict()if args.fromdate:fromdate = datetime.datetime.strptime(args.fromdate, '%Y-%m-%d')dkwargs['fromdate'] = fromdateif args.todate:todate = datetime.datetime.strptime(args.todate, '%Y-%m-%d')dkwargs['todate'] = todatedata0 = bt.feeds.YahooFinanceCSVData(dataname=args.data0, **dkwargs)cerebro.adddata(data0)cerebro.addstrategy(TALibStrategy, ind=args.ind, doji=not args.no_doji)cerebro.run(runcone=not args.use_next, stdstats=False)if args.plot:pkwargs = dict(style='candle')if args.plot is not True: # evals to True but is not Truenpkwargs = eval('dict(' + args.plot + ')') # args were passedpkwargs.update(npkwargs)cerebro.plot(**pkwargs)def parse_args(pargs=None):parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter,description='Sample for sizer')parser.add_argument('--data0', required=False,default='../../datas/yhoo-1996-2015.txt',help='Data to be read in')parser.add_argument('--fromdate', required=False,default='2005-01-01',help='Starting date in YYYY-MM-DD format')parser.add_argument('--todate', required=False,default='2006-12-31',help='Ending date in YYYY-MM-DD format')parser.add_argument('--ind', required=False, action='store',default=TALibStrategy.INDS[0],choices=TALibStrategy.INDS,help=('Which indicator pair to show together'))parser.add_argument('--no-doji', required=False, action='store_true',help=('Remove Doji CandleStick pattern checker'))parser.add_argument('--use-next', required=False, action='store_true',help=('Use next (step by step) ''instead of once (batch)'))# Plot optionsparser.add_argument('--plot', '-p', nargs='?', required=False,metavar='kwargs', const=True,help=('Plot the read data applying any kwargs passed\n''\n''For example (escape the quotes if needed):\n''\n'' --plot style="candle" (to plot candles)\n'))if pargs is not None:return parser.parse_args(pargs)return parser.parse_args()if __name__ == '__main__':runstrat()
指标 - ta-lib - 参考
原文:
www.backtrader.com/docu/talibindautoref/
TA-Lib 指标参考
ACOS
ACOS([input_arrays])
向量三角函数 ACos(Math Transform)
输入:
price: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
AD
AD([input_arrays])
蔡金 A/D 线(Volume Indicators)
输入:
prices: [‘high’, ‘low’, ‘close’, ‘volume’]
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ADD
ADD([input_arrays])
向量算术加法(Math Operators)
输入:
price0: (any ndarray) price1: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ADOSC
ADOSC([input_arrays], [fastperiod=3], [slowperiod=10])
蔡金 A/D 振荡器(Volume Indicators)
输入:
prices: [‘high’, ‘low’, ‘close’, ‘volume’]
参数:
fastperiod: 3 slowperiod: 10
输出:
real
线条:
* real
参数:
* fastperiod (3)* slowperiod (10)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ADX
ADX([input_arrays], [timeperiod=14])
平均趋向指数(Momentum Indicators)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ADXR
ADXR([input_arrays], [timeperiod=14])
平均趋向指数评级(Momentum Indicators)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
APO
APO([input_arrays], [fastperiod=12], [slowperiod=26], [matype=0])
绝对价格振荡器(Momentum Indicators)
输入:
price: (any ndarray)
参数:
fastperiod: 12 slowperiod: 26 matype: 0 (Simple Moving Average)
输出:
real
线条:
* real
参数:
* fastperiod (12)* slowperiod (26)* matype (0)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
AROON
AROON([input_arrays], [timeperiod=14])
Aroon(Momentum Indicators)
输入:
prices: [‘high’, ‘low’]
参数:
timeperiod: 14
输出:
aroondown aroonup
线条:
* aroondown* aroonup
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* aroondown: - ls (–)* aroonup: - ls (-)
AROONOSC
AROONOSC([input_arrays], [timeperiod=14])
Aroon Oscillator(Momentum Indicators)
输入:
prices: [‘high’, ‘low’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ASIN
ASIN([input_arrays])
向量三角函数 ASin(Math Transform)
输入:
price: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ATAN
ATAN([input_arrays])
向量三角函数 ATan(Math Transform)
输入:
price: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ATR
ATR([input_arrays], [timeperiod=14])
真实波幅(Volatility Indicators)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
AVGPRICE
AVGPRICE([input_arrays])
平均价格(Price Transform)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
real
线条:
* real
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
BBANDS
BBANDS([input_arrays], [timeperiod=5], [nbdevup=2], [nbdevdn=2], [matype=0])
布林带(Overlap Studies)
输入:
price: (any ndarray)
参数:
timeperiod: 5 nbdevup: 2 nbdevdn: 2 matype: 0 (Simple Moving
Average)
输出:
upperband middleband lowerband
线条:
* upperband* middleband* lowerband
参数:
* timeperiod (5)* nbdevup (2)* nbdevdn (2)* matype (0)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* middleband: - _samecolor (True) - ls (-)* upperband:* lowerband: - _samecolor (True)
BETA
BETA([input_arrays], [timeperiod=5])
贝塔(Statistic Functions)
输入:
price0: (any ndarray) price1: (any ndarray)
参数:
timeperiod: 5
输出:
real
线条:
* real
参数:
* timeperiod (5)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
BOP
BOP([input_arrays])
势力均衡(Momentum Indicators)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
CCI
CCI([input_arrays], [timeperiod=14])
商品通道指数(Momentum Indicators)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
CDL2###CROWS
CDL2CROWS([input_arrays])
两只乌鸦(Pattern Recognition)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDL2CROWS)
CDL3###BLACKCROWS
CDL3BLACKCROWS([input_arrays])
三黑鸦(Pattern Recognition)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDL3BLACKCROWS)
CDL3###INSIDE
CDL3INSIDE([input_arrays])
三内部上升/下降(Pattern Recognition)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDL3INSIDE)
CDL3###LINESTRIKE
CDL3LINESTRIKE([input_arrays])
三线行云(Pattern Recognition)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDL3LINESTRIKE)
CDL3###OUTSIDE
CDL3OUTSIDE([输入数组])
三外上/下(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDL3OUTSIDE)
CDL3###STARSINSOUTH
CDL3STARSINSOUTH([输入数组])
南方三星(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDL3STARSINSOUTH)
CDL3###WHITESOLDIERS
CDL3WHITESOLDIERS([输入数组])
三只前进的白兵(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDL3WHITESOLDIERS)
CDLABANDONEDBABY
CDLABANDONEDBABY([输入数组],[穿透=0.3])
弃婴(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
参数:
penetration: 0.3
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
参数:
* penetration (0.3)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLABANDONEDBABY)
CDLADVANCEBLOCK
CDLADVANCEBLOCK([输入数组])
先进区块(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLADVANCEBLOCK)
CDLBELTHOLD
CDLBELTHOLD([输入数组])
持有(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLBELTHOLD)
CDLBREAKAWAY
CDLBREAKAWAY([输入数组])
突破(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLBREAKAWAY)
CDLCLOSINGMARUBOZU
CDLCLOSINGMARUBOZU([输入数组])
收盘光头兵(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLCLOSINGMARUBOZU)
CDLCONCEALBABYSWALL
CDLCONCEALBABYSWALL([输入数组])
隐蔽的宝宝吞噬(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLCONCEALBABYSWALL)
CDLCOUNTERATTACK
CDLCOUNTERATTACK([输入数组])
反击(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLCOUNTERATTACK)
CDLDARKCLOUDCOVER
CDLDARKCLOUDCOVER([输入数组],[穿透=0.5])
黑云盖顶(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
参数:
penetration: 0.5
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
参数:
* penetration (0.5)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLDARKCLOUDCOVER)
CDLDOJI
CDLDOJI([输入数组])
十字(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLDOJI)
CDLDOJISTAR
CDLDOJISTAR([输入数组])
十字星(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLDOJISTAR)
CDLDRAGONFLYDOJI
CDLDRAGONFLYDOJI([输入数组])
蜻蜓十字(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLDRAGONFLYDOJI)
CDLENGULFING
CDLENGULFING([输入数组])
吞没模式(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLENGULFING)
CDLEVENINGDOJISTAR
CDLEVENINGDOJISTAR([输入数组],[穿透=0.3])
晚十字星(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
参数:
penetration: 0.3
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
参数:
* penetration (0.3)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLEVENINGDOJISTAR)
CDLEVENINGSTAR
CDLEVENINGSTAR([输入数组],[穿透=0.3])
晚星(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
参数:
penetration: 0.3
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
参数:
* penetration (0.3)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLEVENINGSTAR)
CDLGAPSIDESIDEWHITE
CDLGAPSIDESIDEWHITE([输入数组])
上/下缺口并排的白线(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLGAPSIDESIDEWHITE)
CDLGRAVESTONEDOJI
CDLGRAVESTONEDOJI([输入数组])
墓碑十字(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLGRAVESTONEDOJI)
CDLHAMMER
CDLHAMMER([输入数组])
锤子(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHAMMER)
CDLHANGINGMAN
CDLHANGINGMAN([输入数组])
吊人(图案识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线条:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线条:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHANGINGMAN)
CDLHARAMI
CDLHARAMI([输入数组])
哈拉米模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHARAMI)
CDLHARAMICROSS
CDLHARAMICROSS([输入数组])
哈拉米十字模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHARAMICROSS)
CDLHIGHWAVE
CDLHIGHWAVE([输入数组])
高浪蜡烛(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHIGHWAVE)
CDLHIKKAKE
CDLHIKKAKE([输入数组])
Hikkake 模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHIKKAKE)
CDLHIKKAKEMOD
CDLHIKKAKEMOD([输入数组])
修改的 Hikkake 模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHIKKAKEMOD)
CDLHOMINGPIGEON
CDLHOMINGPIGEON([输入数组])
家鸽(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLHOMINGPIGEON)
CDLIDENTICAL3###CROWS
CDLIDENTICAL3CROWS([输入数组])
相同的三只乌鸦(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLIDENTICAL3CROWS)
CDLINNECK
CDLINNECK([输入数组])
颈内模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLINNECK)
CDLINVERTEDHAMMER
CDLINVERTEDHAMMER([输入数组])
倒锤子(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLINVERTEDHAMMER)
CDLKICKING
CDLKICKING([输入数组])
踢腿(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
��:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLKICKING)
CDLKICKINGBYLENGTH
CDLKICKINGBYLENGTH([输入数组])
踢腿-由较长的光头光脚决定(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLKICKINGBYLENGTH)
CDLLADDERBOTTOM
CDLLADDERBOTTOM([输入数组])
阶梯底部(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLLADDERBOTTOM)
CDLLONGLEGGEDDOJI
CDLLONGLEGGEDDOJI([输入数组])
长腿十字(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLLONGLEGGEDDOJI)
CDLLONGLINE
CDLLONGLINE([输入数组])
长线蜡烛(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLLONGLINE)
CDLMARUBOZU
CDLMARUBOZU([输入数组])
光头光脚(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLMARUBOZU)
CDLMATCHINGLOW
CDLMATCHINGLOW([输入数组])
匹配低点(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLMATCHINGLOW)
CDLMATHOLD
CDLMATHOLD([输入数组],[穿透=0.5])
马特霍尔德(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
参数:
penetration: 0.5
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
参数:
* penetration (0.5)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLMATHOLD)
CDLMORNINGDOJISTAR
CDLMORNINGDOJISTAR([输入数组],[穿透=0.3])
晨十字星(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
参数:
penetration: 0.3
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
参数:
* penetration (0.3)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLMORNINGDOJISTAR)
CDLMORNINGSTAR
CDLMORNINGSTAR([输入数组],[穿透=0.3])
晨星(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
参数:
penetration: 0.3
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
参数:
* penetration (0.3)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLMORNINGSTAR)
CDLONNECK
CDLONNECK([输入数组])
颈上模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLONNECK)
CDLPIERCING
CDLPIERCING([输入数组])
刺透模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLPIERCING)
CDLRICKSHAWMAN
CDLRICKSHAWMAN([输入数组])
人力车夫(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLRICKSHAWMAN)
CDLRISEFALL3###METHODS
CDLRISEFALL3METHODS([输入数组])
上涨缺口两鸦(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLRISEFALL3METHODS)
CDLSEPARATINGLINES
CDLSEPARATINGLINES([input_arrays])
分离线(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLSEPARATINGLINES)
CDLSHOOTINGSTAR
CDLSHOOTINGSTAR([input_arrays])
流星(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLSHOOTINGSTAR)
CDLSHORTLINE
CDLSHORTLINE([input_arrays])
短线蜡烛(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLSHORTLINE)
CDLSPINNINGTOP
CDLSPINNINGTOP([input_arrays])
纺锤顶(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLSPINNINGTOP)
CDLSTALLEDPATTERN
CDLSTALLEDPATTERN([input_arrays])
停滞模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLSTALLEDPATTERN)
CDLSTICKSANDWICH
CDLSTICKSANDWICH([input_arrays])
条形三明治(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLSTICKSANDWICH)
CDLTAKURI
CDLTAKURI([input_arrays])
田坑(具有非常长下影线的蜻蜓十字线)(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLTAKURI)
CDLTASUKIGAP
CDLTASUKIGAP([input_arrays])
田坑缺口(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLTASUKIGAP)
CDLTHRUSTING
CDLTHRUSTING([input_arrays])
冲击模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLTHRUSTING)
CDLTRISTAR
CDLTRISTAR([input_arrays])
三星模式(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLTRISTAR)
CDLUNIQUE3###RIVER
CDLUNIQUE3RIVER([input_arrays])
唯一的 3 条河(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLUNIQUE3RIVER)
CDLUPSIDEGAP2###CROWS
CDLUPSIDEGAP2CROWS([input_arrays])
上涨缺口两鸦(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLUPSIDEGAP2CROWS)
CDLXSIDEGAP3###METHODS
CDLXSIDEGAP3METHODS([input_arrays])
上涨/下跌缺口三法(模式识别)
输入:
prices: [‘open’, ‘high’, ‘low’, ‘close’]
输出:
integer (values are -100, 0 or 100)
线:
* integer* _candleplot
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (True)* plotmaster (None)* plotyticks ([])
绘制线:
* integer: - _plotskip (True)* _candleplot: - marker (d) - fillstyle (full) - markersize (7.0) -ls () - _name (CDLXSIDEGAP3METHODS)
CEIL
CEIL([input_arrays])
向量向上取整(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘制信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
CMO
CMO([input_arrays],[timeperiod=14])
钱德动量摆动指标(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘制信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
CORREL
CORREL([input_arrays],[timeperiod=30])
皮尔逊相关系数®(统计函数)
输入:
price0: (any ndarray) price1: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘制信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
COS
COS([input_arrays])
向量三角余弦(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘制信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
COSH
COSH([input_arrays])
向量三角函数 Cosh(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘制信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
DEMA
DEMA([input_arrays],[timeperiod=30])
双指数移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘制信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
DIV
DIV([input_arrays])
向量算术除法(数学运算符)
输入:
price0: (any ndarray) price1: (any ndarray)
输出:
real
线:
* real
绘制信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
DX
DX([input_arrays],[timeperiod=14])
方向运动指数(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘制信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘制线:
* real: - ls (-)
EMA
EMA([input_arrays],[timeperiod=30])
指数移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
EXP
EXP([input_arrays])
向量算术指数(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
FLOOR
FLOOR([input_arrays])
向量下限(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
HT_###周期
HT_DCPERIOD([input_arrays])
希尔伯特变换 - 主导周期周期(周期指标)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
HT_###周期相位
HT_DCPHASE([input_arrays])
希尔伯特变换 - 主导周期相位(周期指标)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
HT_###相位计量器
HT_PHASOR([input_arrays])
希尔伯特变换 - 相位分量(周期指标)
输入:
price: (any ndarray)
输出:
inphase quadrature
线:
* inphase* quadrature
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* inphase: - ls (-)* quadrature: - ls (–)
HT_###正弦
HT_SINE([input_arrays])
希尔伯特变换 - 正弦波(周期指标)
输入:
price: (any ndarray)
输出:
sine leadsine
线:
* sine* leadsine
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* leadsine: - ls (–)* sine: - ls (-)
HT_###趋势线
HT 趋势线([input_arrays])
希尔伯特变换 - 瞬时趋势线(重叠研究)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
HT_###趋势模式
HT 趋势模式([input_arrays])
希尔伯特变换 - 趋势 vs 周期模式(周期指标)
输入:
price: (any ndarray)
输出:
integer (values are -100, 0 or 100)
线:
* integer
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* integer: - ls (-)
KAMA
KAMA([input_arrays], [timeperiod=30])
考夫曼自适应移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
线性回归
线性回归([input_arrays], [timeperiod=14])
线性回归(统计函数)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
线性回归角度
线性回归角度([input_arrays], [timeperiod=14])
线性回归角度(统计函数)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
线性回归截距
线性回归截距([input_arrays], [timeperiod=14])
线性回归截距(统计函数)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
线性回归斜率
线性回归斜率([input_arrays], [timeperiod=14])
线性回归斜率(统计函数)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
LN
LN([input_arrays])
向量自然对数(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
LOG10
LOG10([input_arrays])
向量对数 10(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
MA
MA([input_arrays], [timeperiod=30], [matype=0])
移动平均(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30 matype: 0 (Simple Moving Average)
输出:
real
线:
* real
参数:
* timeperiod (30)* matype (0)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
MACD
MACD([input_arrays], [fastperiod=12], [slowperiod=26], [signalperiod=9])
移动平均收敛/发散(动量指标)
输入:
price: (any ndarray)
参数:
fastperiod: 12 slowperiod: 26 signalperiod: 9
输出:
macd macdsignal macdhist
线:
* macd* macdsignal* macdhist
参数:
* fastperiod (12)* slowperiod (26)* signalperiod (9)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* macdsignal: - ls (–)* macd: - ls (-)* macdhist: - _method (bar)
MACDEXT
MACDEXT([input_arrays], [fastperiod=12], [fastmatype=0], [slowperiod=26], [slowmatype=0], [signalperiod=9], [signalmatype=0])
可控 MA 类型的 MACD(动量指标)
输入:
price: (any ndarray)
参数:
fastperiod: 12 fastmatype: 0 slowperiod: 26 slowmatype: 0
signalperiod: 9 signalmatype: 0
输出:
macd macdsignal macdhist
线:
* macd* macdsignal* macdhist
参数:
* fastperiod (12)* fastmatype (0)* slowperiod (26)* slowmatype (0)* signalperiod (9)* signalmatype (0)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* macdsignal: - ls (–)* macd: - ls (-)* macdhist: - _method (bar)
MACDFIX
MACDFIX([input_arrays], [signalperiod=9])
移动平均收敛/发散修正 12/26(动量指标)
输入:
price: (any ndarray)
参数:
signalperiod: 9
输出:
macd macdsignal macdhist
线:
* macd* macdsignal* macdhist
参数:
* signalperiod (9)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* macdsignal: - ls (–)* macd: - ls (-)* macdhist: - _method (bar)
MAMA
MAMA([input_arrays],[fastlimit=0.5],[slowlimit=0.05])
MESA 自适应移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
fastlimit: 0.5 slowlimit: 0.05
输出:
mama fama
线条:
* mama* fama
参数:
* fastlimit (0.5)* slowlimit (0.05)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* mama: - ls (-)* fama: - ls (–)
MAVP
MAVP([input_arrays],[minperiod=2],[maxperiod=30],[matype=0])
变动平均线(重叠研究)
输入:
price: (any ndarray) periods: (any ndarray)
参数:
minperiod: 2 maxperiod: 30 matype: 0 (Simple Moving Average)
输出:
real
线条:
* real
参数:
* minperiod (2)* maxperiod (30)* matype (0)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
最大
MAX([input_arrays],[timeperiod=30])
指定期间内的最高值(数学运算符)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线条:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MAXINDEX
MAXINDEX([input_arrays],[timeperiod=30])
指定期间内最高值的索引(数学运算符)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
integer (values are -100, 0 or 100)
线条:
* integer
参数:
* timeperiod (30)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* integer: - ls (-)
MEDPRICE
MEDPRICE([input_arrays])
中间价(价格转换)
输入:
prices: [‘high’, ‘low’]
输出:
real
线条:
* real
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MFI
MFI([input_arrays],[timeperiod=14])
资金流量指数(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’, ‘volume’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MIDPOINT
MIDPOINT([input_arrays],[timeperiod=14])
期间内的中点(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MIDPRICE
MIDPRICE([input_arrays],[timeperiod=14])
期间的中间价(重叠研究)
输入:
prices: [‘high’, ‘low’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
最小
MIN([input_arrays],[timeperiod=30])
指定期间内的最低值(数学运算符)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线条:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MININDEX
MININDEX([input_arrays],[timeperiod=30])
指定期间内最低值的索引(数学运算符)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
integer (values are -100, 0 or 100)
线条:
* integer
参数:
* timeperiod (30)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* integer: - ls (-)
MINMAX
MINMAX([input_arrays],[timeperiod=30])
指定期间内的最低和最高值(数学运算符)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
min max
线条:
* min* max
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* max: - ls (-)* min: - ls (-)
MINMAXINDEX
MINMAXINDEX([input_arrays],[timeperiod=30])
指定周期内的最低和最高值的指数(数学运算符)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
minidx maxidx
线条:
* minidx* maxidx
参数:
* timeperiod (30)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* maxidx: - ls (-)* minidx: - ls (-)
MINUS_###DI
MINUS_DI([input_arrays],[timeperiod=14])
负向指标(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MINUS_###DM
MINUS_DM([input_arrays],[timeperiod=14])
负向趋势运动(动量指标)
输入:
prices: [‘high’, ‘low’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MOM
MOM([input_arrays],[timeperiod=10])
动量(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 10
输出:
real
线条:
* real
参数:
* timeperiod (10)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
MULT
MULT([input_arrays])
矢量算术乘法(数学运算符)
输入:
price0: (any ndarray) price1: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
NATR
NATR([input_arrays],[timeperiod=14])
归一化的平均真实范围(波动率指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
OBV
OBV([input_arrays])
在平衡量上(成交量指标)
输入:
price: (any ndarray) prices: [‘volume’]
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
折线:
* real: - ls (-)
PLUS_###DI
PLUS_DI([input_arrays],[timeperiod=14])
正向指标(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
PLUS_###DM
PLUS_DM([输入数组],[时间周期=14])
正向趋势指标(动量指标)
输入:
prices: [‘high’, ‘low’]
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
PPO
PPO([输入数组],[fastperiod=12],[slowperiod=26],[matype=0])
百分比价格振荡器(动量指标)
输入:
price: (any ndarray)
参数:
fastperiod: 12 slowperiod: 26 matype: 0 (Simple Moving Average)
输出:
real
线条:
* real
参数:
* fastperiod (12)* slowperiod (26)* matype (0)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ROC
ROC([输入数组],[时间周期=10])
变化率:((price/prevPrice)-1)*100(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 10
输出:
real
线条:
* real
参数:
* timeperiod (10)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ROCP
ROCP([输入数组],[时间周期=10])
变化率百分比:(price-prevPrice)/prevPrice(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 10
输出:
real
线条:
* real
参数:
* timeperiod (10)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ROCR
ROCR([输入数组],[时间周期=10])
变化率比率:(price/prevPrice)(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 10
输出:
real
线条:
* real
参数:
* timeperiod (10)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ROCR100
ROCR100([输入数组],[时间周期=10])
百分比价格振荡比率 100 比例:(价格/prevPrice)*100(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 10
输出:
real
线条:
* real
参数:
* timeperiod (10)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
RSI
RSI([输入数组],[时间周期=14])
相对强度指数(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线条:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
SAR
SAR([输入数组],[acceleration=0.02],[maximum=0.2])
抛物线 SAR(重叠研究)
输入:
prices: [‘high’, ‘low’]
参数:
acceleration: 0.02 maximum: 0.2
输出:
real
线条:
* real
参数:
* acceleration (0.02)* maximum (0.2)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
SAREXT
SAREXT([输入数组],[startvalue=0],[offsetonreverse=0],[accelerationinitlong=0.02],[accelerationlong=0.02],[accelerationmaxlong=0.2],[accelerationinitshort=0.02],[accelerationshort=0.02],[accelerationmaxshort=0.2])
抛物线 SAR - 扩展(重叠研究)
输入:
prices: [‘high’, ‘low’]
参数:
startvalue: 0 offsetonreverse: 0 accelerationinitlong: 0.02
accelerationlong: 0.02 accelerationmaxlong: 0.2
accelerationinitshort: 0.02 accelerationshort: 0.02
accelerationmaxshort: 0.2
输出:
real
线条:
* real
参数:
* startvalue (0)* offsetonreverse (0)* accelerationinitlong (0.02)* accelerationlong (0.02)* accelerationmaxlong (0.2)* accelerationinitshort (0.02)* accelerationshort (0.02)* accelerationmaxshort (0.2)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
SIN
SIN([输入数组])
矢量双曲正弦(数学转换)
输入:
price: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
SINH
SINH([输入数组])
矢量双曲正弦(数学转换)
输入:
price: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
SMA
SMA([输入数组],[时间周期=30])
简单移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线条:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
SQRT
SQRT([输入数组])
矢量平方根(数学转换)
输入:
price: (any ndarray)
输出:
real
线条:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
STDDEV
STDDEV([输入数组],[时间周期=5],[nbdev=1])
标准差(统计函数)
输入:
price: (any ndarray)
参数:
timeperiod: 5 nbdev: 1
输出:
real
线条:
* real
参数:
* timeperiod (5)* nbdev (1)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
STOCH
STOCH([输入数组],[fastk_period=5],[slowk_period=3],[slowk_matype=0],[slowd_period=3],[slowd_matype=0])
随机线(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
fastk_period: 5 slowk_period: 3 slowk_matype: 0 slowd_period: 3
slowd_matype: 0
输出:
slowk slowd
线条:
* slowk* slowd
参数:
* fastk_period (5)* slowk_period (3)* slowk_matype (0)* slowd_period (3)* slowd_matype (0)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* slowk: - ls (–)* slowd: - ls (–)
STOCHF
STOCHF([输入数组],[fastk_period=5],[fastd_period=3],[fastd_matype=0])
快速随机线(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
fastk_period: 5 fastd_period: 3 fastd_matype: 0
输出:
fastk fastd
线条:
* fastk* fastd
参数:
* fastk_period (5)* fastd_period (3)* fastd_matype (0)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* fastk: - ls (-)* fastd: - ls (-)
STOCHRSI
STOCHRSI([输入数组],[时间周期=14],[fastk_period=5],[fastd_period=3],[fastd_matype=0])
随机相对强度指数(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 14 fastk_period: 5 fastd_period: 3 fastd_matype: 0
输出:
fastk fastd
线条:
* fastk* fastd
参数:
* timeperiod (14)* fastk_period (5)* fastd_period (3)* fastd_matype (0)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* fastk: - ls (-)* fastd: - ls (-)
SUB
SUB([input_arrays])
向量算术减法(数学运算符)
输入:
price0: (any ndarray) price1: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
SUM
SUM([input_arrays], [timeperiod=30])
求和(数学运算符)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
T3
T3([input_arrays], [timeperiod=5], [vfactor=0.7])
三重指数移动平均线(T3)(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 5 vfactor: 0.7
输出:
real
线:
* real
参数:
* timeperiod (5)* vfactor (0.7)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TAN
TAN([input_arrays])
向量三角函数正切(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TANH
TANH([input_arrays])
向量三角函数正切(数学变换)
输入:
price: (any ndarray)
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TEMA
TEMA([input_arrays], [timeperiod=30])
三重指数移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TRANGE
TRANGE([input_arrays])
真实波幅(波动性指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
输出:
real
线:
* real
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TRIMA
TRIMA([input_arrays], [timeperiod=30])
三角形移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TRIX
TRIX([input_arrays], [timeperiod=30])
一天的三重平滑指数移动平均线(ROC)(动量指标)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TSF
TSF([input_arrays], [timeperiod=14])
时间序列预测(统计函数)
输入:
price: (any ndarray)
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
TYPPRICE
TYPPRICE([input_arrays])
典型价格(价格转换)
输入:
prices: [‘high’, ‘low’, ‘close’]
输出:
real
线:
* real
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
ULTOSC
ULTOSC([input_arrays], [timeperiod1=7], [timeperiod2=14], [timeperiod3=28])
终极振荡器(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod1: 7 timeperiod2: 14 timeperiod3: 28
输出:
real
线:
* real
参数:
* timeperiod1 (7)* timeperiod2 (14)* timeperiod3 (28)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
VAR
VAR([input_arrays], [timeperiod=5], [nbdev=1])
方差(统计函数)
输入:
price: (any ndarray)
参数:
timeperiod: 5 nbdev: 1
输出:
real
线:
* real
参数:
* timeperiod (5)* nbdev (1)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
WCLPRICE
WCLPRICE([input_arrays])
加权收盘价(价格转换)
输入:
prices: [‘high’, ‘low’, ‘close’]
输出:
real
线:
* real
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
WILLR
WILLR([input_arrays], [timeperiod=14])
威廉指标(动量指标)
输入:
prices: [‘high’, ‘low’, ‘close’]
参数:
timeperiod: 14
输出:
real
线:
* real
参数:
* timeperiod (14)
绘图信息:
* subplot (True)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)
WMA
WMA([input_arrays], [timeperiod=30])
加权移动平均线(重叠研究)
输入:
price: (any ndarray)
参数:
timeperiod: 30
输出:
real
线:
* real
参数:
* timeperiod (30)
绘图信息:
* subplot (False)* plot (True)* plotskip (False)* plotname ()* plotforce (False)* plotyhlines ([])* plothlines ([])* plotabove (False)* plotymargin (0.0)* plotlinelabels (False)* plotmaster (None)* plotyticks ([])
绘图线:
* real: - ls (-)