ninjatrader/strategies/trin-thrusts/README.md

36 lines
1.3 KiB
Markdown
Raw Normal View History

# TRIN Thrusts
This strategy was taken from chapter 3 of [*Connors on Advanced Trading Strategies*](https://moshferatu.dev/moshferatu/connors-on-advanced-trading-strategies) (1998).
## Rules
1. If the closing TRIN is 30% or more below the previous trading day's closing TRIN, enter a long trade (e.g., on SPY).
2. Exit the trade 2 trading days later.
I have also added a condition that the asset must be trading above its 200-day moving average that was not present in the book.
This implementation does not go short due to consistently negative returns.
## Parameters
**Long-Term Trend Period**: The period of the long-term trend as measured using a simple moving average. (Default: 200)
**Percent Below**: The percent below the previous TRIN value required to enter a trade. (Default: 40.0, differs from the book)
**Days to Exit**: The number of days to wait before exiting any open trade. (Default: 2)
## Backtest Results
### SPY
![SPY Analysis](https://static.moshington.com/images/strategies/trin-thrusts/spy-analysis.png)
![SPY Summary](https://static.moshington.com/images/strategies/trin-thrusts/spy-summary.png)
### QQQ
![QQQ Analysis](https://static.moshington.com/images/strategies/trin-thrusts/qqq-analysis.png)
![QQQ Summary](https://static.moshington.com/images/strategies/trin-thrusts/qqq-summary.png)
---