twayburn 4 posts msg #98716 - Ignore twayburn |
1/23/2011 6:20:16 PM
I thought I was doing what everyone else did in writing filters, but I get a syntax error on practically every line. What in the world am I doing wrong? I hope not everything.
Here is the filter:
Set{var1, Williams %R(8)}
Set{var2, Williams %R(21)}
Set{var3, Williams %R(55)}
Set{sum1, Williams %R(8) + 100}
Set{sum2, var2 + 100}
Set {sum3, var3 + 100}
Set {var5, max(sum1, sum2)}
Set {var6, max(sum3, RSI(2))}
Max (var5, var6) < 10
and volume > 400000
and price is above 3
And add column sum1
And add column sum2
And add column sum3
And add column RSI(2)
|
four 5,087 posts msg #98717 - Ignore four modified |
1/23/2011 6:43:36 PM
Works for me. Click below and see what happens.
|
twayburn 4 posts msg #98718 - Ignore twayburn |
1/23/2011 7:28:14 PM
Thanks, four. I have no idea why it didn't work for me earlier. I am wondering, though, what the meaning is of
Fetcher{ .....
}
|
four 5,087 posts msg #98719 - Ignore four modified |
1/23/2011 8:18:13 PM
USE [ ]
not { }
|
twayburn 4 posts msg #98720 - Ignore twayburn |
1/23/2011 8:22:33 PM
Thanks. I still have many questions for this forum, but that's enough for tonight.
|
traderseb 36 posts msg #98737 - Ignore traderseb |
1/25/2011 7:33:46 AM
simpler coding for same results
|