StockFetcher Forums · Filter Exchange · CCI(14) Filter Need help<< >>Post Follow-up
thambav44
19 posts
msg #158253
Ignore thambav44
12/27/2021 10:53:43 PM

hello,

I am looking for a CC1(14) filter that could detect stocks or ETFs similar to the one shown below for AAPL on 12/21(december 21, 2021).

This is a pattern where CCI(14) was trading above 100 and then briefly dipped below zero and then climbed above zero indicating bullishness.

https://imagizer.imageshack.com/img923/1371/nLn2MY.jpg
Thanks for your help.

thambav44
19 posts
msg #158254
Ignore thambav44
12/27/2021 11:10:41 PM

The image did not load previously. trying again

https://imageshack.com/i/pnnLn2MYj

thambav44
19 posts
msg #158255
Ignore thambav44
12/27/2021 11:18:40 PM



thambav44
19 posts
msg #158256
Ignore thambav44
12/27/2021 11:20:09 PM

on the above chart, I am interested in detecting pattern on December 21st, as shown by N using CC1(14). Thank you again and pardon my ignorance on posting the chart.

thambav44
19 posts
msg #158257
Ignore thambav44
12/27/2021 11:29:42 PM



redversa721
157 posts
msg #158258
Ignore redversa721
12/28/2021 5:27:06 AM

here is a simple one, that was bullish and had a sudden drop and back above 0
Fetcher[
market is ETF
add column cci(14) draw cci(14)
cci(14) > 10 and cci(14) < 50
count(cci(14) < -10,3) > 0
count(cci(14) > 20,30) > 15
]




IknowIcanchange
9 posts
msg #158260
Ignore IknowIcanchange
modified
12/28/2021 7:43:57 AM

CCI
Commodity Channel Index (CCI) is a technical indicator that measures the difference between the current price and the historical average price. When the CCI is above zero, it indicates the price is above the historic average. ... The CCI is an unbounded oscillator, meaning it can go higher or lower indefinitely.

thambav44
19 posts
msg #158262
Ignore thambav44
12/28/2021 10:16:46 AM

Thank you reversa. 2 things:
A. I tweaked the filter to include stocks and backtested to Last Tuesday Dec 21st and it did not pull up AAPL?
B. could you please explain what the below syntax does?
count(cci(14) < -10,3) > 0



nibor100
1,044 posts
msg #158263
Ignore nibor100
12/28/2021 10:37:47 AM

@thambav44,

This is close to what you want and it definitely finds AAPL on Dec 21.

Ed S.

Fetcher[
cci(14) 1 day ago < 0
cci(14) > 0
cci(14) 7 days ago greater than 100 /*within last week*/
draw cci(14) line at 0
]



thambav44
19 posts
msg #158269
Ignore thambav44
12/28/2021 3:09:06 PM

perfect!! That is exactly what I was looking for. Thanks Nibor.

StockFetcher Forums · Filter Exchange · CCI(14) Filter Need help<< >>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.