![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Feb 2007
Location: , ,
Posts: 17
Thanks: 0
Thanked 0 times in 0 posts
|
[align=left]I use AD in XTrader and would like to use it in NT6 and it would probably be a nice addition to the available indicators.Just a thought but I can't code it.[/align] [align=left]regards,[/align] [align=left]Accumulation/Distribution (AD)[/align] [align=left]The Accumulation/Distribution (AD) study attempts to quantify the amount of[/align] [align=left]volume flowing into or out of an instrument by identifying the position of the[/align] [align=left]close of the period in relation to that period’s high/low range. The volume for the[/align] [align=left]period is then allocated accordingly to a running continuous total.[/align] [align=left]Formula[/align] AD = cumulative ((((Close – Low) – (High – Close)) / (High – Low)) * Volume)) |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
Added for next beta release.
Ray
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2008
Posts: 17
Thanks: 0
Thanked 1 time in 1 post
|
Using the ADL indicator, I would like to put a 20 SMA on the ADL line. I tryed to do it but the SMA is allways referring to price and not to the ADL.
Isn't there a way to manage it? |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 90 times in 82 posts
|
asja.aa, NinjaTrader 7 will allow this type of behavior. You can "nest" as many indicators as you'd like into one final indicator. Unfortunately NinjaTrader 6.5 doesn't include this feature.
Another option would be to custom program this. To get a SMA of an ADL, you could do something like this: Code:
double value = SMA(ADL(), 20)[0];
Austin
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|