View Full Version : AO and AC
NinjaTrader_Josh
08-09-2007, 11:35 PM
AO (Awesome Oscillator) and AC (Acceleration/Deceleration Oscillator) by Bill Williams
http://i16.tinypic.com/6ftbddg
Usage:
AO - http://www.metaquotes.net/techanalysis/indicators/awesome_oscillator
AC - http://www.metaquotes.net/techanalysis/indicators/accelerator_decelerator/
Syntax
AO()
AC()To get the value of the bars:
AO().AOValue[int barsAgo]
AC().ACValue[int barsAgo]
tradereight
01-21-2009, 09:28 AM
the indicator seams to not work on bar close set to false
NinjaTrader_Bertrand
01-21-2009, 09:40 AM
Hi tradereight, could you please explain the issue you have - if you compare different platforms and datafeeds, there can always be minor differences in calculated values.
T2020
01-21-2009, 11:20 AM
Good job on the indicators Josh .
tradereight
01-22-2009, 06:47 AM
the problem with the accelerator is that it works fine on bar close but the second you turn on the on bar close false wrong values (a very large value) are plotted and safed to the chart, once you reload the chart all looks fine again.
give it a try on 2 min e-mini S&P charts and you will see.
other indicators like ATRtrailing also have this issue, so i just wanted to find out how we can prevent this from happening?
Hi tradereight, could you please explain the issue you have - if you compare different platforms and datafeeds, there can always be minor differences in calculated values.
eDanny
01-22-2009, 06:51 AM
I have been trying this indicator on five charts for about a week and have not seen that problem.
NinjaTrader_Josh
01-22-2009, 07:22 AM
These indicators were developed as 3rd party indicators and are provided as is. Significant testing has not been placed into it since I dropped the Bill Williams project.
tradereight
01-22-2009, 11:58 AM
again thank you for the indicators they are really great!!!
is there a way to tell a strategy to set the stop to the 2nd last fractal?
i coded a trailing strategy that is using
if(Lvls>=period*2)
set longStop = High[2];
if (Position.MarketPosition == MarketPosition.Long
ExitLongStop(longStop, "exit", "long");
however i would like to use the 2nd last fractal not the last one as my stop?
thanks for any help, as you can see on the 2 min ES its quite profitable ;-)
NinjaTrader_Josh
01-22-2009, 12:45 PM
I do not remember how I coded the Fractals. I do not think I saved out the locations of fractals so you probably cannot access the historical fractals.