StockFetcher Forums · General Discussion · Anyone know how to do multiple day look backs?<< >>Post Follow-up
kitd-fohs
2 posts
msg #140004
Ignore kitd-fohs
12/11/2017 10:51:36 PM

Trying to do a sequential of 9 where a buy is 9 consecutive bars where each low is lower than the low of the bar 4 bars ago, any help would be greatly appreciated.

emwalker
35 posts
msg #140026
Ignore emwalker
12/12/2017 1:12:55 PM

not sure if I understand what you are asking, but i think this fits what you are trying to do...

Fetcher[
set{x, count(low < low 4 days ago, 9)}
add column x
x is above 8
]



kitd-fohs
2 posts
msg #140029
Ignore kitd-fohs
12/12/2017 1:33:02 PM

Thank you very much much cleaner than what I came up with.

set{var1, low 13 day ago}
set{var2, low 12 day ago}
set{var3, low 11 day ago}
set{var4, low 10 day ago}
set{var5, low 9 day ago}
set{var6, low 8 day ago}
set{var7, low 7 day ago}
set{var8, low 6 day ago}
set{var9, low 5 day ago}
set{var10, low 4 day ago}
set{var11, low 3 day ago}
set{var12, low 2 day ago}
set{var13, low 1 day ago}

var5 < var1
and var6 < var2
and var7 < var3
and var8 < var4
and var9 < var5
and var10 < var6
and var11 < var7
and var12 < var8
and var13 < var9


StockFetcher Forums · General Discussion · Anyone know how to do multiple day look backs?<< >>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.