0% found this document useful (0 votes)
45 views2 pages

Tillson T3 Trading Indicator Script

The document contains a TradingView script for the 'Tillson T3' indicator, which calculates a T3 moving average based on user-defined lengths and volume factors. It includes options to display a T3 Fibonacci ratio line and generates alerts for buy/sell signals and color changes. The script utilizes exponential moving averages and color coding to indicate trends in the T3 values.

Uploaded by

serdarugur
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views2 pages

Tillson T3 Trading Indicator Script

The document contains a TradingView script for the 'Tillson T3' indicator, which calculates a T3 moving average based on user-defined lengths and volume factors. It includes options to display a T3 Fibonacci ratio line and generates alerts for buy/sell signals and color changes. The script utilizes exponential moving averages and color coding to indicate trends in the T3 values.

Uploaded by

serdarugur
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

//@version=5

//Developed by Tim Tillson


//author: KIVANÇ @fr3762 on twitter
indicator('Tillson T3', overlay=true)
T3FiboLine = input(false, title='Show T3 Fibonacci Ratio Line?')

length1 = input(8, 'T3 Length')


a1 = input(0.7, 'Volume Factor')

e1 = [Link]((high + low + 2 * close) / 4, length1)


e2 = [Link](e1, length1)
e3 = [Link](e2, length1)
e4 = [Link](e3, length1)
e5 = [Link](e4, length1)
e6 = [Link](e5, length1)
c1 = -a1 * a1 * a1
c2 = 3 * a1 * a1 + 3 * a1 * a1 * a1
c3 = -6 * a1 * a1 - 3 * a1 - 3 * a1 * a1 * a1
c4 = 1 + 3 * a1 + a1 * a1 * a1 + 3 * a1 * a1
T3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3

col1 = T3 > T3[1]


col3 = T3 < T3[1]
color_1 = col1 ? [Link] : col3 ? [Link] : [Link]
plot(T3, color=color_1, linewidth=3, title='T3')

length12 = input(5, 'T3 Length fibo')


a12 = input(0.618, 'Volume Factor fibo')

e12 = [Link]((high + low + 2 * close) / 4, length12)


e22 = [Link](e12, length12)
e32 = [Link](e22, length12)
e42 = [Link](e32, length12)
e52 = [Link](e42, length12)
e62 = [Link](e52, length12)
c12 = -a12 * a12 * a12
c22 = 3 * a12 * a12 + 3 * a12 * a12 * a12
c32 = -6 * a12 * a12 - 3 * a12 - 3 * a12 * a12 * a12
c42 = 1 + 3 * a12 + a12 * a12 * a12 + 3 * a12 * a12
T32 = c12 * e62 + c22 * e52 + c32 * e42 + c42 * e32

col12 = T32 > T32[1]


col32 = T32 < T32[1]
color2 = col12 ? [Link] : col32 ? [Link] : [Link]

plot(T3FiboLine and T32 ? T32 : na, color=color2, linewidth=2, title='T3fibo')

alertcondition([Link](T3, T3[1]), title='T3 BUY', message='T3 BUY!')


alertcondition([Link](T3, T3[1]), title='T3 SELL', message='T3 SELL!')

alertcondition([Link](T3, T3[1]), title='Color ALARM', message='T3 has changed


color!')

long = col12
short = col32
alertcondition(long, title='Long Alert', message='Long')
alertcondition(short, title='Short Alert', message='Short')

You might also like