StockFetcher Forums · General Discussion · Applying a filter to one stock for lookback purpose<< 1 2 >>Post Follow-up
traderseb
36 posts
msg #101692
Ignore traderseb
7/18/2011 7:05:14 AM

Run filter.

Set to Table View

Under Analysis click historical to show when the filter conditions were matched in the previous 6 months. Each time a green arrow is displayed. You can manipulate the end date to move a rolling 6 month window.

sevenacorns
6 posts
msg #101693
Ignore sevenacorns
7/18/2011 10:05:08 AM

Kevin-
How do I write the code for this trigger lookback for the following line-

[and CCI(77) has increased more than 15 in past 2 days]

Thank you for your time.
Isaac

Kevin_in_GA
4,599 posts
msg #101694
Ignore Kevin_in_GA
modified
7/18/2011 10:27:53 AM

Fetcher[

set{condition1, count(CCI(90) above 50, 1)}
set{condition2, count(MACD Histogram (8,21,7) above 0,1)}
set{condition3, count(Slow stochastic(33,5) %D crossed above 50 in the last 1 day, 1)}
set{condition4, count(price is more than 0.7% greater than close 1 day ago,1)}

set{5a, CCI(77) - CCI(77) 2 days ago}
set{condition5, count(5a above 15, 1)}

set{var1, condition1 * condition2}
set{var2, var1 * condition3}
set{var3, var2 * condition4}
set{trigger, var3* condition5}

trigger above 0.5

draw trigger
]




duke56468
683 posts
msg #101695
Ignore duke56468
7/18/2011 10:38:17 AM

Thanks Traderseb....That is a useful function I have not used before :)

StockFetcher Forums · General Discussion · Applying a filter to one stock for lookback purpose<< 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.