![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2007
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
Is it possible to make the hull moving average color coded for up/ down ie: blue for up and red for down Also offset it. If this is possible let me know - thanks ~Colin |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Hi prostyle,
It is possible to get two colors and it is also possible to do the offset. To achieve the two colors please check out the concepts presented in this tutorial (http://www.ninjatrader-support.com/H...ml?Overview25). Basically what it does is create two plots instead of one. When the HMA is up, add the value to your blue plot. When the HMA is down, add the value to your red plot. To offset the indicator there is an option in the Indicator dialog that is called "Displacement". You can set this parameter when you are adding the HMA and you will also be able to modify its value at a later date. Hope that helps.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Double Exponential Moving Average | Kevin21 | Charting | 22 | 08-05-2010 01:16 AM |
| Moving average of Pivot points | nightowl | Charting | 3 | 07-01-2008 02:19 PM |
| Price parameter in Moving Average | bmaltz | Indicator Development | 10 | 06-09-2007 12:16 PM |
| Double moving average ,double time frame | Mauro60 | Indicator Development | 3 | 01-23-2007 02:11 AM |
| Triangular Moving Average Indicator (Download) Version 5 Only | NinjaTrader_Ray | Indicator Development | 1 | 04-07-2006 01:29 AM |