|
|
|
|
|||||||
| Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL. |
![]() |
| Bookmarks | |||||||
del.icio.us
|
StumbleUpon
|
Google
|
Digg
|
Facebook
|
Furl
|
Reddit
|
Netscape
|
|
|
LinkBack (3) | Release Tools | Display Modes | Language |
|
Volume Gradient + Heikin Ashii Trend Indicator
Developer Last Online: May 2008
In the spirit of the current interest in volume-based indicators, I wrote this TradeStation hybrid of Volume Gradient and Heikin Ashii Trend. It will create a chart with two distinct ranges of colors. One color range, defaulted to green, indicates an uptrend--the other, defaulted to red, indicates a downtrend. The relative darkness of each color reflects the amount of volume in a particular bar relative to a previous sample average. The number of bars in the sample both for determining the trend and the average volume is the same and is set by the input parm Length.
Since PlotPaintBar takes RGB color numbers, to provide the full range of colors, the inputs to this indicator allow a completely customizable red, green and blue setting for each end of each color range. For example, UpHR = The uptrend, high volume red component, UpHG = the uptrend, high volume green component, and so forth. DnLB = the downtrend, low volume blue component, and so forth. You can use any typical Windows color selection dialog box to select colors and find out the Reg, Green, Blue component numbers for the color. (See the sample picture.) I suggest using washed-out colors for the low volume colors and rich colors in the same basic color for the high volume colors. For example, faded pink to deep red. But of course you can do whatever makes sense to you and looks good to your eye. (Note that the algorithm used for determining trend is not exactly the same as TTM trend, but the results are pretty much the same.) Hope this helps! |
||||||||||||
|
Show Your Support
|
||||||||||||
|
|
||||||||||||
|
By
Soultrader
on
03-19-2007, 01:08 AM
|
|
Re: Volume Gradient + TTM Trend Indicator
Thank you GCB for your contribution. I will check this out.
![]() |
|
By
Robert2617
on
03-22-2007, 01:13 AM
|
|
Re: Volume Gradient + TTM Trend Indicator
You have had a great idea... Thanks!
I wonder if there would be a way to show the volume like a thermometer on each candle? If you could use up volume on all candles but show it like water in a drinking glass? The difference would be down volume. That would be special. |
|
By
Robert2617
on
03-22-2007, 09:15 PM
|
|
Re: Volume Gradient + TTM Trend Indicator
Your trading platform should have a toggle button. TS's toggle is at the top right.
|
|
By
GCB
on
03-22-2007, 10:42 PM
|
|
Re: Volume Gradient + TTM Trend Indicator
Guys,
Thanks for your interest in this indicator. Here's a new version. It adds an input that allows you turn off the trend indicator and just paint normal up and down bars albeit with the volume shadings. Also, IMPORTANT, I discovered that for the colors to show consistent density they must parallel each other. This is hard to explain, but if you look at the settings below you can see what I mean. UpHR(0), UpHG(135), UpHB(0), UpLR(205), UpLG(255), UpLB(205), DnHR(135), DnHG(0), DnHB(0), DnLR(255), DnLG(205), DnLB(205); Without this you will have problems with similar relative volumes showing inconsistent shading between the up and the down versions. Please note that you have to delete the indicator and re-add it after installing the new version or it will use your old color settings. |
|
|
|
By
Robert2617
on
03-23-2007, 12:07 AM
|
|
Re: Volume Gradient + TTM Trend Indicator
GCB, just so I understand how to use this correctly, the winner of the up/down volume battle gets the candle. And... if the winner won the candle overwhelmingly, the color is darker. Light color for a close call.
Is that correct? I think I like it better without the trend. You have done a great job with this. Two thumbs up! |
|
By
GCB
on
03-23-2007, 12:31 AM
|
|
Re: Volume Gradient + TTM Trend Indicator
Robert,
Thanks very much. Actually, the way it works is this: If the candle is an up candle--that is the close (or current) price is greater than open price--then the density of the candle color is based upon the amount of up volume for that candle relative to the average of up volume for the preceding n candles, where n is set by the VolLength input. Vice versa for down. So up volume is only compared to up volume, and down is only compared to down. So if an up candle is dark it means it had quite a bit more up volume than the average of the preceding n candles' up volume. Since each candle gains volume as it is being formed you will not know the end color of a candle until either it reaches its darkest possible color or the next candle begins. Practically all candles start out light colored. When the trend indicator is in an uptrend all candles are green, whether they are up or down candles, and in a downtrend all candles are red. Even so, up candle volume is only compared to the average of up volume, and vice versa. The PriceLength input is used to determine the moving average for the trend determination. Note also that this can only be used on intraday charts. Daily charts or larger do not differentiate between up and down volume on TS. |
|
By
Robert2617
on
03-23-2007, 01:04 AM
|
|
Re: Volume Gradient + TTM Trend Indicator
Excellent.
You said PriceLength is used to determine the moving average for the trend. May be a dumb question but how does that work? Does this mean we can adjust the sensitivity, i.e. when the trend bars change color? I was looking at a few volume "share bar" candle charts with this indicator. It appears to be working correctly with those too. Also I was thinking that your above explanation would be good to include inside the eld. Maybe a little credit for yourself too. Nothing wrong with putting your name on your work. |
![]() |
LinkBacks (?)
LinkBack to this Thread: http://www.traderslaboratory.com/forums/f46/volume-gradient-heikin-ashii-trend-indicator-1438.html
|
|||
| Posted By | For | Type | Date |
| jadedragon's bookmarks tagged with | This thread | Refback | 01-24-2008 01:01 AM |
| jadedragon's bookmarks on del.icio.us | This thread | Refback | 01-14-2008 01:56 PM |
| Traders Laboratory | This thread | Refback | 03-20-2007 02:30 PM |
| Currently Active Users Viewing This Release: 1 (0 members and 1 guests) | |
| Release Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Release | Release Starter | Category | Comments | Last Post |
| Heikin Ashi Trend Indicator | Soultrader | Trading Indicators | 25 | 02-21-2008 06:24 PM |
| Add-on For Heikin Ashii and Volume Delta | Soultrader | Trading Indicators | 22 | 12-11-2007 09:01 AM |
| Heiking Ashii & Volume Delta Add On Version 2 | Soultrader | Trading Indicators | 5 | 09-03-2007 01:39 PM |
| Retest on Lower Volume with Volume Gradient | walterw | Technical Analysis | 0 | 03-18-2007 03:16 PM |
| Volume Gradient | walterw | Trading Indicators | 0 | 03-18-2007 01:41 PM |