Skip to content
All library documents

Timed BTC Long Entries with ATR-Based Exit Levels

Article Strategy library · Author: ChaoZhang

Summary

This strategy opens a long position when the chart time matches a user-selected hour and minute. It records the entry close and calculates an exit level by adding an ATR value obtained from five-minute data. The published settings use BTC/USDT futures on a one-hour chart, with a 15-minute base period, across January 2024. The document presents time selection and ATR as a simple way to define entry timing and a volatility-related exit level.

There is an important inconsistency in the description: it calls the ATR level a stop loss, but the source submits it as a limit exit above the long entry, which functions as a take-profit target. The script also repeats the timed entry condition and does not include the sell logic shown in commented-out code. No backtest results are supplied. The document notes that the selected time and ATR length may be unsuitable, and that the approach does not account for fundamentals or longer-term trends.

Key ideas

  • A time-of-day condition triggers a long entry at the current close.
  • The exit level is calculated by adding ATR from five-minute data to the entry price.
  • The source code uses this level as a limit exit, despite the prose describing it as a stop loss.
  • The example specifies BTC/USDT futures and a one-hour chart but reports no performance results.
  • Entry timing and ATR settings may not generalize across markets or holding periods.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.