NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 08-09-2007, 11:35 PM   #1
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default AO and AC

AO (Awesome Oscillator) and AC (Acceleration/Deceleration Oscillator) by Bill Williams


Usage:
AO - http://www.metaquotes.net/techanalys...ome_oscillator
AC - http://www.metaquotes.net/techanalys...r_decelerator/

Syntax
Code:
AO()
AC()
To get the value of the bars:
Code:
AO().AOValue[int barsAgo]
AC().ACValue[int barsAgo]
Attached Files
File Type: zip AO_AC_v0.1.0.zip (5.3 KB, 726 views)
NinjaTrader_Josh is offline  
Reply With Quote
Old 01-21-2009, 09:28 AM   #2
tradereight
Member
 
Join Date: Jul 2008
Posts: 70
Thanks: 0
Thanked 1 time in 1 post
Default problem with AC oscillator

the indicator seams to not work on bar close set to false
Attached Images
File Type: jpg nt calculates ac wrong.jpg (59.8 KB, 115 views)
tradereight is offline  
Reply With Quote
Old 01-21-2009, 09:40 AM   #3
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

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.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 01-21-2009, 11:20 AM   #4
T2020
Senior Member
 
Join Date: Jun 2008
Posts: 644
Thanks: 0
Thanked 0 times in 0 posts
Default

Good job on the indicators Josh .
T2020 is offline  
Reply With Quote
Old 01-22-2009, 06:47 AM   #5
tradereight
Member
 
Join Date: Jul 2008
Posts: 70
Thanks: 0
Thanked 1 time in 1 post
Default accelerator

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?


Quote:
Originally Posted by NinjaTrader_Bertrand View Post
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.
Last edited by tradereight; 01-22-2009 at 06:56 AM.
tradereight is offline  
Reply With Quote
Old 01-22-2009, 06:51 AM   #6
eDanny
Senior Member
 
eDanny's Avatar
 
Join Date: Jul 2008
Location: East Rochester, NY
Posts: 899
Thanks: 0
Thanked 19 times in 17 posts
Default

I have been trying this indicator on five charts for about a week and have not seen that problem.
eDanny is offline  
Reply With Quote
Old 01-22-2009, 07:22 AM   #7
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

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.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:43 PM.