![]() |
|
|||||||
| NinjaScript File Sharing Discussion Discussion for shared NinjaScript files. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|
Hi,
I've changed the MACD histogram. I've seen this in the book entries and exits from A. Elder in the chapter of Kerry L. I found i very usefull so I implemented it for NT. The histogram turns red when the histogram ticks down and it turns green when the histogram ticks up. Ideal for timing the markets. and see in a glimpse a down or uptick of the histogram.An example: MACDUpDown.jpg Enjoy! Wessel de Roode
Last edited by Wessel; 03-11-2008 at 02:49 PM.
Reason: Updated indicator with more clear colors and thicker bars
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
Thanks for sharing!
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Hello Wessel what is the difference between v1.1 and V 1.0, looks none?
Thanks pttsus |
|
|
|
|
|
#4 |
|
Member
|
pttsus,
The difference is minor. I cleaned up the source and changed the color of the green historgram from lime into green color which is more visible on a white background and on also still visible on a black background Wessel |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
|
I really love this indicator, and use it instead of the standard one. Many thanks to the creators
![]() I was thinking it would be really cool to also have the MACD line change colors as well, i.e. when the MACD is above the avg line its blue, and if it is below the line its red... To take this a step further, if the MACD is above its avg AND above the zero line, the color could change to a stronger blue indicating a strong up trend/buy signal and vice-versa for the sell signals... Does this sound useful to anybody else?
Last edited by Elliott Wave; 04-02-2008 at 11:58 AM.
|
|
|
|
|
|
#6 | |
|
Member
|
Hi Elliott Wave,
Thanks for your comments :-) good to hear you appreaciate it drop me some Kudo's . I've saw this indicator in entries&exits of Elder and I decided to build it as I'm a very visual oriented I like to see the details in this way.When a bullish deversion appears I sell or buy on the first color change of the bar. That is quite early but works nice. About your request, I am nog quite clear what you exactly mean. Let me summarize if I understand it correctly: example.png I've done a manual job on this one. I cound't find a line above the avg line and a macd histogram below zero. But that would mean thin line and for the downswing ditto. Is this what you mean? I might give that a try one of these day's I think it's a nice addition, however on first sight it loks like that it hardly ever happens the thin line. Wessel Quote:
Last edited by Wessel; 04-02-2008 at 02:17 PM.
|
|
|
|
|
|
|
#7 | |
|
Senior Member
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
|
Quote:
The second part was just an additional idea to have the shade of the red or blue change depending on whether the signal is above or below the center line. This could indicate different things depending on the settings of the MACD. Here is a crude picture to help illustrate the point: http://shup.com/Shup/33800/macd3.jpg |
|
|
|
|
|
|
#8 | |
|
Member
|
Ah I get your point. Sounds like an interesting Idea. I'll have a look at it.
Wessel Quote:
|
|
|
|
|
|
|
#9 |
|
Member
Join Date: Aug 2007
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
|
Is there an indicator available that would color the MACD lines red when sloping downward, blue when sloping upward and yellow when flat? I use the DoubleMA indicator to color EMA lines this way, but it doesn't seem to work on the MACD lines. The modified MACD histogram is also useful, thank you.
|
|
|
|
|
|
#10 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
It is possible to code such an indicator with NinjaScript, but I am unsure if one is already released.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Jul 2007
Posts: 176
Thanks: 0
Thanked 0 times in 0 posts
|
Hi there,
Good work on this indicator. I was wondering if it would be possible to also plot a black line to follow along with the histogram bars too, kinda like the CCI line and bars? If so, How? Maybe you could make a change to this one or someone could post some code for how to do it...Thanks. Also, along the lines of Elliot Wave's idea...maybe you could plot the color changes right to the zeroline. Just a thought. Thanks |
|
|
|
|
|
#12 |
|
Member
Join Date: Nov 2006
Location: , ,
Posts: 51
Thanks: 0
Thanked 1 time in 1 post
|
Ok .. What if someone can make this MACD a next bar (range bars) projector as it is on Woodies CCI.
|
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Feb 2008
Posts: 177
Thanks: 0
Thanked 0 times in 0 posts
|
hi dwalls,
a really easy way i do this (ploting a line on a bar-/histogramm-style-plot) is to insert a second time the same indicator in the same panel in "line-style" - well - not the smartest way but this does the thing - fast and without having to change every needed indicator-code. ![]() max-td
Last edited by max-td; 10-19-2008 at 11:34 PM.
|
|
|
|
|
|
#14 | |
|
Junior Member
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
|
|
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Nov 2008
Posts: 194
Thanks: 4
Thanked 2 times in 2 posts
|
hi this is great but what do i do with the zip file ,how do i get it into ninja
iv never done this before.thanks |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Colored Support and Resistance Zones | CarlosAlberto | Indicator Development | 20 | 01-28-2009 07:33 AM |
| Double EMA Multi Colored | Rollins | NinjaScript File Sharing Discussion | 14 | 01-13-2009 07:18 AM |
| Indicator: Multi-Colored Plots | NinjaTrader_Josh | Reference Samples | 0 | 09-06-2007 01:28 PM |
| Multi Colored plots. | higler | General Programming | 6 | 05-10-2007 12:05 PM |
| Bad Ticks | nicko9 | Miscellaneous Support | 1 | 01-24-2007 12:29 AM |