StockFetcher Forums · Filter Exchange · SCRT - StockCharts Technical Rank<< >>Post Follow-up
snappyfrog
653 posts
msg #160636
Ignore snappyfrog
11/5/2023 10:01:54 AM

A search of the forums didn't bring up anything.

Anyone willing to take this on?
https://school.stockcharts.com/doku.php?id=technical_indicators:sctr



Long-Term Indicators (weighting)
--------------------------------

* Percent above/below 200-day EMA (30%)
* 125-Day Rate-of-Change (30%)

Medium-Term Indicators (weighting)
----------------------------------

* Percent above/below 50-day EMA (15%)
* 20-day Rate-of-Change (15%)

Short-Term Indicators (weighting)
---------------------------------

* 3-day slope of PPO(12,26,9) Histogram/3 (5%)
* 14-day RSI (5%)

xarlor
562 posts
msg #160637
Ignore xarlor
modified
11/5/2023 1:32:56 PM

This was my attempt. Had to add some limits since StockFetcher was doing some weird stuff with gaps.

I'm running the StockCharts comparison with the ETF market. Doesn't match the real SCTR exactly, but it's close enough in that the top ones on SCTR are more or less the top ones in this filter, though in different orders. It's a start at least.

Fetcher[
chart-time 6 months
market etf

/* Long-Term Indicators (weighting) */

set{LT11,close / ema(200)}
set{LT12,1 - LT11}
set{LT121,LT11 - 1}
set{LT13,count(LT12 >= 1.000,1)}
set{LT14,LT12 * LT13}
set{LT15,count(LT12 < 1.000,1)}
set{LT16,LT121 * LT15}
set{LT17,LT14 + LT16}
set{LT18,LT17 * 100}

set{LT1,LT18 * .3}

set{LT21,ROC(125,0)}

set{LT2,LT21 * .3}

/* Medium-Term Indicators (weighting) */

set{MT11,close / ema(50)}
set{MT12,1 - MT11}
set{MT121,MT11 - 1}
set{MT13,count(MT12 >= 1.000,1)}
set{MT14,MT12 * MT13}
set{MT15,count(MT12 < 1.000,1)}
set{MT16,MT121 * MT15}
set{MT17,MT14 + MT16}
set{MT18,MT17 * 100}

set{MT1,MT18 * .15}

set{MT21,ROC(20,0)}
set{MT2,MT21 * .15}

/* Short-Term Indicators (weighting) */

set{ST11,3 day slope of PPO(12,26,9) / 3}

set{ST12,count(ST11 > .001,1)}
set{ST13,ST12 * 5}

set{ST14,count(ST11 between -0.001 and 0.001,1)}
set{ST15,ST11 + 1}
set{ST16,ST15 * 50}
set{ST17,ST16 * .05}
set{ST18,ST17 * ST14}

set{ST1,ST13 + ST18}

set{ST2,RSI(14) * .05}

/* Get SCTR rank by adding all 6 indicators */

set{SCTR1,LT1 + LT2}
set{SCTR2,SCTR1 + MT1}
set{SCTR3,SCTR2 + MT2}
set{SCTR4,SCTR3 + ST1}
set{SCTR,SCTR4 + ST2}

ROC(125) < 100
count(close-to-open gap < 50,125) equals 125

add column SCTR

draw ema(200)
draw ema(50)
do not draw close-to-open gap

sort by column 5 descending
]



snappyfrog
653 posts
msg #160638
Ignore snappyfrog
modified
11/5/2023 5:55:21 PM

Yes, this is a great start. Looks like it is close to pushing the limits on the basic subscription. The
SCRT goes from 0 to 100 and they recommend looking at stocks moving from 50 and climbing.
The same can be done with this using 0 as the 50 line that they use. Thanks!!

StockFetcher Forums · Filter Exchange · SCRT - StockCharts Technical Rank<< >>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.