Threshold-Based Short-Term Price Change Signals
Summary
This strategy compares the close with its value several candles earlier and issues long or short entries when the percentage change crosses a positive or negative threshold. The described defaults use five candles and thresholds of 0.4% in either direction. The rules are presented as a way to react to sharp short-term moves, with percentage thresholds intended to scale better across instruments than fixed price amounts.
The document gives a conceptual description and Pine Script implementation, plus a published BTC/USDT futures backtest configuration; it reports no performance results. It characterizes the approach as short-term mean reversion, though the code enters in the direction of the threshold move, which is closer to momentum. No stop loss is implemented, and the text flags frequent signals, trading costs, parameter sensitivity, and whipsaws in ranging conditions. Trend or higher-timeframe filters and explicit risk controls are suggested as additions.
Key ideas
- The signal compares the current close with the close a configurable number of candles earlier.
- A positive threshold triggers a long entry, while a negative threshold triggers a short entry.
- The documented defaults are five candles and positive and negative thresholds of 0.4%.
- The code enters in the direction of the price move, despite the document labeling the method mean reversion.
- The implementation has no stop loss and may generate costly or misleading signals in choppy markets.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.