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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
//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) |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Your indicators are amazing, thanks for your website and your contributions
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?
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/
just to add to this would there be a way to establish a entry price from the Oscillator