miko 68 posts msg #67820 - Ignore miko |
9/27/2008 8:06:51 PM
I use the variables section of settings to input values used in some, but not all filters. For example, I create a variable named HVTest to store a value that I can test Historical Volatility against, for example: "HistoricalVolatility (100,1,250) is above HVTest". However, when I run debug it shows "Error: Syntax error in filter". The statement seems to be executing properly. Is it just a bug in debug?
|
maxreturn 745 posts msg #67821 - Ignore maxreturn |
9/27/2008 10:05:46 PM
Post your actual code so we can take a look.
|
miko 68 posts msg #67822 - Ignore miko |
9/27/2008 11:53:16 PM
That is my code, I go into settings, variables and assign a value of say 50 to a variable HVTest. Then I use "Historical Volatility (100,1,250) is above HVTest" as a filter. If I also include "Add Column Historical Volatility (100,1,250)", I can sort and find that the output is as expected. But debug reports a syntax error. Hence, a bug in debug.
|
chetron 2,817 posts msg #67826 - Ignore chetron modified |
9/28/2008 8:32:01 AM
good find, miko. however the filter works just fine.
i am sure tomb will get right on it.
i am sure it is only because the debug only checks the actually filter and doesn't include checking your personal variable settings too.
|