![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2009
Posts: 52
Thanks: 2
Thanked 0 times in 0 posts
|
Hi NT team,
I would like to calculate a custom input series (O/H/L/C data) which I can publish on my chart as BarCharts and which is then accessible also by other indicators (that need OHLC data (for example such a Stochastic). I could for example create my indicator value like this: PriceATROpen = Open[0] / EMA(ATR(ATRperiod),EMAperiod)[0]; PriceATRHigh = High[0] / EMA(ATR(ATRperiod),EMAperiod)[0]; PriceATRLow = Low[0] / EMA(ATR(ATRperiod),EMAperiod)[0]; PriceATRClose = Close[0] / EMA(ATR(ATRperiod),EMAperiod)[0]; My questions:
whotookmynickname |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
|
whotookmynickname,
There is a indicator that makes candlesticks you could use. http://www.ninjatrader.com/support/f...d=4&linkid=512 You just need to remove some parts and redefine the open/high/low/close to be custom calculations.
Adam P.
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Input Series Data Series?? | DabaWalla | Market Analyzer | 1 | 01-29-2012 03:26 PM |
| Multiple Input Series as Input | martinP | Indicator Development | 2 | 01-17-2011 05:15 AM |
| Multiple Data Series with different Indicator Input series | marotom | General Programming | 5 | 01-06-2011 12:11 PM |
| Input Series For Indicator | CraigC | Indicator Development | 7 | 06-28-2008 03:58 AM |
| custom Dataseries as indicator input, or input to indi through underlying strategy | Nathamus | General Programming | 3 | 08-30-2007 12:04 PM |