NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-26-2009, 11:49 PM   #1
stormze
Member
 
Join Date: Oct 2008
Posts: 53
Thanks: 0
Thanked 0 times in 0 posts
Default ATR with custom input dataseries

I have a simple question.
As described here: http://stockcharts.com/school/doku.p...true_range_atr
The ATR indicator uses various dataseries as input (High, Low, Close, etc)

What I want to do is to construct an ATR with custom input dataseries but I only just found a contructor that receive only one IDataSeries as input...
From documentation this is the only two ways to contruct an ATR

ATR(int period)
ATR(IDataSeries inputData, int period)

Im assuming the first one uses the default series High, Low, Close... but what it does the second one ???
stormze is offline  
Reply With Quote
 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indicators & custom dataseries cunparis Strategy Development 4 03-09-2009 09:37 AM
DataSeries as User Input SystemTrading Strategy Development 3 02-03-2009 10:39 AM
DataSeries as Input for Indicator with CalculateOnBarClose = false cbaer Indicator Development 1 01-14-2009 03:56 AM
Custom DataSeries in Strategy astrolobe Strategy Development 3 12-02-2007 09:46 PM
custom Dataseries as indicator input, or input to indi through underlying strategy Nathamus General Programming 3 08-30-2007 12:04 PM


All times are GMT -6. The time now is 02:52 AM.