We use cookies to understand how the site is used and improve it. We only load analytics after you accept. Privacy Policy
Calculates Bill Williams' Awesome Oscillator
The Pine Script tab is the author's original, unchanged. The NexaScript, MQL5 and cTrader tabs were converted automatically by AlgoNexta from that original, are marked unverified and have not been run on the native platforms. Check them yourself before using them.
Calculates Bill Williams' Awesome Oscillator
Drawn by AlgoNexta's NexaScript engine from the converted version. It can differ slightly from the original at the start of the chart.
Running the NexaScript on recent candles…
community-ao.nxs · 10 lines · 168 B
Not yet verified on the native platform — test it before relying on it.
Converted automatically from the original Pine Script by AlgoNexta. Mapped to a built-in indicator; the numbers were not independently checked. Conversion notes: parameter i_fastLength: default 5 used; parameter i_slowLength: default 34 used; The source colors the plot green/red based on ao_value >= ao_value[1]; NexaScript plot syntax does not provide conditional plot colors, so this styling was dropped
skill "Awesome Oscillator (AO)" {
id AO
use XAUUSD M5
warmup 34
let ao_value = sma((high + low) / 2, 5) - sma((high + low) / 2, 34)
plot ao_value in "AO"
}
Educational and research tool. No investment advice. Generated code requires review and native-platform verification before use.