Awesome Oscillator and MACD Histogram

This is a quick script that combines two standard indicators, the Awesome Oscillator and MACD histogram, to highlight the beginnings of periods of fast price movement (divergence between the two). Since MACD's EMA responds more quickly than AO's SMA , look for periods of green over gold as a bullish signal, and red under blue as a bearish signal.

Of course both indicators are lagging in nature, but the presence of this divergence often leads larger, continued movement in the same direction.

Bullish Signals
  • Change from red to green below 0 with either blue or gold above 0 (strengthened on second green bar):
  • Rising green above 0 with gold below 0:

Bearish Signals
  • Change from green to red above 0 with either blue or gold below 0 (strengthened on second red bar):
  • Deepening red below 0 with blue above 0:

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。