StockFetcher Forums · Filter Exchange · The pullback method by Carr<< >>Post Follow-up
sammyn
81 posts
msg #141418
Ignore sammyn
modified
1/26/2018 12:48:25 PM

So, I’m reading “Trend Trading for a Living” by Carr. In it, he talks about a pullback method, and I thought I would try coding it in SF.

Here are his rules:
Identify a stock that has pulled back to an up sloping 20MA or 50MA.

20MA is rising, and is above the 50MA

The stochastics (5,3 period) is to or below the oversold 20 line.

Average Volume(60)> 500000

Close is > 15

Close is < than Close 5 days ago * 1.15

Below is my SF code.

Let me know if anyone has any tweaks to add. Would love your feedback.

Thanks!
Fetcher[





MA(50) is above 15

stochastic %K(5,1,3) crossed below 25 in the past 5 days
and low has been above the MA(50) for the last 30 days
MA(20) has been above the MA(50) for the last 30 days
close is above MA(50)
close is below close 5 days ago * 1.15
close is above open
close is above MA(50)

Average Volume(60) is above 500000
Volume is above Average Volume(60)




]





mahkoh
1,065 posts
msg #141424
Ignore mahkoh
1/26/2018 4:10:55 PM

You cannot use multiple calculations in one sentence of code

Close is < than Close 5 days ago * 1.15

should be

set{x, close 5 days ago * 1.15}
close below x

sammyn
81 posts
msg #141425
Ignore sammyn
modified
1/26/2018 5:10:07 PM

Thank you. I did not know that. Here is the updated code

Fetcher[
close is above 15

stochastic %K(5,1,3) crossed below 25 in the past 5 days
and low has been above the MA(50) for the last 30 days
MA(20) has been above the MA(50) for the last 30 days
close is above MA(50)

set{x, close 5 days ago * 1.15}
close below x

close is above open
close is above MA(50)

Average Volume(60) is above 500000
Volume is above Average Volume(60)


]



novacane32000
331 posts
msg #141463
Ignore novacane32000
1/28/2018 5:51:14 PM

Thanks Sam

Here is the pullback filter I have on file

Fetcher[20 day slope of the close is above 0
and rsquared(close,45) is above 0.50
and stderr(close,45) is below 0.25
and add column stderr(close,45)
and close is above 5.00
and average volume(30) is above 250000
and stock closed below ema (8)
]



miketranz
956 posts
msg #141467
Ignore miketranz
1/28/2018 9:17:16 PM

Fetcher[Show stocks where RSI(2) crossed below 20 within the last 1 day
and average volume(30) is above 50000
add column corr(fmi,80,close) is above 0.85
add column corr(fmi,200,close) is above 0.7
sort on column 5 descending
]




Ruaquik1
5 posts
msg #141470
Ignore Ruaquik1
1/28/2018 11:00:35 PM

Hi Miketranz,

Could you please explain why you sort column 5 (Correlation FMI 200) by descending? Does this mean the lower the FMI 200 number, the better candidate it is for a possible trade?

Thank you for sharing!


miketranz
956 posts
msg #141511
Ignore miketranz
1/29/2018 8:22:54 PM

Ruaquik,I tweeked the filter for deeper pullbacks,plus added MA's.I like to enter when or if price crosses back over from below.
Fetcher[Show stocks where RSI(2) crossed below 15 within the last 1 day
and average volume(30) is above 50000
add column corr(fmi,80,close) is above 0.85
add column corrfmi,200,close) is above 0.7
and draw MA (50)and draw MA (25) and draw MA (9)
]



StockFetcher Forums · Filter Exchange · The pullback method by Carr<< >>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.