之前看到个视频说到GVR这个指标,去找了下论文。经过咨询AI,了解到该论文的研究对象主要针对美国股市及传统金融市场,而非加密货币市场。不过让AI做成加密货币交易使用也是可以的。
论文介绍
该文档是一篇关于不同市场和时间框架中价格图表相似性的研究论文,主要内容如下:
-
研究背景与目的:针对不同市场和时间框架下技术分析方法的适用性问题,探讨如何通过定量方法衡量其相似性,以确定同一方法是否适用于不同场景。
-
研究数据与方法:
- 数据涵盖S&P500、纳斯达克综合指数等多个市场过去30年的月度、周度、日度数据,以及2022年1分钟至60分钟的短期数据,还包括一个价格波动符合正态分布的模拟市场数据。
- 运用了多种自创及常见的技术指标与分析方法,如广义波动率比率(GVR)、广义移动平均偏离率(GDMA)等,并结合标准差、算术平均值和频率分布进行统计分析。
-
研究结果:
- 多个指标显示不同市场和时间框架存在较强相似性,部分数值在所有市场和时间框架(包括模拟市场)中几乎相同。
- 也存在一些有规律和趋势性的差异,如股票指数与外汇、商品市场在某些指标上有区别,不同时间框架下指标数值也有变化。
- 实际市场与模拟市场虽有相似之处,但在多个方面存在可量化的差异。
-
应用与结论:探讨了将研究结果应用于交易系统的方法,如利用市场共有的概率提高系统性能、针对不同市场调整技术指标参数等。结论指出不同市场和时间框架在较大范围内相似性较强,且差异存在一定模式,实际市场与模拟市场可从多个角度定量区分,研究结果经改进后可应用于实际交易系统。
tradingview指标体验版
//@version=5
indicator(title="GVR套利指标", shorttitle="GVR套利", overlay=false)
// 输入参数(修正点)
atrLength = input.int(14, "ATR周期", minval=1)
gvrThreshold = input.float(2.0, "套利倍数阈值", step=0.1)
symbolB = input.symbol("BINANCE:ETHUSDT", "对比品种") // 默认ETH,可修改
// 计算当前品种GVR
price = hlc3 // 使用内置的hlc3变量
atr = ta.atr(atrLength)
gvr = math.abs((price[1] - price) / atr)
// 获取对比品种GVR
other_price = request.security(symbolB, timeframe.period, hlc3)
other_atr = request.security(symbolB, timeframe.period, ta.atr(atrLength))
other_gvr = math.abs((other_price[1] - other_price) / other_atr)
// 信号条件(增加有效性校验)
validCondition = not na(other_gvr) and barstate.isconfirmed
shortSignal = validCondition and gvr > 1 and gvr > other_gvr * gvrThreshold
longSignal = validCondition and other_gvr > 1 and other_gvr > gvr * gvrThreshold
// 可视化
plot(gvr, "GVR", color.blue)
hline(1, "阈值线", color.red)
plotshape(shortSignal, "做空信号", shape.triangledown, location.top, color.red, size=size.small)
plotshape(longSignal, "做多信号", shape.triangleup, location.bottom, color.green, size=size.small)
// 警报系统
// 定义固定的警报消息
alertcondition(shortSignal, "做空机会", "{{ticker}} GVR值超过{{symbolB}}的值")
alertcondition(longSignal, "做多机会", "{{symbolB}} GVR值超过{{ticker}}的值")
// 显示当前阈值
var thresholdLabel = label.new(bar_index, 0, "GVR套利阈值: " + str.tostring(gvrThreshold) + "倍", style=label.style_label_down, color=color.new(color.blue, 80), textcolor=color.white)
label.set_x(thresholdLabel, bar_index)
// 风险提示
var label riskLabel = label.new(bar_index, na, text="⚠️ 需手动设置对比品种\n套利需考虑交易成本及滑点", style=label.style_label_left, color=color.new(#FF9800, 70), textcolor=color.white)
label.set_x(riskLabel, bar_index)
论文来源及下载
论文出处:https://ifta.org/wp-content/uploads/2024/10/Journal25_IFTA.pdf 72-93 页
论文标题:The Similarities in Various Markets and Timeframes, Through Quantitative Comparison Methods, and Its Application to Trading Systems
论文整个文件备份链接:夸克网盘分享
提取码:niEU
单独提取论文链接: https://pan.quark.cn/s/aa4d634a502b
提取码:EzW1