StockFetcher Forums · Filter Exchange · Ema(10) and Upper Bollinger Band(20,0.25) - Bullish filter.<< >>Post Follow-up
Mactheriverrat
3,132 posts
msg #151960
Ignore Mactheriverrat
modified
4/29/2020 3:01:45 PM

UPDATED Code 4-30-2020 @ 9:30 C.S.T.

1st filter is ema(10) crossed above upper Bollinger Band(20,0.25)

Submit
Fetcher[
/* Trigger is when the EMA 10 cross's above upper Bollinger Band(20,0.25). Then watch as the upper Bollinger Band(20,0.25) turns to the upside as Bollinger Band(20,2) expand in a uptrend move. RSI(14) above 50.00 and MACD Fast Line(12,26,9) shows strength.

The e10abovebb20 column shows how many days ema 10 is above upper Bollinger Band(20,0.25)

Price may not go up every day but its the change to a uptrend here were wanting to catch.
*/


show stocks where ema(10) crossed above upper Bollinger Band(20,0.25)
chart-time is 5 months
draw median Bollinger Band(20,0.25)
draw Upper Bollinger Band(20,2)
Market is not otcbb
market is not etf
volume is above 50000
add column industry
and Average Day Range(30) is above 4.00
add column Average Day Range(30)
do not draw Average Day Range(30)

*/ e13bb20 is number of consecutive days ema(10) above (+)/below(-) previous Upper Bollinger Band(20,0.25)) */
set{e10bb20b,days( ema(10) is above Upper Bollinger Band(20,0.25),250)}
set{e10bb20a,days( ema(10) is below Upper Bollinger Band(20,0.25) ,250)}
set{e10abovebb20, e10bb20a - e10bb20b} and add column e10abovebb20 {e10abovebb20}



Set{cntema10crossaboveebb20,count( ema(10) > Upper Bollinger Band(20,0.25) ,1)}
draw cntema10crossaboveebb20

Set{cntema10crossaboveebb20b,count( ema(10) < Upper Bollinger Band(20,0.25) ,1)}

draw cntema10crossaboveebb20b

draw RSI(14) line at 50.00
draw RSI(14) line at 70.00
draw MACD Fast Line(12,26,9)


]



2nd filter is ema(10) is above upper Bollinger Band(20,0.25)


Submit
Fetcher[
/* Trigger is when the EMA 10 cross's above upper Bollinger Band(20,0.25). Then watch as the upper Bollinger Band(20,0.25) turns to the upside as Bollinger Band(20,2) expand in a uptrend move. RSI(14) above 50.00 and MACD Fast Line(12,26,9) shows strength.

The e10abovebb20 column shows how many days ema 10 is above upper Bollinger Band(20,0.25)

Price may not go up every day but its the change to a uptrend here were wanting to catch.*/


show stocks where ema(10) is above upper Bollinger Band(20,0.25)
chart-time is 5 months
draw median Bollinger Band(20,0.25)
draw Upper Bollinger Band(20,2)
Market is not otcbb
market is not etf
volume is above 50000
add column industry
and Average Day Range(30) is above 4.00
add column Average Day Range(30)
do not draw Average Day Range(30)

*/ e13bb20 is number of consecutive days ema(10) above (+)/below(-) previous Upper Bollinger Band(20,0.25)) */
set{e10bb20b,days( ema(10) is above Upper Bollinger Band(20,0.25),250)}
set{e10bb20a,days( ema(10) is below Upper Bollinger Band(20,0.25) ,250)}
set{e10abovebb20, e10bb20a - e10bb20b} and add column e10abovebb20 {e10abovebb20}



Set{cntema10crossaboveebb20,count( ema(10) > Upper Bollinger Band(20,0.25) ,1)}
draw cntema10crossaboveebb20

Set{cntema10crossaboveebb20b,count( ema(10) < Upper Bollinger Band(20,0.25) ,1)}

draw cntema10crossaboveebb20b

draw RSI(14) line at 50.00
draw RSI(14) line at 70.00
draw MACD Fast Line(12,26,9)


]



Cheese
1,374 posts
msg #151961
Ignore Cheese
4/29/2020 3:53:41 PM

Thank you, Mac.
Very kind of you.

Many picks (some airlines currently) look sick even though they satisfy the conditions.
Any suggestions to make safer picks, and any code for signals while we wait for BB to expand and climb?

Mactheriverrat
3,132 posts
msg #151963
Ignore Mactheriverrat
modified
4/29/2020 5:13:39 PM

I kind of look for a squeeze then the breakout on the Upper and lower Bollinger Band(20,2) like
BLUE


SAVE


BBBY


SDC


Price may not go up every day but its the change to a uptrend here were wanting to catch.

Cheese
1,374 posts
msg #151965
Ignore Cheese
4/29/2020 6:00:44 PM

Thanks again, Mac

Mactheriverrat
3,132 posts
msg #151968
Ignore Mactheriverrat
4/29/2020 11:03:58 PM

You Welcome Cheese.

JoeyVinyl
125 posts
msg #152001
Ignore JoeyVinyl
modified
4/30/2020 7:18:53 PM

Okay, I'm confused (and not by the typo - you have */ where you should have /*).

*/ e13e26 is number of consecutive days ema(13) above (+)/below(-) previous eMA(26) */
set{e13e26b,days( ema(10) is above Upper Bollinger Band(20,0.25),250)}
set{e13e26a,days( ema(10) is below Upper Bollinger Band(20,0.25) ,250)}
set{e10abovebb20, e13e26a - e13e26b} and add column e10abovebb20 {e10abovebb20}

You're saying this section is counting the times the EMA(13) crossed over or under the EMA(26), but your set statements are using the EMA(10) and the BBs. It's the same for your other set statements that come after this section. I get having the EMA(10) cross the upper BB is part of the trigger, but where do the EMA's 13 and 26 come in?

Also, you're subtracting the number of days that it's over the upper BB from the number of days that it's under the upper BB to get the number of says it was over. Doesn't your first set statement there give you that or am I missing something else there?

Mactheriverrat
3,132 posts
msg #152005
Ignore Mactheriverrat
modified
4/30/2020 9:35:46 PM

You are correct Joey -

I had the count code right but not the full code. My bad.
I have updated the code in the first post.

All should look right now.

Thank Joey for the heads up.

Mactheriverrat.

Sometimes I get ahead of myself.

JoeyVinyl
125 posts
msg #152014
Ignore JoeyVinyl
5/1/2020 4:56:08 PM

No worries, Mac. I think we all do that.

Mactheriverrat
3,132 posts
msg #152088
Ignore Mactheriverrat
5/7/2020 2:19:13 PM

Still a good filter Ema(10) and Upper Bollinger Band(20,0.25) trigger
also Karennma 317 trigger.

Iv'e been messing with a ema10 cross trigger of ma20 as a trigger.

All are great triggers.

IMHO.

StockFetcher Forums · Filter Exchange · Ema(10) and Upper Bollinger Band(20,0.25) - Bullish filter.<< >>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.