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)
+++++++++++++
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
|