Pivot Breakout Entries with Monthly Benchmark Return Tables
Summary
The source combines two functions: pivot-based stop entries and a monthly performance table. It tracks the latest confirmed pivot high and low, then places long and short stop-entry orders just beyond those levels. The inputs set pivot confirmation bars. The table compounds strategy equity changes and benchmark price changes into monthly and yearly returns, and can display their difference as alpha. Benchmark selection and display options are configurable.
The accompanying prose is inconsistent: its Chinese section presents a two-sided breakout strategy and discusses range-bound conditions, while its English section describes a returns display without trading logic. The code includes both, but its stated backtest covers only one month of BTC/USDT futures and no results are reported. The documentation warns of false breaks, sensitivity to pivot settings, and regime dependence. A benchmark table can aid review, but it does not establish profitability or validate the strategy, and the reported alpha is a return difference rather than a risk-adjusted measure.
Key ideas
- The code places long and short stop entries beyond the latest confirmed pivot high and low.
- Pivot detection uses configurable bars on each side of a turning point.
- A chart table compounds monthly and yearly strategy returns alongside a selected benchmark.
- The table can show return differences, but this is not a risk-adjusted performance measure.
- False breakouts, parameter choices, and changing market regimes can undermine the entry logic.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.