ta-oliver / infertrade

Open source trading and investment strategy library designed for accessibility and compatibility
Apache License 2.0
34 stars 20 forks source link

TRUE STRENGTH INDICATOR (TSI) - DOCUMENTATION (DESCRIPTIONS OF EXISTING RULES/INDICATORS) #176

Closed Cal231995 closed 3 years ago

Cal231995 commented 3 years ago

Meaning, descriptions, formula. https://www.investopedia.com/terms/t/tsi.asp

Allocation Strategy The strategy is to identify the oversold and overbought markets and a momentum indicator

Bullish Momentum: when the tsi line cross above signal line Bearish Momentum: when signal line cross above tsi line

The theory suggests that asset price will have a bullish momentum when the tsi line cross above signal line and vice versa. So: if TSI LINE > SIGNAL LINE then allocation = max_allocation(long position)

if TSI LINE < SIGNAL LINE then allocation = -max_allocation(short position) else: allocation = 0 TSI PROCESS

Cal231995 commented 3 years ago

Meaning, descriptions, formula. https://www.investopedia.com/terms/t/tsi.asp

Allocation Strategy The strategy is to identify the oversold and overbought markets and a momentum indicator

Bullish Momentum: when the tsi line cross above signal line Bearish Momentum: when signal line cross above tsi line

The theory suggests that asset price will have a bullish momentum when the tsi line cross above signal line and vice versa. So: if TSI LINE > SIGNAL LINE then allocation = max_allocation(long position)

if TSI LINE < SIGNAL LINE then allocation = -max_allocation(short position) else: allocation = 0 TSI PROCESS

13 Default Values

Cal231995 commented 3 years ago

The True Strength Index (TSI) is a momentum indicator used to identify overbought and oversold signals. It can also be used to indicate trend reversals using bullish and bearish crossover of the signal line and tsi line.

@fhashim you can used this description. I composed this myself. thank you