您好,我看了Stephan Kalayjian的算法,我真的很喜欢他的想法 用数字和箭头优化他的算法,这些数字和箭头表示趋势走向。我将包括图1和图2作为我要在Mt4上编程的示例(这些都是他的算法)。注意:请忽略橙色圆圈(这些圆圈由Kalayjian先生制作) 并注意红色圆圈 (made by me)我希望用不同的指标来复制它。
我要为数字设置的规则(左上角的数字) are:
[框的左侧:看跌趋势: 盒子的右边:看涨趋势]
*第一个指标:基线(您可以看到条形位置的内插线)
1 bearish 值 if the price is below the baseline : 1 bullish 值 if the 值 is above the baseline
*第二个指标:C1
1 bearish 值 if the two lines are below the zero axis and yellow is over blue : 1 bullish 值 if the two lines are above the zero axis and blue is over yellow
-第二条件:
0.5 bearish 值 if the two lines are below the zero axis and 蓝色超过黄色 : 0.5 bullish 值 if the two lines are above the zero axis and yellow is over blue
*第三个指示器:C2
1 bearish 值 if the two lines are below the zero axis and red is over blue : 1 bullish 值 if the two lines are above the zero axis and blue is over red
-第二条件:
0.5 bearish 值 if the two lines are below the zero axis and 蓝色在红色之上 : 0.5 bullish 值 if the two lines are above the zero axis and red is over blue
第四指示器:C3
1 Bearish 值 if the line is below 45 : 1 Bullish 值 if the line is above 55
我尝试为箭头设置的规则:
我希望能够手动更改它,但是一个好的开始是:
显示下降趋势箭头(红色 价格栏上方的向下箭头) if the bearish box value 为3.5或更高:显示上升趋势箭头(蓝色 价格栏下方的箭头) if the bullish box 值为3.5或更高