The Awesome Oscillator (AO) calculates the difference between a 34 Period and 5 Period Simple Moving Averages. It is used to measure market momentum.
//@version=6
indicator('Awesome Oscillator', overlay=false)
ao = ta.sma(hl2, 5) - ta.sma(hl2, 34)
plot(ao, 'AO', style=plot.style_columns, color=(ao >= 0 ? (ao < ao[1] ? #26A69A : #B2DFDB) : (ao > ao[1] ? #FFCDD2 : #FF5252)))Enhance your trading workflow with these professional tools and platforms.
Get funded up to $300K. Keep 90% of your profits.
The professional choice for secure execution.
Mirror top-tier traders instantly.