HypER_TIME_TSSL Strategy: In-Depth Analysis
Strategy Number: #208 (208th of 465 strategies)
Strategy Type: Time-Based Stop Loss / Hyperparameter Optimization
Timeframe: 15 Minutes (15m)
I. Strategy Overview
HypER_TIME_TSSL is the Time-Based Stop Loss (TSSL) version of the HypER_TIME series. Its core feature is introducing a dynamic stoploss mechanism based on holding time. "TSSL" stands for Time Stopped Stoploss Loss — a unique risk control method that applies stoploss not only based on price but also based on holding duration.
The design philosophy is: if holding time exceeds a certain threshold without reaching the profit target, it indicates the trade may have been misjudged, and should exit promptly to wait for better opportunities.
Core Features
| Feature | Description |
|---|---|
| Buy Conditions | 3 trend-confirmation signals |
| Sell Conditions | 2 sells + TSSL time-based stoploss |
| Protection Mechanisms | 3 groups (cooldown + stoploss guard + time guard) |
| Timeframe | 15 Minutes (15m) |
| Dependencies | TA-Lib, pandas, numpy |
II. Strategy Configuration Analysis
2.1 Basic Risk Parameters
# ROI Exit Table
minimal_roi = {
"0": 0.10, # Immediate: 10% take-profit
"30": 0.05, # After 30 minutes: 5% take-profit
"60": 0.02, # After 1 hour: 2% take-profit
"120": 0 # After 2 hours: exit via TSSL only
}
# Stoploss Settings
stoploss = -0.08 # -8% price stoploss
# TSSL Time-Based Stoploss
# If held over 120 minutes without reaching ROI target, exit at -2%
time_stop_loss = {
"120": -0.02 # After 120 minutes, trigger -2% stoploss
}
# Trailing Stop
trailing_stop = True
trailing_stop_positive = 0.02
trailing_stop_positive_offset = 0.035
Design Philosophy:
- TSSL Mechanism: 120 minutes (~8 15-minute candles) is the time threshold — a decision must be made regardless of profit/loss
- Time-Based Stoploss: If holding exceeds time threshold without profit, force exit with small loss
- Avoid Being Trapped: Prevent long-term holding of coins that don't move
III. Entry Conditions Details
3.1 Protection Mechanisms (3 Groups)
| Protection Type | Parameter Description | Default |
|---|---|---|
| CooldownPeriod | Cooldown after sell | 30 minutes |
| StoplossGuard | Daily stoploss protection | Max 2 times |
| TimeGuard | Time protection | Avoid overtrading |
3.2 Buy Conditions
Condition #1: Trend Pullback Entry
# Logic
- Pullback in an uptrend
- Price finds MA support
- RSI confirmation
Condition #2: Breakout Entry
# Logic
- Price breaks key resistance level
- Volume expansion confirms
- Trend strengthening
Condition #3: Oversold Rebound
# Logic
- RSI in oversold territory
- Price begins to rebound
- Entry timing confirmed
IV. Exit Conditions Details
4.1 Multi-Layer Take-Profit System
Profit Rate Range Time Threshold Signal Name
─────────────────────────────────────────────
0% - 10% Immediate TP_1 (10% target)
5% - 5% 30 minutes TP_2 (5% target)
2% - 2% 60 minutes TP_2 (2% target)
4.2 TSSL Time-Based Stoploss (Core Feature)
| Holding Time | Trigger Condition | Exit Method |
|---|---|---|
| 0-120 minutes | Reached ROI target | Take-profit exit |
| Over 120 minutes | Target not reached | -2% forced exit |
| Any time | Price drops below -8% | Stoploss exit |
Design Principle:
- If held for 2 hours without making money, it suggests the judgment may have been wrong
- Exit promptly with a small loss, avoid long-term trapping
- Free up capital to seek better opportunities
4.3 Base Sell Signals
# Sell Signal 1: Reach take-profit target
- Exit at corresponding time per ROI table
# Sell Signal 2: TSSL trigger
- Held over 120 minutes without reaching target
# Sell Signal 3: Trailing stop trigger
- Price retraces 3.5% from high
V. Technical Indicator System
5.1 Core Indicators
| Indicator Category | Specific Indicators | Purpose |
|---|---|---|
| Trend Indicators | EMA(21), EMA(50) | Trend direction confirmation |
| Momentum Indicators | RSI(14) | Overbought/oversold identification |
| Volume | Volume | Trend strength confirmation |
5.2 TSSL Mechanism Details
Time Stoploss Logic:
- Timer starts from buy fill
- Check holding time each candle
- When exceeding 120 minutes:
- If profit > 2%, continue holding
- If profit < 2% or loss, force exit at -2%
VI. Risk Management Highlights
6.1 TSSL Time-Based Stoploss Mechanism
This is the strategy's core feature:
- Avoid Being Trapped: Exit coins that don't move in time
- Improve Capital Efficiency: Exit promptly to seek new opportunities
- Psychological Protection: No need to watch the screen waiting for stagnant coins
6.2 Dual Stoploss Protection
| Stoploss Type | Trigger Condition | Exit Ratio |
|---|---|---|
| Price Stoploss | Drops below -8% | -8% |
| Time Stoploss | Held > 120 minutes | -2% |
6.3 Dynamic Take-Profit Strategy
| Holding Phase | Take-Profit Target | Stoploss Position |
|---|---|---|
| 0-30 minutes | 10% | -8% or TSSL |
| 30-60 minutes | 5% | -8% or TSSL |
| 60-120 minutes | 2% | -8% or TSSL |
| After 120 minutes | - | Force -2% |
VII. Strategy Pros & Cons
✅ Pros
- Avoids Being Trapped: Time-based stoploss prevents long-term stagnation
- Improves Efficiency: Exit promptly to seek new opportunities
- Dual Protection: Price stoploss + time stoploss
- Suitable for Short-Term: 15 min + TSSL suits day trading
⚠️ Cons
- May Miss Opportunities: Market may start right after exit
- Parameter Sensitivity: Time threshold needs adjustment for different markets
- Not Suitable for Long-Term: Time-based stoploss unsuitable for long-term investment
- Frequent Trading: TSSL may increase trading frequency
VIII. Applicable Scenarios
| Market Environment | Recommended Configuration | Description |
|---|---|---|
| Day Trading | Enable TSSL | Suitable for short-term traders |
| High Volatility | Tighten stoploss | Control single-trade loss |
| Low Volatility | Relax time | Give more time to develop |
| Trending Market | Standard config | Best results |
IX. Applicable Market Environment Details
HypER_TIME_TSSL is specifically designed for day trading and short-term trading. Based on its TSSL time-based stoploss mechanism, it is best suited for fast-moving timeframes and may perform average in long-term trends.
9.1 Strategy Core Logic
- TSSL Mechanism: 120 minutes is the time threshold — force exit if exceeded
- Dual Stoploss: Price stoploss + time stoploss, dual protection
- Quick Exit: Exit with small loss (-2%), avoid deep traps
9.2 Performance in Different Market Environments
| Market Type | Performance Rating | Analysis | |:-----------|:|:---:|:--- | | 📈 Intraday Trend | ⭐⭐⭐⭐⭐ | TSSL can hold in trends, exit on pullbacks | | 📉 Fast Decline | ⭐⭐⭐☆☆ | Time-based stoploss exits promptly | | 🔄 Ranging | ⭐⭐⭐☆☆ | TSSL avoids long-term trapping | | ⚡️ High Volatility | ⭐⭐⭐⭐☆ | Fast reaction, timely profit-taking |
9.3 Key Configuration Recommendations
| Configuration Item | Recommended Value | Description |
|---|---|---|
| Timeframe | 15m | Suitable for day trading |
| Time Stoploss | 120 minutes | Adjust per personal preference |
| Stoploss | -8% | Price stoploss threshold |
X. Important Reminders: The Cost of Complexity
10.1 Learning Curve
Understanding TSSL mechanism and time-based stoploss principles is required — beginners may need time to adapt.
10.2 Hardware Requirements
| Number of Trading Pairs | Minimum Memory | Recommended Memory |
|---|---|---|
| 3-5 pairs | 1 GB | 2 GB |
| 10-20 pairs | 2 GB | 4 GB |
10.3 Backtesting vs. Live Trading Differences
- TSSL in live trading requires precise time monitoring
- Paper trading verification recommended first
XI. Summary
HypER_TIME_TSSL is a uniquely featured time-based stoploss strategy in the HypER_TIME series. Its core value lies in:
- TSSL Mechanism: 120-minute forced exit, avoiding long-term trapping
- Dual Protection: Price stoploss + time stoploss, double insurance
- Efficient Capital Utilization: Exit promptly to seek new opportunities
For short-term traders and day traders, the TSSL mechanism effectively controls risk and improves capital utilization efficiency.