Skip to content
All library documents

Stochastic Entries with Pivot-Based Stops and Alerted Partial Exits

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses Stochastic %K and %D crossovers to initiate long and short positions. It identifies recent pivot lows and highs to set direction-specific stop prices, then combines those stops with profit-taking exits. The example includes a partial exit of half the position after a specified price movement, with take-profit and partial-profit levels expressed in ticks. The accompanying description focuses on sending dynamic stop and target values through TradingView alerts for execution in MT4 or MT5 via a connector.

The document provides parameter defaults and a BTC/USDT futures backtest configuration covering roughly one month on three-hour bars with a 15-minute base period, but reports no performance results. It flags Stochastic lag, potentially disruptive frequent partial exits, and differences across timeframes. The source illustrates entries and exits, while its alert-condition examples are commented out; the claims about live broker transmission therefore describe the intended workflow rather than demonstrated execution. The author suggests tuning parameters and comparing stop methods across markets.

Key ideas

  • Stochastic %K and %D crossovers provide long and short entry signals.
  • Recent pivot lows and highs supply candidate stops for long and short positions.
  • The example combines full profit targets with a partial exit for half the position.
  • Dynamic stop and target values are intended for transmission through alerts to an MT4 or MT5 broker.
  • The document provides no reported performance results, and its alert examples are commented out.

Tags

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