Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Blau TSI

The William Blau True Strength Index indicator shows the William Blau true strength index.

It has seven input parameters:

  • Period - calculation period;
  • Applied price - the calculation price;
  • First smoothing period - the initial smoothin period;
  • Second smoothing period - the secondary smoothing period;
  • Third smoothing period - the resulting smoothing period;
  • Upper level - the overbought level;
  • Lower level - the oversold level.

Based on the True Strength Index calculation formula described in the MQL5: Create your own indicator article and on William Blau's postulate of three-period smoothing, the indicator calculation formula is as follows:

TSI(Price,Period,fs,ss,ts) = 100 * EMA(EMA(EMA( mtm(Price,Period) ,fs),ss),ts) / EMA(EMA(EMA( |mtm(Price,Period)| ,fs),ss),ts)

where:

mtm(Price,Period) = Price[i] - Price[i-Period+1],  fs - First smoothing period,  ss - Second smoothing period,  ts - Third smoothing period  

MetaTrader Experts, Indicators, Scripts and Libraries

20516

Best MetaTrader Indicators + Profitable Expert Advisors