Skip to content
All library documents

Combining 123 Reversal Signals with the RAVI Indicator

Article Strategy library · Author: ChaoZhang

Summary

The strategy combines a 123 reversal signal based on recent closing prices and stochastic values with RAVI, which measures the relative gap between fast and slow moving averages. It enters long or short only when both components indicate the same direction; when they disagree, the implementation closes open positions. The supplied settings include a 14-period reversal calculation, 7- and 65-period averages for RAVI, and a configurable threshold. The published test setup uses BTC/USDT futures over one month.

The source code's detailed reversal conditions are more specific than the overview: they compare the last three closes and stochastic lines against each other and a level. RAVI retains its prior directional state while its value remains between its threshold conditions. The document offers no backtest performance statistics, so its claims about improved signal accuracy or reduced drawdown are unverified. It also notes that the components can conflict and that the reversal component may trade frequently, making parameter and market testing important.

Key ideas

  • The method requires agreement between a price-and-stochastic reversal signal and a moving-average-based RAVI signal.
  • The source closes positions when the combined indicators do not agree on a direction.
  • RAVI compares fast and slow simple moving averages and preserves its prior state between signal thresholds.
  • The overview simplifies the reversal rules, which the source code defines using recent closes and stochastic comparisons.
  • The brief published test setup includes no reported performance results.

Tags

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