True Strength Index TSI

True Strength Index TSI

The true strength index (TSI) is a technical indicator used in the analysis of financial markets that attempts to show both trend direction and overbought/oversold conditions. It was first published William Blau in 1991. The indicator uses moving averages of the underlying momentum of a financial instrument. Momentum is considered a leading indicator of price movements, and a moving average characteristically lags behind price. The TSI combines these characteristics to create an indication of price and direction more in sync with market turns than either momentum or moving average. (source: wikipedia)

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Martial Schaff • 10/26/2015 #

    Hello,
    The formula you describe in this post is not the same as in the prorealtime tool (predefined indicators).
    Could you please show the formula used in prorealtime?
    Thanks

  2. Dunkelmann • 10/26/2015 #

    I think if you substitute Momentum for ROC in the code you get the tool values.

  3. marzibre • 10/26/2015 #

    Hello Nicholas I confirm you that the formula it is not the same. Could you please give me a link where I can find the predifined code of True Strenght Index? I need to it to take as example to create the True Directional Index (another William Blau indicator)

  4. gelex911 • 10/26/2015 #

    I confirm too that the formula given above differs from the predefined TSI. Why this missmatch?

  5. Bateson • 10/26/2015 #

    Bonjour.
    L’indicateur fonctionne remarquablement.
    Je n’arrive cependant pas à l’intégrer dans une stratégie “croisement TSI / TMA”. Pourriez-vous m’indiquer comment faire ?
    Cordialement

  6. Fernando • 314 days ago #

    Hi I had same problem, so I translated from NinjaTrader TSI’s formula to PRT code, seems the same values now!

    Fast = 3
    Slow = 14

    constant1 = 2 / (1 + Slow)
    constant2 = 1 – (2 / (1 + Slow))
    constant3 = 2 / (1 + Fast)
    constant4 = 1 – (2 / (1 + Fast))

    IF BarIndex = 0 THEN
    fastAbsEma = 0
    fastEma = 0
    slowAbsEma = 0
    slowEma = 0
    Valor = 0
    ELSE
    momento = Close[0] – Close[1]
    slowEma = momento * constant1 + constant2 * slowEma
    fastEma = slowEma * constant3 + constant4 * fastEma
    slowAbsEma = Abs(momento) * constant1 + constant2 * slowAbsEma
    fastAbsEma = slowAbsEma * constant3 + constant4 * fastAbsEma[1]
    IF fastAbsEma = 0 THEN
    Valor = 0
    ELSE
    Valor = 100 * fastEma[0] / fastAbsEma[0]
    ENDIF
    ENDIF

    Return Valor AS “TSI”

avatar
Register or

Likes

avatar
Related users ' posts
AlgoAlex
6 years ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
Vinks_o_7 Apirine also offers a very interesting update of the OBV...
Wolf I don't know why the indicator does not work for me. It gives me an error about RETURN... ...
sergibilbo Great job thanks!!!
druby I was glancing through the code and noticed that the variable name, Middle' has been used. I...
winnie37 yes. "No ground breaking math here, but I am finding very useful and some algo based on it i...
Jan Wind Also interesting to know what does not work, which set up you use, saves me investigating ! ...
winnie37 i just set the proorder like this: buy when 50/100/200 phase >0 and sell when under 0, go...
Dari when I put the indicator does not put it on the price, sn in a new box like many indicators....
Nicolas by adding it on price instead. Use the wrench on the left upper side of your price chart.
robertogozzi It surely CHANGES even when currently outside time range, as the lookback periods change as ...
SkippyTrader Thanks Roberto, but shouldnt the values in the outside time range not be different? As it sh...
robertogozzi Actually it is a constant (I tested them on a 1-hour TF, 9am to 5pm) and outside that time r...
Vonasi Discussion regarding this indicator can be found here: https://www.prorealcode.com/topic/dis...
robert123 hi there, how do you get the images of the knights etc into your code....and is there anywhe...
swapping hello robert123, on this site -> https://fr.piliapp.com/symbol/
marcosamo Hello and thank you for this indicator, I have a small problem, it only shows the pawn at th...
marcosamo in fact I just saw a rider, so everything works sorry for my previous question
swapping perfect marcosamo, coupled with ichimoku-price-pattern this is better ;)
Nicolas Sorry I do not provide assistance for Tradestation code.
surfeur Bonjour, Je suis pas expert en PRT donc si qq'un peut m'expliquer un peu le code ? Par...
Nicolas src c'est bien le customclose en effet. ATR, si aucune série de données n'est spécifié, il u...
Vinks_o_7
6 years ago
IV Mcm I've always wondered how to make the ADX faster, thank you!
Vinks_o_7 You welcome !
Vinks_o_7 Another variation that may be more accurate : we calculate the average of normalized DI's in...
Lighthouse
6 years ago
Swinglines
v10.3
Swinglines
2
Indicators
Ciccio New version
Ciccio New version 2.0 on the original Forum thread
illenza
6 years ago
ribes65 Buongiorno Illenza, Il tuo indicatore è molto efficace, ma non funziona su tutte le azion...
carlvan That's a great indicator and I especially the use of colors, more or less pronounced to indi...
diegofe_2000 CORDIAL SALUDO. CUANDO REALIZO UN PROGRAMA CON ESTE INDICADOR ME SALE EL SIGUIENTE LETRE...
ALE Hello do you want to explain to me in more detail what you have to do? Please replay here:...
quibe56 Bonjour, à priori les couleurs pour le Katana ne fonctionnent pas ( départ haussier ou élan...
swapping Bonjour quibe56, n'ayant pas rencontré ce défaut je continu néanmoins à structurer le code p...

Top