StockFetcher Forums · General Discussion · formula error<< >>Post Follow-up
sohailmithani
192 posts
msg #108109
Ignore sohailmithani
9/19/2012 2:22:22 PM

Why is the + sign not allowed by SF in filters. I am trying set command and using + to add two set commands but it is not picking up.

Kevin_in_GA
4,599 posts
msg #108115
Ignore Kevin_in_GA
9/19/2012 4:34:09 PM

It is allowed. Please post your specific filter syntax and I'm guessing your issue can be easily solved.

sohailmithani
192 posts
msg #108120
Ignore sohailmithani
9/19/2012 5:47:28 PM

Thanks Kevin. Let me inform you that using the below it used to work fine until today when I noticed that the + sign disappeared and distorted my results.

set{rsi1dayago, rsi(2) 1 day ago}
set{rsi10, rsi(2) + rsi1dayago}
rsi10 < 10
rsi1dayago > rsi(2)

I have included + sign here but when I try this on filter in backtest it disappears. Don't know why?
Thanks for help.

Kevin_in_GA
4,599 posts
msg #108124
Ignore Kevin_in_GA
9/19/2012 9:38:39 PM

set{rsi1dayago, rsi(2) 1 day ago}
set{rsi10, rsi(2) + rsi1dayago}
rsi10 < 10
rsi1dayago > rsi(2)

+++++++++++++

Fetcher[
set{rsi1dayago, rsi(2) 1 day ago}
set{rsi10, rsi(2) + rsi1dayago}
rsi10 < 10
rsi1dayago > rsi(2)
]



Seems to be working fine here without any changes.

sohailmithani
192 posts
msg #108125
Ignore sohailmithani
9/19/2012 11:25:44 PM

strange but it now works in back testing too
thanks

StockFetcher Forums · General Discussion · formula error<< >>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.