StockFetcher Forums · Filter Exchange · Help with filter please<< >>Post Follow-up
skiiiva
37 posts
msg #82503
Ignore skiiiva
11/5/2009 3:21:32 PM

set{var1, high 1 day ago - close 1 day ago}
set{var2, high 2 day ago - close 2 day ago}
set{var3, high 3 day ago - close 3 day ago}
set{var4, (var1 + var2 + var3) / 3}
set{var5, high - close}

show stocks where var4 > var5



trying to get stocks with larger high to close than the average of the previous 3 days

thanks in advance for any help

chetron
2,817 posts
msg #82522
Ignore chetron
modified
11/5/2009 7:07:16 PM

AGAIN, ONLY ONE MATH OPERATION PER VARIABLE.....

Fetcher[
set{var1, high 1 day ago - close 1 day ago}
set{var2, high 2 day ago - close 2 day ago}
set{var3, high 3 day ago - close 3 day ago}
set{var4A,var1 + var2}
SET{VAR4B,VAR4A + var3}
SET{VAR4,VAR4B / 3}
set{var5,high - close}

show stocks where var4 < Var5
]



THIS IS THE CORRECT ECONOMICAL VERSION.....

Fetcher[

set{var1,high 1 day ago}
SET{VAR1A,close 1 day ago}
SET{VAR1B,VAR1 - VAR1A}
SET{VAR1C,SUM(VAR1B,3)}
set{var2,VAR1C / 3}
set{var5, high - close}

show stocks where var2 < var5

]


SOMETHING WRONG WITH THIS ONE.....

Fetcher[
set{var1,SUM(high 1 day ago - close 1 day ago,3)}
set{var2,VAR1 / 3}
set{var5, high - close}

show stocks where var2 < var5

]





skiiiva
37 posts
msg #82531
Ignore skiiiva
11/5/2009 10:49:52 PM

Thanks Chet

That was the first time i'vs tried to dive into the math functions. Hope i can return the favor one day.

mystiq
650 posts
msg #82975
Ignore mystiq
11/13/2009 6:06:16 AM

*** can anyone code this filter ***

3-day linear regression line below -.9 standard deviations
3-day linear regression line is turning up
the slope of the 23-day linear regression channel is up

(-.-)

chetron
2,817 posts
msg #82976
Ignore chetron
modified
11/13/2009 6:43:25 AM

NO MEASUREMENT CAN EVER GET BELOW IT'S OWN DEVIATION, STANDARD OR BIZARRE. = D

mystiq
650 posts
msg #83014
Ignore mystiq
11/13/2009 2:58:59 PM

...then....

3-day linear regression line below 0
3-day linear regression line is turning up
the slope of the 23-day linear regression channel is up


chetron
2,817 posts
msg #83027
Ignore chetron
modified
11/13/2009 5:35:25 PM

LOL, COME ON MYSTIQ, THINK.

LRI IS A PRICE VALUE, YOU WANT -0 DOLLAR EQUITIES, YOU'RE KILLING ME. LOL

mystiq
650 posts
msg #83048
Ignore mystiq
11/14/2009 5:12:09 AM

lol thx chet..my brain was in sleep mode (-.-)

StockFetcher Forums · Filter Exchange · Help with filter please<< >>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.