Job finished
Execution time 3 days
Feedback from employee
5+
Specification
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!
Responded
1
Rating
Projects
1295
67%
Arbitration
84
26%
/
49%
Overdue
338
26%
Free
2
Rating
Projects
239
70%
Arbitration
3
67%
/
33%
Overdue
20
8%
Free
3
Rating
Projects
44
61%
Arbitration
0
Overdue
0
Free
4
Rating
Projects
53
17%
Arbitration
7
0%
/
100%
Overdue
5
9%
Free
5
Rating
Projects
72
22%
Arbitration
13
46%
/
15%
Overdue
5
7%
Free
6
Rating
Projects
845
73%
Arbitration
15
53%
/
13%
Overdue
193
23%
Free
7
Rating
Projects
566
26%
Arbitration
24
42%
/
38%
Overdue
85
15%
Free
Published: 6 codes
8
Rating
Projects
945
47%
Arbitration
309
58%
/
27%
Overdue
125
13%
Free
9
Rating
Projects
146
34%
Arbitration
13
8%
/
62%
Overdue
26
18%
Free
Published: 6 codes
10
Rating
Projects
76
33%
Arbitration
9
78%
/
11%
Overdue
7
9%
Free
Published: 2 codes
Project information
Budget
30 - 100 USD