StockFetcher Forums · General Discussion · Need assistance with a filter!<< >>Post Follow-up
Paolo
9 posts
msg #137450
Ignore Paolo
modified
8/8/2017 9:55:15 AM

set{Buleng,count(pattern is Bullish Engulfing,3)}
draw Buleng
set{mornstar,count(pattern is Bullish Morning Doji Star,2)}
draw mornstar
count(Buleng + mornstar,1) > 0 /* it give me some error here */
count(rsi(14) crossed above 30,2) > 0.2


why ?
thank you

Kevin_in_GA
4,599 posts
msg #137451
Ignore Kevin_in_GA
8/8/2017 10:09:30 AM

You are trying to do two mathematical operations in one sentence of the filter (not allowed).

Fetcher[
set{Buleng,count(pattern is Bullish Engulfing,3)}
set{mornstar,count(pattern is Bullish Morning Doji Star,2)}
set{trigger, buleng + mornstar}
trigger above 0.5
count(rsi(14) crossed above 30,2) above 0.5
draw Buleng
draw mornstar
]




Paolo
9 posts
msg #137453
Ignore Paolo
8/8/2017 11:34:21 AM

Thank you

StockFetcher Forums · General Discussion · Need assistance with a 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.