StockFetcher Forums · Filter Exchange · Attn: XARLOR (or anyone) - I never learned Boolean ... << 1 2 >>Post Follow-up
karennma
7,814 posts
msg #151993
Ignore karennma
modified
4/30/2020 3:35:12 PM

Look at this one:
See those red* cubes on the chart? (*blue cubes?)
On the LEFT it says:
"cnt317"
and
"cnt317b"

Fetcher[
apply to symlist(AAPL, AMZN )
draw ema(3)
draw ema(17)
draw ma(20)
* 317 is number of consecutive days ema(3) above (+)/below(-) previous EMA(17) */
set{317b,days( ema(3) is above EMA(17) ,250)}
set{317a,days( ema(3) is below EMA(17) ,250)}
set{317, 317a - 317b} and add column 317 {317}
do not Draw 317
draw Upper Bollinger Band(20,2)
draw Bollinger Width(20,2.0) line at 6 month low
Set{cnt317,count( eMA(3) > eMA(17) ,1)}
draw cnt317

Set{cnt317b,count( eMA(3)< EMA(17) ,1)}

draw cnt317b
draw ift(8,7) line at 0.00
draw ift(8,3) line at -0.90
draw ift(8,3) line at 0.90
]

Cheese
946 posts
msg #151994
Ignore Cheese
modified
4/30/2020 3:52:01 PM

Are you looking for something like this?
Fetcher[
apply to symlist(AAPL, AMZN )
draw ema(3)
draw ema(17)
draw ma(20)
/* add column Average Volume(30) */
/* 317 is number of consecutive days ema(3) above (+)/below(-) previous EMA(17) */
set{317b,days( ema(3) is above EMA(17) ,250)}
set{317a,days( ema(3) is below EMA(17) ,250)}
set{317, 317a - 317b} and add column 317 {317}
do not Draw 317
draw Upper Bollinger Band(20,2)
draw Bollinger Width(20,2.0) line at 6 month low
Set{cnt317,count( eMA(3) > eMA(17) ,1)}
draw cnt317

Set{cnt317b,count( eMA(3) < EMA(17) ,1)}

draw cnt317b
draw ift(8,7) line at 0.00
draw ift(8,3) line at -0.90
draw ift(8,3) line at 0.90

chart-time 5 months
set{blue,0}
set{cnt317green, cnt317}
set{cnt317red, cnt317b}
draw cnt317red on plot blue
draw cnt317green on plot blue

]

karennma
7,814 posts
msg #151996
Ignore karennma
4/30/2020 6:07:34 PM

@ Cheese,
Actually, that criss-cross graph at the bottom of the charts IS interesting!
Thanks for that.
Very useful.

karennma
7,814 posts
msg #151997
Ignore karennma
4/30/2020 6:19:34 PM

@ Cheese,
Oh yeah!
That BUY/SELL column is VERY useful.
Thank You!

karennma
7,814 posts
msg #151998
Ignore karennma
4/30/2020 6:41:12 PM

@ Cheese,
The only thing I don't understand is that column "317".
What's that for?
Or more importantly, what do the #s under the "317" column represent?
TIA.

Cheese
946 posts
msg #152002
Ignore Cheese
4/30/2020 8:33:02 PM

#karennma
Firstly, I think the code you show might have come from Mac.
According to a comment in that filter, the variable "317" is the number of consecutive days ema(3) above (+)/below(-) previous EMA(17)
But there is no statement in the filter to add a column for "317", so why the column shows up is either a bonus or a mystery.

 boston52 postsmsg #152004- Ignore boston 4/30/2020 9:19:42 PMthe add column 317 is in line 9 of the filter
Cheese
946 posts
msg #152007
Ignore Cheese
4/30/2020 9:54:01 PM

I see it now. Thanks, boston.

Mactheriverrat
2,513 posts
msg #152087
Ignore Mactheriverrat
5/7/2020 2:15:15 PM

@karennma

That 317 cross is a great cross to go buy. Now with the markets being volatile like they are its down for a couple of days then up for a couple of days.

Even the Average day ranges are way off from normal as a lot of stocks are way beyond their normal average day ranges.

Cheese
946 posts
msg #152741
Ignore Cheese
6/23/2020 11:31:21 PM

pop

 StockFetcher Forums · Filter Exchange · Attn: XARLOR (or anyone) - I never learned Boolean ... << 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.