Hi guys,
is there anybody using the Tether Line indicator ? If so, would you mind passing me the proper coding to implement such an indicator to my ProRealTime platform ?
I can imagine you may think why I am looking for this specific indicator when there is a plenty of them in the library ….
Well, it is simply because I am not an expert (actually I am an absolute beginner) and it happens that I would like to test a simple method which implies to use just a couple of indicators, namely the HMA (Hull Moving Average) and the Tether Line.
While I was able to find the code for the HMA and import it into my platform, I could not find the Tether Line neither within the Italian community nor surfing the net.
All I was able to find is a description of the coding that you can see attached, but it is coded in another programming language and, despite my effort, I was not able to translate it into the ProRealCode
Thanks to all for any help,
Have a nice day,
Mastro
WingParticipant
Veteran
n=50
return (highest[n](high)+lowest[n](low))/2
Does that work?
Ciao Wing and thank you so much for your help !!!
Actually your code works pretty good 🙂
In the meantime I did manage to code the Tether myself in this way:
Period=50
Upper=0
Lower=0
Upper=highest[Period](High)
Lower=lowest[Period](Low)
TL=(Upper+Lower)/2
return TL COLOURED(255,255,0) as "Tether Line"
and this is the evidence that I am a beginner !!!! Your coding is far straightforward and elegant than mine !
Have a nice weekend !
Mario