Tether Line

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28236 quote
    mastromastro
    Participant
    New

    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

    TFS-Coding-1.jpg TFS-Coding-1.jpg
    #28239 quote
    WingWing
    Participant
    Veteran
    n=50
    return (highest[n](high)+lowest[n](low))/2

    Does that work?

    Nicolas thanked this post
    #28264 quote
    mastromastro
    Participant
    New

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Tether Line


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
mastro @mastro Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by mastromastro
9 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/11/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...