How to write the code of Chaos Awesome Oscillator  [SOLVED]

Questions about MultiCharts and user contributed studies.
cktsui888
Posts: 11
Joined: 22 Mar 2017
Has thanked: 1 time

How to write the code of Chaos Awesome Oscillator

Postby cktsui888 » 12 Apr 2017

Hello, Any one know how to write the code of Chaos Awesome Oscillator? That is ,
When red bar change to green bar ,then buy;
When green bar change to red bar, then sell;

Thanks!

User avatar
Angelina MultiСharts
Posts: 260
Joined: 28 Dec 2016
Has thanked: 28 times
Been thanked: 66 times

Re: How to write the code of Chaos Awesome Oscillator

Postby Angelina MultiСharts » 17 Apr 2017

Hello cktsui888,

As this is beyond our regular scope of support, I will leave it open for another member of our forum to answer.

wullenweber helmut
Posts: 57
Joined: 21 Dec 2007
Has thanked: 2 times
Been thanked: 9 times

Re: How to write the code of Chaos Awesome Oscillator

Postby wullenweber helmut » 18 Apr 2017

"The Awesome Oscillator (AO) provides us with the keys to the kingdom.
It is a 34-bar simple moving average of the bar’s midpoints (H–L)/2 subtracted from a 5-bar simple moving average of the midpoints (H–L)/2, plotted in a histogram form. The AO tells us exactly what is happening with the current momentum.
When understood and used properly, the AO is the best and most accurate indicator we have found in almost 50 years of trading."
Bill Williams: Trading Chaos

@cktsui888

Please keep us up to date with your experience with Awesome Oscillator.
Cheers

Code: Select all

Vars: var0(0),var1(0);

var0 = Average((h+l)/2,5)-Average((h+l)/2,34);

if currentbar>=1 then

if var0 > var0[1] then buy this bar close;
if var0 < var0[1] then sell this bar close;
Attachments
ChartAO.png
ChartAO.png (55.09 KiB) Viewed 844 times

cktsui888
Posts: 11
Joined: 22 Mar 2017
Has thanked: 1 time

Re: How to write the code of Chaos Awesome Oscillator  [SOLVED]

Postby cktsui888 » 20 Apr 2017

Thanks you !! I will keep us up to date with my experience with Awesome Oscillator


Return to “MultiCharts”