TradingView
QuantitativeExhaustion
28 сен 2014 г., 22:19

True Strength Indicator MTF 

Euro Fx/U.S. DollarFXCM

Описание

Here is an example of a script showing a multi-time frame of TSI.

Chart below compares FX EURUSD Daily TSI to 1H TSI

Here is an updated version

study("True Strength Indicator MTF", shorttitle="TSI MTF")
resCustom = input(title="Timeframe", type=resolution, defval="60" )
long = input(title="Long Length", type=integer, defval=25)
short = input(title="Short Length", type=integer, defval=13)
signal = input(title="Signal Length", type=integer, defval=13)
price = close
double_smooth(src, long, short) =>
fist_smooth = ema(src, long)
ema(fist_smooth, short)
pc = change(price)
double_smoothed_pc = double_smooth(pc, long, short)
double_smoothed_abs_pc = double_smooth(abs(pc), long, short)
tsi_value = 100 * (double_smoothed_pc / double_smoothed_abs_pc)
tsi = security(tickerid, resCustom,tsi_value)
plot(tsi, color=black)
plot(ema(tsi, signal), color=red)
hline(0, title="Zero")
Комментарии
QuantitativeExhaustion
6 Buy/Sell Techniques using the TSI Indicator

I have identified no fewer than 6 techniques for using the True Strength Index (TSI) indicator for the accurate generation of Buy/Sell trading decisions.
*
I will present these 6 techniques accompanied by charts and demonstrate their interpretation.
*
The 6 techniques are:
*
1. ZERO Crossover
2. Trend Line Break
3. Positive/Negative Divergence
4. Support/Resistance Line Break
5. Nosebleed/Opposite
6. Moving Average Crossover
*
Let's first begin with the ZERO Crossover, as it demonstrates the wonderfully characteristic 'truth' of the True Strength Index indicator:
*
a.) when the indicator is rising above the ZERO level, price is always also rising.
b.) when the indicator is falling below the ZERO level, price is always also falling.

6 Buy/Sell Techniques using the TSI Indicator
thetsitrader.blogspot.gr/p/6-buysell-techniques-using-true.html
QuantitativeExhaustion


MTF TSI with update
CGCryptoTrader
hello @QuantitativeExhaustion , I'm trying to work using two time frames but it's not working. Can you please help?
QuantitativeExhaustion
study("True Strength Indicator MTF", shorttitle="TSI MTF")
resCustom = input(title="Timeframe", type=resolution, defval="60" )
long = input(title="Long Length", type=integer, defval=25)
short = input(title="Short Length", type=integer, defval=13)
signal = input(title="Signal Length", type=integer, defval=13)
price = close
double_smooth(src, long, short) =>
fist_smooth = ema(src, long)
ema(fist_smooth, short)
pc = change(price)
double_smoothed_pc = double_smooth(pc, long, short)
double_smoothed_abs_pc = double_smooth(abs(pc), long, short)
tsi_value = 100 * (double_smoothed_pc / double_smoothed_abs_pc)
tsi = security(tickerid, resCustom,tsi_value)
plot(tsi, color=black)
plot(ema(tsi, signal), color=red)
hline(0, title="Zero")
Kaya
@QuantitativeExhaustion, something is wrong or need to update
kiero
@QuantitativeExhaustion Thank you for the great script! I get an error trying to run an updated version. Something in line with 0.66%.
Any help would be appreciated! Thanks.
QuantitativeExhaustion


Another example with lower chart time frame vs higher TSI frames.
dreadnought11
why does it not change when we change the timeframe?
shayan258211
Yes
dreadnought11
//@version=4
study("True Strength Indicator MTF", shorttitle="TSI MTF")

resCustom = input(title="Timeframe", type=input.resolution, defval="60")
long = input(title="Long Length", type=input.integer, defval=25)
short = input(title="Short Length", type=input.integer, defval=13)
signal = input(title="Signal Length", type=input.integer, defval=13)

price = close

double_smooth(src, long, short) =>
first_smooth = ema(src, long)
ema(first_smooth, short)

pc = change(price)
double_smoothed_pc = double_smooth(pc, long, short)
double_smoothed_abs_pc = double_smooth(abs(pc), long, short)
tsi_value = 100 * (double_smoothed_pc / double_smoothed_abs_pc)
tsi = security(syminfo.tickerid, resCustom, tsi_value)

plot(tsi, color=color.black)
plot(ema(tsi, signal), color=color.red)
hline(0, title="Zero")
Ещё