StockFetcher Forums · Public Filter List · Buy or Sell triggers<< 1 2 >>Post Follow-up
Mactheriverrat
3,169 posts
msg #148712
Ignore Mactheriverrat
modified
7/28/2019 5:56:16 PM

Yes! I picked that up from FOUS4 trading video's I brought some years ago. He's more into day trading now but at one time he used the ema13 ( daily charts) and small cap stocks / resistance line breakouts.

stock701
3 posts
msg #161827
Ignore stock701
modified
5/16/2025 8:17:24 AM

I really like this filter. Would there be a way of filtering out stocks that all 3 red rectangles have moved in sync to bullish or bearish? Any help would be greatly appreciated for this newb...
I'd be willing to pay for the modifications @Mactheriverrat

nibor100
1,089 posts
msg #161829
Ignore nibor100
5/17/2025 8:20:57 PM

Assuming you want to filter results so all 3 bullish rectangles are indicating bullish try the filter below, it that is not what you want please clarify.

if you turn back on, the line for apply to symlist, look at the results for apr 9,10,11 and 14 to see how my additions work.

Ed S.

Fetcher[
/*apply to symlist (SPY)*/
draw ema(25)
draw ema(30)
draw ema(35)
draw ema(40)
draw ema(45)
draw ema(50)
add column Average Day Range(30)

Set{cntcmadma1abovecmadma7,count( cma(DMA(7,-5),1) > cma(DMA(7,-5),7) ,1)}
draw cntcmadma1abovecmadma7

Set{cntcmadma1abovecmadma7b,count( cma(DMA(7,-5),1)< cma(DMA(7,-5),7) ,1)}

draw cntcmadma1abovecmadma7b

/* AxA is number of consecutive days cma(DMA(7,-5),1) above (+)/below(-) previous cma(DMA(7,-5),8) */
set{AAb,days( cma(DMA(7,-5),1) is above cma(DMA(7,-5),7) ,250)}
set{AAa,days( cma(DMA(7,-5),1) is below cma(DMA(7,-5),7) ,250)}
set{dmax7, AAa - AAb} and add column dmax7 {dma_x_1over7}
do not Draw AxA


Set{cntcmadma7abovecmadma7,count( cma(DMA(7,-5),7) > cma(DMA(7,-5),7) 1day ago,1)}
draw cntcmadma7abovecmadma7

Set{cntcmadma7abovecmadma7b,count( cma(DMA(7,-5),7)< cma(DMA(7,-5),7) 1day ago,1)}

draw cntcmadma7abovecmadma7b

set{var1, cntcmadma1abovecmadma7 + cntcmadma7abovecmadma7} add column var1


set{E3,dma(7,-5),7)-cma(DMA(7,-5),7) }
set{Fastdma7Longposition, count(E3 > 0,1)}
set{Fastdma7Shortposition, count(E3 < 0,1)}
SET{TRIGGER,0}
draw Fastdma7Longposition on plot
draw Fastdma7Shortposition on plot
draw cma(DMA(7,-5),1)
draw cma(DMA(7,-5),7)
set{var2, var1 + Fastdma7Longposition} add column var2



do not draw dma(7,-5),7)
Chart-time is 6 months
var2 > 2
]





stock701
3 posts
msg #161830
Ignore stock701
5/18/2025 1:41:29 PM

I really appreciate the help nibor100 (Ed)! Sorry, I should have been more specific.

I'm looking for two filters out of this:
1. The first day of the move of the all 3 rectangles from a bearish lower position to the bullish upper position.
2. Exact opposite. Bullish rectangle position and the first day that shows the move of all three to a bearish (lower) position.

Again, really appreciate the help. I am learning but not at the level to make these adjustments myself.

Mactheriverrat
3,169 posts
msg #161831
Ignore Mactheriverrat
5/18/2025 4:49:46 PM

@nibor100
Nice updates

nibor100
1,089 posts
msg #161833
Ignore nibor100
5/20/2025 3:29:16 PM

Here it is showing a day with 3 bear conditions changing to 3 bull conditions. If that is what you are after reverse the last 2 line conditions to do the opposite.
Ed S.

Fetcher[
/*apply to symlist (SPY)*/
draw ema(25)
draw ema(30)
draw ema(35)
draw ema(40)
draw ema(45)
draw ema(50)
add column Average Day Range(30)

Set{cntcmadma1abovecmadma7,count( cma(DMA(7,-5),1) > cma(DMA(7,-5),7) ,1)}
draw cntcmadma1abovecmadma7

Set{cntcmadma1abovecmadma7b,count( cma(DMA(7,-5),1)< cma(DMA(7,-5),7) ,1)}

draw cntcmadma1abovecmadma7b

/* AxA is number of consecutive days cma(DMA(7,-5),1) above (+)/below(-) previous cma(DMA(7,-5),8) */
set{AAb,days( cma(DMA(7,-5),1) is above cma(DMA(7,-5),7) ,250)}
set{AAa,days( cma(DMA(7,-5),1) is below cma(DMA(7,-5),7) ,250)}
set{dmax7, AAa - AAb} and add column dmax7 {dma_x_1over7}
do not Draw AxA


Set{cntcmadma7abovecmadma7,count( cma(DMA(7,-5),7) > cma(DMA(7,-5),7) 1day ago,1)}
draw cntcmadma7abovecmadma7

Set{cntcmadma7abovecmadma7b,count( cma(DMA(7,-5),7)< cma(DMA(7,-5),7) 1day ago,1)}

draw cntcmadma7abovecmadma7b

set{var1, cntcmadma1abovecmadma7 + cntcmadma7abovecmadma7} add column var1
set{varB, cntcmadma1abovecmadma7b + cntcmadma7abovecmadma7b} add column varB

set{E3,dma(7,-5),7)-cma(DMA(7,-5),7) }
set{Fastdma7Longposition, count(E3 > 0,1)}
set{Fastdma7Shortposition, count(E3 < 0,1)}
SET{TRIGGER,0}
draw Fastdma7Longposition on plot
draw Fastdma7Shortposition on plot
draw cma(DMA(7,-5),1)
draw cma(DMA(7,-5),7)
set{var2, var1 + Fastdma7Longposition} add column var2
set{varBear, varB + Fastdma7shortposition} add column varBear


do not draw dma(7,-5),7)
Chart-time is 2 months
varBear 1 day ago > 2
var2 > 2
]



stock701
3 posts
msg #161834
Ignore stock701
5/21/2025 12:39:02 PM

Thank you Ed! When back testing, it does seem like the indications change or there's repainting. What are your thoughts on this? Is there a way to correct this?

StockFetcher Forums · Public Filter List · Buy or Sell triggers<< 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.