CDUR new indicator

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

CDUR new indicator

Postby gregollier » Sat Jun 25, 2016 10:24 am

hello,

I apologize about my crap English because I am a french guy.

I have got an indicator on ProRealTime. I would like to translate it to using it on Marketscope 2.0
No friends of mine can help.

I give you the PRT code. Thanks for helping me.

rem CDUR UTC

z1=dema[9](close)
z2 =dema[19](close)
e= z1 - z2
z3=dema[6](e)
f=z3
hausse = MAX(0, f - f[1])
baisse = MAX(0, f[1] - f)
mmHausse = WILDERAVERAGE[5](hausse)
mmBaisse = WILDERAVERAGE[5](baisse)

REM En déduit le RS

RSUTC = mmHausse / mmBaisse

REM Et finalement le RSI de la Zero Lag

CDURUTC = 100 - 100 / (1 + RSUTC)


REM CDUR UTS

z1S=dema[45](close)
z2S =dema[95](close)
eS= z1S - z2S
z3S=dema[6](eS)
fS=z3S
hausseS = MAX(0, fS - fS[1])
baisseS = MAX(0, fS[1] - fS)
mmHausse = WILDERAVERAGE[8](hausseS)
mmBaisse = WILDERAVERAGE[8](baisseS)
RSUTS = mmHausse / mmBaisse

CDURUTS = 100 - 100 / (1 + RSUTS)


return CDURUTC as "CDUT UTC", CDURUTS as "CDUR UTS"
gregollier
 
Posts: 5
Joined: Sat Jun 25, 2016 10:08 am



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 39 guests