您好
我一直在尝试使用这篇文章中提供的指标,以达到下面概述的目的,但是,我无法获得准确的信号。我需要进一步了解情况,以便适当改进输入。作者(或其他人)能否说明该指标中使用了哪些 "触发器 "或 "规则 "来生成移动平均线和随机振荡器 的买入或卖出信号,即当价格收盘价高于移动平均线时买入?当 %k 线收盘价高于 %D 线,而两个起始值都低于 20 时买入?
我的目的:我一直在寻找一个指标,当满足两个条件时,它能在 15 分钟价格图表上标出买入或卖出箭头:
买入箭头(在 15 分钟图表上),当: 1:
1.在 1 小时图上 - 收盘价高于 20 期简单移动平均线;以及
2.15 分钟图表上 - 随机震荡指标 - %K 线和 %D 线均低于 20,且 %K 线突破 %D 线
当出现以下情况时,卖出箭头(在 15 分钟图表上
1.1 小时图 - 收盘价低于 20 期简单移动平均线;且
2.在 15 分钟图表上 - 随机震荡指标 - %K 线和 %D 线均高于 80,且 %K 线低于 %D 线
随机震荡指标设置为 14,5,5
我感觉这个指标能帮我达到目的--如果你们能提供一些帮助的话:)
非常感谢你们的帮助。
谢谢
这个指标太不可思议了。非常感谢
但是它有一个问题。
箭头出现延迟!当我刷新图表时,会出现很多我当时没有看到的箭头。
如何下载指标
你好!我能否将条件改为:只有在满足三个指标时才显示箭头?
酷,我会试试的!
一个非常好的指标。你会做 EA 吗?
我下载了压缩包并复制了视图,但在编译时却出现了 9 个错误,都是由于 Range?
Indicator_Arrows.mq5 idenfitier 'Range' already used Indicator_Arrows.mq5 724 8 see declaration of variable 'Range' Indicator_Arrows.mq5 43 14 '0' - some operator expected Indicator_Arrows.mq5 370 67 '*' - unexpected token Indicator_Arrows.mq5 370 69 implicit conversion from 'unknown' to 'string' Indicator_Arrows.mq5 370 23 'i' - some operator expected Indicator_Arrows.mq5 656 37 '-' - illegal operation use Indicator_Arrows.mq5 656 29 implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 656 25 implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 656 29 'i' - some operator expected Indicator_Arrows.mq5 663 39 implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 663 27 implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 663 31 'i' - some operator expected Indicator_Arrows.mq5 678 37 '-' - illegal operation use Indicator_Arrows.mq5 678 29 implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 678 25 implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 678 29 'i' - some operator expected Indicator_Arrows.mq5 685 39 implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 685 27 implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 685 31 9 errors, 9 warnings 9 9
版主编辑的文本格式 不当。插入代码或日志输出时,请 始终 使用 代码 按钮 (Alt-S)。
@lucberthiaume #: 我下载了压缩包并复制了视图,但在编译时却出现了 9 个错误,全部都是 Range 引起的?
这是非常老的代码(近 10 年),而且 MQL5 这些年来也发生了变化。代码需要修复,但作者已经有 6 年没有工作了,所以您应该自己修复或让其他人帮您修复。
Indicator Arrows II:
在图表窗口绘制向上/向下箭头。
作者: pipPod