Skip to content
All library documents

Stochastic Entries with Pivot-Based Trailing Stops

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses stochastic K and D crossovers to enter long and short positions. After entry, it tracks confirmed swing lows for a long position and swing highs for a short position, moving the stop as new pivots appear. The published implementation also sets a take-profit level and can send entry and stop-modification alerts to MetaTrader platforms, with chart markers showing stop updates. A setting lets the user disable stop modifications.

The document provides the indicator rules, implementation details, and a BTC perpetual futures backtest configuration covering late 2022 through early 2024, but it reports no outcome statistics. It warns that frequent stochastic crosses can produce ineffective trades, extreme price moves can pass through stops, and alert delays or connection failures can prevent timely updates. Frequent adjustments may also raise trading costs. Pivot confirmation entails waiting for subsequent price bars, so the method’s responsiveness depends on how pivots are defined and alerts are handled; the document does not quantify execution slippage or risk-adjusted performance.

Key ideas

  • Stochastic K and D crossovers provide the long and short entry signals.
  • Long stops follow recent confirmed pivot lows, while short stops follow recent pivot highs.
  • Stop changes can be sent by alert to an external MetaTrader execution setup.
  • Frequent signals, market gaps, alert failures, and adjustment costs can weaken results.
  • The published backtest configuration has no accompanying performance statistics.

Tags

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