StockFetcher Forums · Filter Exchange · Graphical Pivot Plotter for Close above PP, R1, R2<< >>Post Follow-up
roncarn
21 posts
msg #36478
Ignore roncarn
6/26/2005 2:38:32 PM

I had posted a filter (forgot to add a title to the note) that counted closes above PP, R1 and R2. TheRumpledOne added a counter to sort the results so the strongest results would rise to the top.

I've since added a graphical view of this. If you click on one of the stocks to bring up the chart you will see the S2, S1, PP, R1, R2 waveforms plotted on the candlestick chart. I've customized the chart-time to be 10 days so the plot doesn't look 'crowded' with all those lines on it. I had trouble finding the correct verbage to add yesterdays pivots to the top chart. Turns out the name of the top chart is 'CLOSE'.

Fetcher[
/* In the last 10 days how many days has the stock closed
above the PP, R1 and R2. Look for stocks that have a high percentage of closing above the Pivots. Plot Pivot waveforms on 10 day chart */

set{cupp, close > pp from 1 day ago}
set{cur1, close > r1 from 1 day ago}
set{cur2, close > r2 from 1 day ago}

/* change 10 to any number of days you want */
set{cupp_10, count(cupp > 0,9)}
set{cur1_10, count(cur1 > 0,9)}
set{cur2_10, count(cur2 > 0,9)}

set{r1x, cur1_10 * 10}
set{r2x, cur2_10 * 100}

set{R1PP, cupp_10 + r1x}
set{R2R1PP, R1PP + r2x}

add column R2R1PP
add column cupp_10
add column cur1_10
add column cur2_10

volume above 100000
and close above .20
and close below 8.00

sort column 5 descending

show stocks where R2R1PP > 300

and do not draw bollinger(20)
and do not draw ema(13)
and do not draw ma(20)

/* Yesterday's Pivots are plotted on today's closing price */

set {YS2, S2 from 1 day ago}
set {YS1, S1 from 1 day ago}
set {YPP, PP from 1 day ago}
set {YR1, R1 from 1 day ago}
set {YR2, R2 from 1 day ago}

/* This gave me the most trouble. Look at wording. Finally figured out that the 'draw on' command need the name of the top chart which turned out to be 'CLOSE'. Had to read between the lines in the SF manual see that. */

and draw YS2 on plot CLOSE
and draw YS1 on plot CLOSE
and draw YPP on plot CLOSE
and draw YR1 on plot CLOSE
and draw YR2 on plot CLOSE

/* Customize Chart time to 10 days */
and CHART-TIME is 10 days
]



ron_xlii




roncarn
21 posts
msg #36479
Ignore roncarn
6/26/2005 2:54:20 PM

Chart-time command didn't get through. Try it this time:

Fetcher[
/* In the last 10 days how many days has the stock closed
above the PP, R1 and R2. Look for stocks that have a high percentage of closing above the Pivots. Plot Pivot waveforms on 10 day chart */

set{cupp, close > pp from 1 day ago}
set{cur1, close > r1 from 1 day ago}
set{cur2, close > r2 from 1 day ago}

/* change 10 to any number of days you want */
set{cupp_10, count(cupp > 0,9)}
set{cur1_10, count(cur1 > 0,9)}
set{cur2_10, count(cur2 > 0,9)}

set{r1x, cur1_10 * 10}
set{r2x, cur2_10 * 100}

set{R1PP, cupp_10 + r1x}
set{R2R1PP, R1PP + r2x}

add column R2R1PP
add column cupp_10
add column cur1_10
add column cur2_10

volume above 100000
and close above .20
and close below 8.00

sort column 5 descending

show stocks where R2R1PP > 300

and do not draw bollinger(20)
and do not draw ema(13)
and do not draw ma(20)

/* Yesterday's Pivots are plotted on today's closing price */

set {YS2, S2 from 1 day ago}
set {YS1, S1 from 1 day ago}
set {YPP, PP from 1 day ago}
set {YR1, R1 from 1 day ago}
set {YR2, R2 from 1 day ago}

/* This gave me the most trouble. Look at wording. Finally figured out that the 'draw on' command need the name of the top chart which turned out to be 'CLOSE'. Had to read between the lines in the SF manual see that. */

and draw YS2 on plot CLOSE
and draw YS1 on plot CLOSE
and draw YPP on plot CLOSE
and draw YR1 on plot CLOSE
and draw YR2 on plot CLOSE

and CHART-TIME is 10 days
]



Amazing, I had to remove the last comment to get the last line to execute.

Ron




roncarn
21 posts
msg #36480
Ignore roncarn
6/26/2005 2:57:08 PM

Just want to clarify. The comment before the last line works if you execute it outside of Fetcher and the Forum. When I posted it to the Forum the last line was cut off if the comment was in front of it.

Ron



TheRumpledOne
6,411 posts
msg #46571
Ignore TheRumpledOne
8/24/2006 2:28:15 PM

pop to the top


StockFetcher Forums · Filter Exchange · Graphical Pivot Plotter for Close above PP, R1, R2<< >>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.