Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 07:44:23 +0000



Post From: AC/DC Histogram study seems different

[2019-11-04 19:16:08]
LP30 - Posts: 9
The AC/DC Oscillator formula shown in AC DC Histogram - Bill Williams Acceleration Deceleration Oscillator seems different from other places.

See:
- https://www.metatrader5.com/en/terminal/help/indicators/bw_indicators/ao
- https://forextester.com/blog/accelerator-oscillator

Also, when visually comparing the study in Sierra Chart to the same study in IB TWS and TradingView it looks different (TWS and TradingView look the same).

This is the formula for the study in TradingView. It matches the two links above:

study(title="Acceleration/Deceleration", shorttitle="AC")
ao = sma(hl2,5) - sma(hl2,34)
ac = ao - sma(ao,5)
plot(ac, color = change(ac) <= 0 ? red : green, style=histogram)

Date Time Of Last Edit: 2019-11-04 22:48:14