StockFetcher Forums · Filter Exchange · Help needed - Accumulation Distribution Normalized - Histogram?<< >>Post Follow-up
kgriffen
49 posts
msg #34107
Ignore kgriffen
11/24/2004 5:28:36 PM

I use the following to "normalize" the Accumulation Distribution so that it can be evaluated across multiple stocks. With 0 being the signal line.

Fetcher[set {opt1, Close - Open}
set {opt2, High - Low}
set {opt3, opt1 / opt2}
set {opt4, opt3 * Volume}
set {ad, sum(opt4,20) / sum(Volume,20)}
ad is greater than 0
draw ad
]



I have two questions, and I have seached the forum for both to no avail:

1. How can I draw a histogram for AD, instead of a line?
2. How can I draw a line at 0 to better highlight the crossovers?

Any help would be appreciated!

Thanks,
kgriffen

P.S. I use the above (AD) in conjunction with the Bollinger "Squeeze" and long term Slow Stohastics to give me a clue to how the "Squeeze" will be resolved. Here is the whole filter for those who are interested:

Fetcher[/* LONG ENTRY - Parameters */
Bollinger Width(20,2) reached a new 6 month low within the last 10 days
Bollinger Width(20,2) is below .21
stochastics %K(20,15,15) is above stochastics %D(20,15,15)
stochastics %K(20,15,15) is below 65
close crossed above Upper Bollinger Band(20,2)
close yesterday was below Upper Bollinger Band(20,2) yesterday
set {opt1, Close - Open}
set {opt2, High - Low}
set {opt3, opt1 / opt2}
set {opt4, opt3 * Volume}
set {ad, sum(opt4,20) / sum(Volume,20)}
ad is greater than 0


/* Variables */
set {b100, Bollinger Width(20,2)*100}

/* Charting */
draw ad

/* Columns */
add column b100 {BBandW}
add column Upper Bollinger(20,2) {UBB}


/* Price Volume Limits */
price is greater than 1.00
volume is greater than 100000
]




yepher
359 posts
msg #34162
Ignore yepher
11/28/2004 3:00:27 PM

kgriffen,

Unfortunately there is no direct support for the way a value is drawn in SF. I have asked for them to expose this feature a few time in the past. It seems there is support for it in the system.

With that said here is an example of how you can get your indicator drawn as a histogram:


http://stockfetcher.com/stockdb/fetcher?p=pchartcsv&isflash=1&sid=7234&eid=7494&charttype=3candle&cp=&P2I1C=1&P2I1T=2&P2I1=^UE9TVEZJWD9OQU1FPWFkJklORD1eVUZKSlEwVkJRMVJKVDA0L1RVOUVSVDAyTnlaSlRrUTlYbFZGT1ZSV1JWcEtWMFE1VDFGVk1VWlFWemwzWkVSUmJWTlZOVVZRVmpWU1RVaG9VVlpVUWxaS2EyeFBVa1F4WlZaRVJrTlNiRkp1U210S1VGVkVNSGhLYTJ4UFVrUXhaVlV3Vm5OVFJrNUNTbXRzVDFKRU1XVldSVlUxVjBOYVExUXhRVGxOVTFwRFZERkJPVTE1V2twVWExRTVXR3hhY2s5Vk1WZFdWRVpIU210S1VGVkVNSGttUkVGWlV6MHlNQSZJTkQ9XlVGSkpRMFZCUTFSSlQwNC9UVTlFUlQwMk55WkpUa1E5WGxack9VMVdWVEZHSmtSQldWTTlNakEmQk9QPTM&P1I0C=0&P1I0T=0&P1I0=VOLUME&w=520&h=435&ph=275&sym=COMS


To use copy and past the link into your web browser.

To view other symbols change "COMS" to the ticker you are interested in.




kgriffen
49 posts
msg #34167
Ignore kgriffen
11/28/2004 10:01:05 PM

Thanks. Wow! I won't even ask how you learned that one! :)

I guess it is really a minor issue, but it would be nice to be able to draw any plot as a histogram.

Thanks again,
kg


StockFetcher Forums · Filter Exchange · Help needed - Accumulation Distribution Normalized - Histogram?<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.