StockFetcher Forums · General Discussion · Why is this advanced?<< >>Post Follow-up
byebyemoney
31 posts
msg #144189
Ignore byebyemoney
7/24/2018 11:18:03 PM

Hello,

I have a filter below. It works fine until I add one line of code

"close is above supportlevel"

If I take that out, then the filter works beautifully with a basic subscription. Appreciate any help. The filter is below

/*start of filter*/
set{iupper1, days(close reached a new 10 day high, 10)}
set{iupper2, days(close reached a new 45 day high, 45)}
set{vupper1, varOffset(close, iupper1)}
set{vupper2, varOffset(close, iupper2)}

vupper2 is above vupper1
iupper1 is above -1

set{height1, vupper2-vupper1}
set{length1, iupper2-iupper1}
set{tanin1, height1/length1}
set{theta, atan(tanin1)}
set{tantheta, tan(theta)}
set{height2, tantheta*iupper1}
set{supportlevel, vupper1-height2}

close is above supportlevel

add column vupper1
add column vupper2
add column height1
add column iupper1
add column iupper2
add column length1
add column theta
add column tantheta
add column height2
add column supportlevel


chart-length is 3 months

StockFetcher Forums · General Discussion · Why is this advanced?<< >>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.