Skip to content
All library documents

Awesome Oscillator Signal-Line Cross Strategy

Article TradingView scripts

Summary

This strategy builds an oscillator from the difference between fast and slow moving averages of the midpoint of each bar, then subtracts a further moving average of that difference. A selectable weighted, simple, or exponential moving average of the resulting series acts as the signal line. The default configuration uses the weighted version, while inputs allow the lengths and selected line to be changed.

The strategy takes a long position when the signal line crosses from negative to positive and a short position when it crosses from positive to negative, carrying that direction until the opposite crossing. The histogram is colored according to whether the oscillator value rose or fell from the prior bar. The document presents no backtest statistics, markets, or timeframe analysis, and explicitly frames the script for learning or paper trading. Its signals and configurable averages do not establish evidence of predictive value or profitability.

Key ideas

  • The oscillator subtracts a moving average of the fast-minus-slow midpoint average spread.
  • A selectable moving average of the oscillator serves as the signal line.
  • Crossing the signal line through zero sets the strategy's long or short direction.
  • Histogram color reflects whether the oscillator rose or fell from the previous bar.
  • No performance evidence is provided, and the document limits its stated use to learning or paper trading.

Tags

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