Average true range 2 (ATR2)

Created at 07 Oct 2019
SC

Scalper1

Joined 13.06.2019

Status

Open


Budget

1.00 EUR


Payment Method

Direct Payment

Job Description

Hello i wounder if someone could help me with a indikator? I follow this guy on twitter he have been using a avarege true range indikator but repainted and uppdated. 

I got the code for the indikator on ProRealcode but i dont have the skill to transfeer it from prorealcode code to Ctrader. 

anyone that are willing to help a fellow out? 

Iam a grid trader and price action trader and dont generally trust indicators but this is one of the best indikators i seen. 

CODE: 

htr = Dhigh(0)
ltr = Dlow(0)

fiddy = (max(dhigh(0), dclose(1)) + min(dlow(0), dclose(1)))/2
fiddy2 = (max(dhigh(0), dclose(1)) - min(dlow(0), dclose(1)))*0.618 + dlow(0)
fiddy3 = (max(dhigh(0), dclose(1)) - min(dlow(0), dclose(1)))*0.382 + dlow(0)

return fiddy coloured(255,0,0), fiddy2 coloured(255,140,0) as "fiddy618",fiddy3 coloured(255,140,0) as "fiddy382",htr coloured(168,168,168) style(line,2),ltr coloured(0,255,0) style(line) as "daily low", htr coloured(0,255,0) style(line) as "daily high"

 

Comments
Log in to add a comment.
No comments found.