Skip to main content

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

FeatureDescription
Buy Conditions3 trend-confirmation signals
Sell Conditions2 sells + TSSL time-based stoploss
Protection Mechanisms3 groups (cooldown + stoploss guard + time guard)
Timeframe15 Minutes (15m)
DependenciesTA-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 TypeParameter DescriptionDefault
CooldownPeriodCooldown after sell30 minutes
StoplossGuardDaily stoploss protectionMax 2 times
TimeGuardTime protectionAvoid 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 TimeTrigger ConditionExit Method
0-120 minutesReached ROI targetTake-profit exit
Over 120 minutesTarget not reached-2% forced exit
Any timePrice 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 CategorySpecific IndicatorsPurpose
Trend IndicatorsEMA(21), EMA(50)Trend direction confirmation
Momentum IndicatorsRSI(14)Overbought/oversold identification
VolumeVolumeTrend 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 TypeTrigger ConditionExit Ratio
Price StoplossDrops below -8%-8%
Time StoplossHeld > 120 minutes-2%

6.3 Dynamic Take-Profit Strategy

Holding PhaseTake-Profit TargetStoploss Position
0-30 minutes10%-8% or TSSL
30-60 minutes5%-8% or TSSL
60-120 minutes2%-8% or TSSL
After 120 minutes-Force -2%

VII. Strategy Pros & Cons

✅ Pros

  1. Avoids Being Trapped: Time-based stoploss prevents long-term stagnation
  2. Improves Efficiency: Exit promptly to seek new opportunities
  3. Dual Protection: Price stoploss + time stoploss
  4. Suitable for Short-Term: 15 min + TSSL suits day trading

⚠️ Cons

  1. May Miss Opportunities: Market may start right after exit
  2. Parameter Sensitivity: Time threshold needs adjustment for different markets
  3. Not Suitable for Long-Term: Time-based stoploss unsuitable for long-term investment
  4. Frequent Trading: TSSL may increase trading frequency

VIII. Applicable Scenarios

Market EnvironmentRecommended ConfigurationDescription
Day TradingEnable TSSLSuitable for short-term traders
High VolatilityTighten stoplossControl single-trade loss
Low VolatilityRelax timeGive more time to develop
Trending MarketStandard configBest 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 ItemRecommended ValueDescription
Timeframe15mSuitable for day trading
Time Stoploss120 minutesAdjust 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 PairsMinimum MemoryRecommended Memory
3-5 pairs1 GB2 GB
10-20 pairs2 GB4 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:

  1. TSSL Mechanism: 120-minute forced exit, avoiding long-term trapping
  2. Dual Protection: Price stoploss + time stoploss, double insurance
  3. 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.