工作已完成
执行时间3 天
员工反馈
5+
指定
Hi,
Is there anyone able to convert adx by cobra from TradingView to MT5?
study("ADX and DI") len = input(title="Length", type=integer, defval=3) len1 = input(title="Length1", type=integer, defval=1) th = input(title="threshold", type=integer, defval=20) TrueRange = max(max(high-low, abs(high-nz(close[1]))), abs(low-nz(close[1]))) DirectionalMovementPlus = high-nz(high[1]) > nz(low[1])-low ? max(high-nz(high[1]), 0): 0 DirectionalMovementMinus = nz(low[1])-low > high-nz(high[1]) ? max(nz(low[1])-low, 0): 0 SmoothedTrueRange = nz(SmoothedTrueRange[1]) - (nz(SmoothedTrueRange[1])/len) + TrueRange SmoothedDirectionalMovementPlus = nz(SmoothedDirectionalMovementPlus[1]) - (nz(SmoothedDirectionalMovementPlus[1])/len) + DirectionalMovementPlus SmoothedDirectionalMovementMinus = nz(SmoothedDirectionalMovementMinus[1]) - (nz(SmoothedDirectionalMovementMinus[1])/len) + DirectionalMovementMinus DIPlus = SmoothedDirectionalMovementPlus / SmoothedTrueRange * 100 DIMinus = SmoothedDirectionalMovementMinus / SmoothedTrueRange * 100 DX = abs(DIPlus-DIMinus) / (DIPlus+DIMinus)*100 ADX = sma(DX, len) //Skuska crosscall = (DIPlus > DIMinus) crossput = (DIMinus > DIPlus) DIPcross = sma(crosscall, len1) DIPput = sma(crossput, len1) DIPOVB = (DIPlus > 60) DIMOVS = (DIMinus > 60) bgcolor(DIMOVS ? lime : na, transp=40) bgcolor(DIPOVB ? orange : na, transp=20) plot(DIPlus, color=green, linewidth=3, title="DI+") plot(DIMinus, color=red, linewidth=3, title="DI-") plot(ADX, color=white, linewidth=1, title="ADX") hline(th, color=white, linewidth=1, linestyle=dashed) bgcolor(DIPcross ? green : na, transp=60) bgcolor(DIPput ? red : na, transp=60)
We can discuss about the budget.
Thank you!
反馈
1
等级
项目
1295
67%
仲裁
84
26%
/
49%
逾期
338
26%
空闲
2
等级
项目
239
70%
仲裁
3
67%
/
33%
逾期
20
8%
空闲
3
等级
项目
44
61%
仲裁
0
逾期
0
空闲
4
等级
项目
53
17%
仲裁
7
0%
/
100%
逾期
5
9%
空闲
5
等级
项目
72
22%
仲裁
13
46%
/
15%
逾期
5
7%
空闲
6
等级
项目
845
73%
仲裁
15
53%
/
13%
逾期
193
23%
空闲
7
等级
项目
566
26%
仲裁
24
42%
/
38%
逾期
85
15%
空闲
发布者: 6 代码
8
等级
项目
945
47%
仲裁
309
58%
/
27%
逾期
125
13%
空闲
9
等级
项目
146
34%
仲裁
13
8%
/
62%
逾期
26
18%
空闲
发布者: 6 代码
10
等级
项目
76
33%
仲裁
9
78%
/
11%
逾期
7
9%
空闲
发布者: 2 代码
项目信息
预算
30 - 100 USD