Skip to content
All library documents

Tick-Based Stochastic Indicator: Parameters and Calculation

Article MQL5 code base

Summary

This brief reference describes a tick-based stochastic indicator as a modified form of the bar-based stochastic. Its adjustable settings include the K and D periods, smoothing, calculation methods for both lines, applied price, and overbought and oversold thresholds.

The calculation first derives a fast K value from the applied price’s position between the lowest low and highest high over the K-period range. It then smooths that value to produce K and applies a further moving average to calculate D. The excerpt defines the variables and sequence, but does not explain how tick windows differ operationally from bar windows, give recommended parameter choices, or provide testing evidence. It is a formula reference rather than a complete trading strategy.

Key ideas

  • Tick-based stochastic is presented as a modified bar-based stochastic.
  • The indicator exposes settings for lookback periods, smoothing, price input, and threshold levels.
  • Fast K measures the applied price relative to the period’s high-low range.
  • K and D are calculated through successive moving-average steps.
  • The excerpt gives no parameter guidance or performance evidence.

Tags

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