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 • 315 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
Choliver HI, Thanks a lot Good job. :-)
mscharstrom Hi @robertogozzi, I really love this indicator. However, I'd like to tinker with it to fit ...
Ahimsa Hi Roberto I cannot thank you enough for writing this code. It could help me more than you ...
Nicolas With PRT v11, you have to click on "price" at the upper left side of the price chart.
robertogozzi Firstly you need to make the correct calculation, you need to swap 22 and 7. Secondly PRT's...
SB-FO Sorry, i did forget to change the 7/22, I have run it both ways. PRT is calculating PPO a...
RubberToe I believe there is an error in line 23 of the MACD version. It points to the FastP. Should...
Leo I don't know, I just copy paste the strategy. The optimisation of the values I wrote them in...
bertrandpinoy hello Leo I'm spending time on your strategy code. do you agree to try to include this code ...
bertrandpinoy //version a: ajout filtre MM defparam cumulateorders=false // --- paramètres taille =...
Bard Problems with Safari latest s/ware and this site and links and adding code. Let me add the...
grimweasel47 Ok thanks Nicolas - could this be adapted to take into account MFI and then have price, volu...
Nicolas I don't understand what you mean exactly, would be better to open a topic about this idea wi...
Jesper Great share!
capgros Bonjour @Nicolas, Thanks a lot for this tool, it is very useful for me. I would like to s...
Hans63 Would you add the possibility to color also the Heikin Ashi and bar chart?
Nicolas That's possible, please open a new topic in the indicator forum explaining what you need exa...
Nicolas Change line 62 with: drawcandle(flup,fldn,flup,fldn) coloured(169,169,169,80) bordercolor(16...
DimKar Thank you very much from Greece sir , have a nice day ....!!!! Really i do not have words...
mit_ose Bonjour, J'ai d'excellents résultats avec cet indicateur simple et efficace; Merci beaucoup;
3agl3 voglio l indicatore
Victor.Strand Hi Pableitor, the code is just great; i was playing a lil bit with these factors, darwsegmen...
micky_red Hi, I have tried to use this indicator in version 12 and it doesn't work. Do you know how...
Victor.Strand Hey Micky, indicator works well, justpaste the code on the platform, or save it as an "itf" ...
ottimo Thank you Nicolas, great indicator, N. 1
tikigai Merci Nicolas! First Happy new Year 2020. Very good indicator BUT (yes the french "oui, m...
Nicolas Whats prorealtime version? Did you try in version prior to v11? indicator's call and loop ca...
jissey Bonjour Bolsatrilera,j'essaie de vous contacter pour le cm rsi ;je le trouve interessant, m...
jissey J'essaie de vous contacter pour l'indicateur"cm rsi"....
Vonasi No problem pableitor - I'm glad you like it.
pableitor Hi Vonasi, I was checking a few random weeks with your indicator and sometimes it seems to ...
Vonasi I have not checked your query on a chart but my guess is that you are reading the indicator ...
Nicolas Yes, that's how it goes when using loops..
JosephFelix Hi, Could I please have help with adding these indicators 'on price'? Every indicator that I...
Nicolas Just add it on price by clicking the wrench on the left upper side of the price chart.
Nicolas Thanks for create a specific thread in the forum in order to handle your coding query. I see...
Victor.Strand Thanks Nicolas, I didnt know there was a multitimeframe support now... I will check it. This...
Nicolas to return a value of a Close of timeframe 1-hour, for instance : TIMEFRAME(1 hour) c = close...
lokbuscas is it possible to make a screener with this conditions??? thank you
achel I believe so but I leave it to Nicolas to decide if it is possible
Nicolas Please open a new topic in the screeners forum
myhlo Super Nicolas !! Cet indicateur offre une nouvelle lecture du Rsi ! Ces bandes up & Dawn...
okiki please how can i acess the indicator i like it and want it please am new here
Nicolas download the itf file above and import it into your prorealtime platform: https://www.prorea...
Nicolas
6 years ago
BSTrend
v10.3
BSTrend
10
Indicators
Florian Legeard C’est à dire sur le prix et non sur le temps ? Merci
Rohit82189 bstrend repaints
Nicolas No, it doesn't repaint.
teddy58 Ich habe es mit N= 1,5 und N=2,5 getestet mit 200000 Einheiten. Es funktioniert leider erst ...
Matriciel I use this indicator to help me make a decision when there is a divergence. The divergences ...
Jan Wind Hi, I personnaly am not a big fan of ZIGZAG indicator, as it repaints itself during time. ...

Top