Skip to content
All library documents

Confirming Breakouts with Higher-Timeframe Price Levels

Article Strategy library · Author: ChaoZhang

Summary

This document describes a breakout approach that compares price with levels drawn from two selected higher timeframes. The accompanying Pine script defaults to weekly and daily levels, sourced from a selectable price series. It can require price to remain beyond both levels and optionally applies a candle-color condition before entering long or short positions. Position size is tied to equity, and the script can restrict trading to a chosen date range and close positions after that range ends.

The text argues that agreement across timeframes may filter some false signals, while acknowledging that quiet markets can produce few trades, signals may lag, and the described method lacks a stop loss. The supplied backtest configuration covers a brief BTC/USDT futures period, but no results are reported. The prose and code are not fully aligned: the implementation uses levels and optional filters rather than clearly specifying independent breakout calculations on each timeframe. Its claims about reliability should therefore be treated as hypotheses requiring careful testing.

Key ideas

  • The strategy compares price with levels calculated from two selected higher timeframes.
  • The example defaults to weekly and daily levels and allows the price source to be changed.
  • Optional conditions include candle color and choosing whether to enable long or short trades.
  • The document warns that the approach can lag, may rarely trade in quiet markets, and has no stop loss.
  • A short BTC/USDT futures backtest configuration is supplied, but no performance results are given.

Tags

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