![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2009
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
I am using a MACD indicator with only the MACD line that simply tells me the difference in value between a fast and slow moving average. Is it possible to add oscillator lines, similar to the 30 and 70 lines found on other indicators such as RSI (the overbought and oversold lines), but instead of using an integer value I would like the oscillator lines to be equal to 20% of the daily ATR. For instance, the daily ATR on ES is around 20 pts, so I would want two lines on my indicator, one at +4 (0.2*20) and one at -4.
I have attached what I am using so far for the indicator. I appreciate your help. Thanks!!! Jeff
Last edited by midgetsnyper1; 08-08-2009 at 11:11 AM.
Reason: redefine terms
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
Jeff, you could code this to be displayed dynamically within a MultiTimeFrame strategy in NinjaScript - http://www.ninjatrader-support.com/H...struments.html
Unfortunately this would have certain plotting limitations from inside the strategy - http://www.ninjatrader-support2.com/...ead.php?t=6651 NinjaTrader 7 will extend the MultiSeries concept we have in Strategies now to Indicators as well, making this much more convenient - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modification to MACD Bollinger Band Lines Indicator | pauly139 | Indicator Development | 2 | 05-14-2010 12:26 PM |
| Removal the MA lines from MACD | Armonistas | Indicator Development | 3 | 05-16-2009 01:03 PM |
| MACD BB Lines | bugman4/u | Suggestions And Feedback | 1 | 04-11-2009 05:54 AM |
| Adding Pivot Lines | ramckay | Indicator Development | 4 | 01-14-2009 08:31 AM |
| Turning off Avg. & MACD lines | jeremymgp | Charting | 1 | 08-11-2007 04:41 AM |