Nicolas

Accelerator Oscillator

Category: Indicators By: Nicolas Created: September 27, 2017, 1:31 PM
September 27, 2017, 1:31 PM
Indicators
4 Comments
Accelerator Oscillator

The AC indicator is derived from the Awesome Indicator (AO) indicator. This is the current value of the AO minus the single moving average of the AOs over the five most recent intervals:

AC = AO – SMA (AO, 5) AO is, in turn, median price (MP) for five intervals minus ADM of MP on 34 intervals:

AO = SMA (MP, 5) – SMA (MP, 34)

The Acceleration / Deceleration Oscillator (AC) is used to determine whether the market motive trend is upward or downward. It gives you an advanced warning of changes in price direction: AC indicator changes direction before market trend changes direction before prices change. If you use the AC indicator you will have two lengths in advance of changes in price direction. This will allow you to place your orders before the price change takes place.

 

//PRC_Accelerator Decelerator | indicator
//26.09.2017
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge

ao = average[5](medianprice)-average[34](medianprice)
ac = ao-average[5](ao)

if ac>ac[1] then 
 r=0
 g=255
else
 r=255
 g=0
endif

return ac coloured(r,g,0) style(histogram)

 

Download
Filename: PRC_Accelerator-Oscillator.itf
Downloads: 486
Nicolas
Nicolas Legend
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Steven Bahia
8 years ago
#

just to add to this would there be a way to establish a entry price from the Oscillator

Steven Bahia
8 years ago
#

Hi Nicolas - great indicator - is there a way to place a alert when the Oscillator crosses over at 0.0 mark at the 30min mark?

Nicolas
8 years ago
#

Alerts can't be programmed, you have to set them yourself with the Alert tool of the platform: https://www.prorealcode.com/blog/video-tutorials/alerts-prorealtime-10-3/

sawer36
9 years ago
#

Your indicators are amazing, thanks for your website and your contributions

ProRealCode ProRealCode
Loading...