Skip to content
All library documents

OBV EMA Crossover Signals with Percentage Stop Losses

Article Strategy library · Author: bennef

Summary

This script builds a volume-based trend signal by weighting signed volume according to volume relative to ATR, accumulating the result as an OBV-like series, and calculating fast and slow exponential averages. Crosses between the averages generate long or short entries. The script also defines a backtest date window and percentage stop levels based on average position price; chart colors indicate position direction and signal state. The accompanying description identifies the faster average crossing the slower one as the signal source.

The document includes code and interface text, but no strategy report, market identification, test results, or discussion of trade frequency. A take-profit value is defined, yet the shown exit orders use stop orders rather than a profit target. The stop distance is fixed as a percentage, and the ATR weighting and EMA choices are not justified with comparative evidence, so the example alone does not establish robustness.

Key ideas

  • The indicator accumulates signed volume adjusted by volume relative to ATR.
  • Crosses between fast and slow EMAs of the accumulated series trigger directional entries.
  • The script restricts trades to a configurable backtest date interval.
  • Stop orders use a fixed percentage distance from the average position price.
  • The provided material includes no performance evidence or parameter validation.

Tags

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