Технические индикаторы требуют для своих расчетов указания значений цен и/или значений объемов, на которых они будут считаться. Существуют 7 предопределенных идентификаторов перечисления ENUM_APPLIED_PRICE, для указания нужной ценовой базы расчетов. Если технический индикатор для своих расчетов использует ценовые данные, тип которых задается...
igZag {TTR} R Documentation
Zig Zag
Description
Zig Zag higlights trends by removing price changes smaller than change and interpolating lines between the extreme points.
Usage
ZigZag(HL, change = 10, percent = TRUE, retrace = FALSE,
lastExtreme = TRUE)
Arguments
HL
Object that is coercible to xts or matrix and contains either a High-Low price series, or a Close price series.
change
Minimum price movement, either in dollars or percent (see percent).
percent
Use percentage or dollar change?
retrace
Is change a retracement of the previous move, or an absolute change from peak to trough?
lastExtreme
If the extreme price is the same over multiple periods, should the extreme price be the first or last observation?
Details
The Zig Zag is non-predictive. The purpose of the Zig Zag is filter noise and make chart patterns clearer. It's more a visual tool than an indicator.
Value
A object of the same classas HL or a vector (if try.xts fails) containing the Zig Zag indicator.
Warning
The last value of the ZigZag indicator is unstable (i.e. unknown) until the turning point actually occurs. Therefore this indicator isn't well-suited for use for systematic trading strategies.
Note
If High-Low prices are given, the function calculates the max/min using the high/low prices. Otherwise the function calculates the max/min of the single series.
Author(s)
Joshua Ulrich
References
The following site(s) were used to code/document this indicator:
http://www.fmlabs.com/reference/default.htm?url=ZigZag.htm
https://www.linnsoft.com/techind/zig-zag-indicator-zig-zzohttps://www.linnsoft.com/techind/zig-zag-oscillator-indicator-zzohttp://www.metastock.com/Customer/Resources/TAAZ/#127http://www.stockcharts.com/school/doku.php?id=chart_school:technical_indicators:zigzag
Examples
## Get Data and Indicator ##
data(ttrc)
zz <- ZigZag( ttrc[,c("High", "Low")], change=20 )
不需要包,哪里写的?
输入矩阵中的非限定性条目>>输入矩阵中的非限定性条目
可能有一个inf。
你把数据弄得一团糟,也许你应该试着研究出一个简单的语法,然后训练你的模型。
在训练模型之前,尝试将其应用到数据上
X是一个带有预测因子的矩阵
5公里景观,阿拉村
你的定制建筑有什么进展吗,城市?)
在训练模型之前,尝试将其应用于数据中
X是一个带有预测因子的矩阵
你自己的事情有什么进展吗,城市?)
没有,没有人帮助,只是唠叨而已
不需要包,哪里写的?
输入矩阵中的非限定性条目>>输入矩阵中的非限定性条目
可能有一个inf。
你把数据搞乱了,也许你应该处理简单的语法,之后你才应该训练模型。
我做错了什么--我给了有收盘价 的栏目
我把数据附在后面,以帮助理解它,请。我做错了什么--我给了一个有收盘价 的栏目
我一定是搞砸了()我给出的命令中的类型。
我一定是做错了什么(( 键入我给你的命令。
Error in x2set(Xsub, n_neighbors, metric, nn_method = nn_sub, n_trees, : Non-finite entries in the input matrix
但也许我把它放在了错误的地方?
0.001 是什么--是什么意思?
但也许我把它放在了错误的地方?
错误的地方 )))
你想在 "X "被创建之前对其进行操作
像这样做。
0.001 是什么--是什么意思?
ZZ膝盖的大小,单位是点或什么,取决于数字的数量。
你不知道什么是什么,看。
我们看到它是一个TTR数据包。
把它写在控制台。
获得帮助
不在那里 ))
你想在 "X "被创建之前对其进行操作
像这样走
X的膝盖的大小,以点或其他方式,取决于数字的数量。
如果你不知道什么是什么,请看。
我们看到,这是一个TTR数据包。
把它写在控制台。
获得帮助。
是的,它走得更远一点,得到了这个结果
如果我的价格步数为1,我是否应该将0,001改为例如100?
改成了100。
是的,它一直在继续,最后得出了这个结论
如果我的价格步数是1,我是否应该将0.001改为例如100?
玩改变 参数
玩弄改变 参数
从最后的结果中得到了这张照片--4个清晰的群组
早些时候,你谈到了一些数值来估计结果--你建议我们看什么数字?