작업 종료됨
실행 시간 1 시간
고객의 피드백
I have been thoroughly impressed by your responsiveness and promptness in addressing my requirements
피고용인의 피드백
Thank you
명시
Please convert the Pine Script below into MQL4 Indicator, an indicator of ADX and DI, 2 day period max:
//@version=4
study("ADX and DI for v4")
len = input(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 = 0.0
SmoothedTrueRange := nz(SmoothedTrueRange[1]) - (nz(SmoothedTrueRange[1])/len) + TrueRange
SmoothedDirectionalMovementPlus = 0.0
SmoothedDirectionalMovementPlus := nz(SmoothedDirectionalMovementPlus[1]) - (nz(SmoothedDirectionalMovementPlus[1])/len) + DirectionalMovementPlus
SmoothedDirectionalMovementMinus = 0.0
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)
plot(DIPlus, color=color.green, title="DI+")
plot(DIMinus, color=color.red, title="DI-")
plot(ADX, color=color.yellow, title="ADX")
응답함
1
등급
프로젝트
50
42%
중재
3
33%
/
33%
기한 초과
4
8%
무료
2
등급
프로젝트
603
34%
중재
65
22%
/
57%
기한 초과
147
24%
작업중
게재됨: 1 기고글, 22 코드
3
등급
프로젝트
14
43%
중재
3
33%
/
33%
기한 초과
2
14%
무료
4
등급
프로젝트
195
42%
중재
13
8%
/
54%
기한 초과
9
5%
무료
게재됨: 3 코드
5
등급
프로젝트
12
25%
중재
0
기한 초과
1
8%
무료
6
등급
프로젝트
18
44%
중재
2
50%
/
50%
기한 초과
0
무료
7
등급
프로젝트
945
47%
중재
309
58%
/
27%
기한 초과
125
13%
무료
프로젝트 정보
예산
35+ USD
기한
로 2 일