|
dare2
2012-09-14 02:34:50
|
|
I am trying to build a screen utilizing the tfs_tether indicator from the TFS trading system.
I have come up with the following, but it is not working. Syntax is okay and it comes up with 245 stocks as of 9/12 but the tfs_tether criteria is not working.
var1 = close > tfs_tether(0);
var2 = ref(close,1) < ref(tfs_tether(0),1);
var3 = close > 10;
var4 = volume > 500000;
filter = var1 and var2 and var3 and var4;
Would you be so kind as to tell me what I am doing wrong?
Thank you,
Darrell Allen
|
|
|
|
QuantShare
2012-09-14 10:36:07
0
|
|
If the syntax is okay, why do you think that the tfs_tether criteria is not working?
|
|
|
|
dare2
2012-09-14 14:08:54
0
|
|
Because what I have asked for in the screen is a listing of stocks where yesterdays close was below the tfs_tether but today's close is above the tfs_tether. Almost all of the 245 stocks have closes all over the place but not what I wanted. Sometimes the previous close below the tether was 2 months ago and the close has remained above the tether all that time.
Darrell
|
|
|
|
QuantShare
2012-09-14 14:38:53
0
|
|
You are comparing yesterday's close with yesterday's tether, right?
Did you specify a screen date or bar? Make sure you are comparing the same date.
|
|
|
|
dare2
2012-09-14 16:01:59
0
|
|
Yes I am comparing yesterday's close with yesterday's tether and today's close with today's tether.
I did not specify a screen date or bar. How do I do that?
Thanks
|
|
|
|
QuantShare
2012-09-14 16:14:41
0
|
|
The settings are just above the formula editor.
|
|
|
|
dare2
2012-09-14 16:30:42
0
|
|
I just ran the screen again using the 'n' bar setting, but got the same erroneous results. Something is not right.
Darrell
|
|
|
|
QuantShare
2012-09-14 16:58:16
0
|
|
Best Answer
You probably done something wrong. Please send some screenshots to support@quantshare.com with some explanation of the errors.
|
|
|
|
dare2
2012-09-14 18:16:16
0
|
|
You were correct. I did something wrong. I had the wrong parameter for the tether.
|
|
|
|
QuantShare
2012-09-14 19:32:20
0
|
|
I am glad you fixed it
|
|
|
|