StockFetcher Forums · Filter Exchange · oh my god-this is crazy- how to know exactly the rsi-2 tops and bottoms<< 1 2 >>Post Follow-up
drew9
171 posts
msg #84698
Ignore drew9
12/19/2009 1:32:57 PM

Thanks machismo for the link to ADVFN. It could be interesting to monitor this!


Kevin_in_GA
4,599 posts
msg #84702
Ignore Kevin_in_GA
12/19/2009 4:30:31 PM

Here is my next attempt at separating out the UP volume and DOWN volume. I had to use more of the price data to do this, rather than have a purely volume-driven output, but until SF can get this as a part of their toolset, this is the best I can do right now.

Fetcher[

/*START BY BREAKING UP CANDLE PATTERN INTO UP AND DOWN "PRESSURE"*/
set{direction, close - open}
set{maxpressure, high - low}
set{pressure, abs(direction)}
set{uppressure, high - open}
set{downpressure, open - low}

/*DETERMINE IF DAY ENDS UP HOLLOW (UP) OR FILLED (DOWN)*/
set{filled, count(direction < -0.0,1)}
set{hollow, count(direction > 0.01,1)}

/*ASSIGN UP AND DOWN PRESSURE COMPONENTS - HOLLOW CANDLE GETS EXTRA UP PRESSURE, FILLED CANDLE GETS EXTRA DOWN PRESSURE*/
set{redprice, filled * pressure}
set{greenprice, hollow * pressure}

set{redpressure, redprice + downpressure}
set{greenpressure, greenprice + uppressure}

set{redpct, redpressure / maxpressure}
set{greenpct, greenpressure / maxpressure}

/*MULTIPLY UP AND DOWN PRESSURE PERCENTAGES BY DAILY VOLUME*/
set{redvolume, redpct * volume}
set{greenvolume, greenpct * volume}

/*EMA(20) OF BOTH UP AND DOWN VOLUME TO SMOOTH DATA*/
set{redMA, CEMA(redvolume,20)}
set{greenMA, CEMA(greenvolume,20)}
set{oscillator, greenMA - redMA}
set{null,0}

draw oscillator
draw redMA on plot null
draw greenMA on plot null

symlist(spy,dia,qqqq,iwm,gld,slv)

]



This is pretty good at picking up the trends, and in getting you out as the price flattens near the top.

moby
314 posts
msg #84713
Ignore moby
12/20/2009 12:49:59 PM

Wow Kevin, Your coding is quite awesome. That filter show's some very amazing results. Cheers!

Stachisimon
1 posts
msg #137552
Ignore Stachisimon
8/10/2017 9:43:05 PM

Can you explain exactly what this filter does?

DBFETCH
2 posts
msg #139564
Ignore DBFETCH
11/28/2017 3:36:43 PM

Hi Kevin, Very interesting way to decipher volume. Any thoughts on why the total volume you compute does not match the standard volume as charted by the platform. Is it because of the CMA you use that the actual numbers don't add up, for instance red + green should equal total and total should equal the actual volume as shown on a typical "standard" chart, right? Also, in most cases total volume as you compute it is less than the volume shown on a Chart+ of the same symbol. Any insight you have would be greatly appreciated. Thank you. --Dave

StockFetcher Forums · Filter Exchange · oh my god-this is crazy- how to know exactly the rsi-2 tops and bottoms<< 1 2 >>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.