StockFetcher Forums · General Discussion · To the exponent -1 | << 1 2 >>Post Follow-up |
hawk 5 posts msg #64241 - Ignore hawk |
6/23/2008 4:38:17 PM Have been having great fortune with this scan that I borrowed from another discusssion. Is there someone that could invert it to find the short opportunities Signed Hawk Rexroth set{E36b,days(ema(3) is above ema(6),100)} set{E36a,days(ema(3) is below ema(6),100)} set{E3xE6, E36a - E36b} set{E50200b,days(ma(50) is above ma(200),100)} set{E50200a,days(ma(50) is below ma(200),100)} set{M50xM200, E50200a - E50200b} set{E1326b,days(ema(13) is above ema(26),100)} set{E1326a,days(ema(13) is below ema(26),100)} set{E13xE26, E1326a - E1326b} set{CCb,days(close is above close 1 day ago,100)} set{CCa,days(close is below close 1 day ago,100)} set{CxC, CCa - CCb} set{E5b,days(close is above ema(5),100)} set{E5a,days(close is below ema(5),100)} set{CxE5, E5a - E5b} set{E50b,days(close is above ma(50),100)} set{E50a,days(close is below ma(50),100)} set{CxM50, E50a - E50b} set{E200b,days(close is above ma(200),100)} set{E200a,days(close is below ma(200),100)} set{CxM200, E200a - E200b} set{T10, count(10 day slope of the close above 0,1)} set{T60, count(60 day slope of the close above 0,1)} set{T200, count(200 day slope of the close above 0,1)} Set{a1, T200 * 1} Set{a2, T60 * 10} Set{a3, T10 * 100} Set{aa, a1 + a2} Set{TREND, aa + a3} set{v, volume 1 day ago} set{volinc, volume - v} set{volpc, volinc / v} set{volpct, volpc * 100} set{VolZ, days(volume < 1,100)} set{VolUp, days(volume is below volume 1 day ago,100)} set{VolDn, days(volume is above volume 1 day ago,100)} set{VolCnt, VolUp - VolDn} set{vck1, volume 1 day ago } set{vck, volume / vck1 } set{vdbl, days(vck < 2, 100)} set{PARBuy, count(close crossed above Parabolic SAR, 1) } set{DMIBuy, count( di(14) Difference above 0 , 1) } set{PARSell, count(close crossed below Parabolic SAR,1) } set{DMISell, count( di(14) Difference below 0, 1) } set{PARSBuy, PARBuy * DMIBuy} set{PARSSell, PARSell * DMISell} set{PARSTrade, PARSBuy + PARSSell} and add column VolCnt and add column Vdbl and add column volpct and add column Trend and add column CxC {CxC_} and add column CxE5 {CxE5} and add column E3xE6 {E3xE6} and add column E13xE26 {E13xE26} and add column CxM50 and add column CxM200 and add column M50xM200 add column rsi(2) add column weekly rsi(2) add column PARSBuy add column PARSSell PARSBuy above 0 close above 1 volume above 1000000 Draw ema(200) Draw ema(50) Draw ema(20) Draw VA(30) Draw VA(10) sort column 7 descending |
stocktrader 294 posts msg #64244 - Ignore stocktrader |
6/23/2008 5:55:48 PM This should do the trick: sort column 7 descending Draw VA(10) Draw VA(30) Draw ema(20) Draw ema(50) Draw ema(200) volume above 1000000 close above 1 PARSBuy above 0 add column PARSSell add column PARSBuy add column weekly rsi(2) add column rsi(2) and add column M50xM200 and add column CxM200 and add column CxM50 and add column E13xE26 {E13xE26} and add column E3xE6 {E3xE6} and add column CxE5 {CxE5} and add column CxC {CxC_} and add column Trend and add column volpct and add column Vdbl and add column VolCnt set{PARSTrade, PARSBuy + PARSSell} set{PARSSell, PARSell * DMISell} set{PARSBuy, PARBuy * DMIBuy} set{DMISell, count( di(14) Difference below 0, 1) } set{PARSell, count(close crossed below Parabolic SAR,1) } set{DMIBuy, count( di(14) Difference above 0 , 1) } set{PARBuy, count(close crossed above Parabolic SAR, 1) } set{vdbl, days(vck < 2, 100)} set{vck, volume / vck1 } set{vck1, volume 1 day ago } set{VolCnt, VolUp - VolDn} set{VolDn, days(volume is above volume 1 day ago,100)} set{VolUp, days(volume is below volume 1 day ago,100)} set{VolZ, days(volume < 1,100)} set{volpct, volpc * 100} set{volpc, volinc / v} set{volinc, volume - v} set{v, volume 1 day ago} Set{TREND, aa + a3} Set{aa, a1 + a2} Set{a3, T10 * 100} Set{a2, T60 * 10} Set{a1, T200 * 1} set{T200, count(200 day slope of the close above 0,1)} set{T60, count(60 day slope of the close above 0,1)} set{T10, count(10 day slope of the close above 0,1)} set{CxM200, E200a - E200b} set{E200a,days(close is below ma(200),100)} set{E200b,days(close is above ma(200),100)} set{CxM50, E50a - E50b} set{E50a,days(close is below ma(50),100)} set{E50b,days(close is above ma(50),100)} set{CxE5, E5a - E5b} set{E5a,days(close is below ema(5),100)} set{E5b,days(close is above ema(5),100)} set{CxC, CCa - CCb} set{CCa,days(close is below close 1 day ago,100)} set{CCb,days(close is above close 1 day ago,100)} set{E13xE26, E1326a - E1326b} set{E1326a,days(ema(13) is below ema(26),100)} set{E1326b,days(ema(13) is above ema(26),100)} set{M50xM200, E50200a - E50200b} set{E50200a,days(ma(50) is below ma(200),100)} set{E50200b,days(ma(50) is above ma(200),100)} set{E3xE6, E36a - E36b} set{E36a,days(ema(3) is below ema(6),100)} set{E36b,days(ema(3) is above ema(6),100)} |
chetron 2,817 posts msg #64246 - Ignore chetron modified |
6/23/2008 6:40:07 PM lol, evil. fyi. thanx TRO for all the great work you do. i am probably guilty of stripping you titles off too, but i would only do so because i like to simplify. it is interesting to see though, that folks who claim not to know how to alter filters always seem to always remove your titles. sorry tro for any past infractions and i will do better in the future. |
stocktrader 294 posts msg #64247 - Ignore stocktrader |
6/23/2008 6:44:43 PM Oh well, just trying to interpret the request. I guess I missed the mark :) |
hawk 5 posts msg #64299 - Ignore hawk |
6/24/2008 5:49:18 PM no evil intended. Sorry for any ethical moral or other infarctions to numerous to mention. Did not intend to strip anyting off, just a copy and paste from my filters (borrowed from the original autor who's name was not present and not readibly available from the thread I trialed it from). Kudos to the original author (my hats off to you), I am still adding manual intervention with your automation. Once I am able to code what I am doing with what your scan yields I will re-post the edited version for anyone interested. Happy trading. |
TheRumpledOne 6,411 posts msg #64301 - Ignore TheRumpledOne |
6/24/2008 5:57:17 PM Yeah, it wasn't really a issue until a certain someone came along and started making minor changes and renaming the filter without giving credit. And, no 13th, I am NOT talking about you!! The work is shared freely so the least one can do it show a little respect by leaving in the comments that identify the author/code/originator. |
hawk 5 posts msg #64302 - Ignore hawk |
6/24/2008 6:02:38 PM OK stocktrader, you now know my achilles heel. I am in the forest but cant see the tress sort of speak. Apart from simple coding, and edits, I am a drift, just learning. I just trialed your scan, and got the computer gods angered. Syntax issues I cannot begin to interpret yet alone share with you. I copied and pasted your post. Is there something I should have done different. Hawk Rexroth |
chetron 2,817 posts msg #64305 - Ignore chetron modified |
6/24/2008 7:39:54 PM HAWK, THE LOL EVIL THAT WAS DONE, WAS STOCKTRADER PLAYED A JOKE ON YOU. HE TOOK YOU AT YOUR WORD AND ONLY REVERSED THE ORDER OF THE FILTER YOU PASTED. I ON THE OTHER HAND, I GAVE YOU THE FILTER FOR SHORTS, IF YOU CAN CALL IT THAT. THE FILTER ITSELF IS MORE A REPORT THAN A FILTER. THE ONLY LINE THAT IS A FILTER IS WHETHER YOU ARE LOOKING AT PARSBUY(LONG) OR PARSSELL(SHORT). THE FILTER VERSION YOU LIKED FOR LONGS ONLY SHOWED YOU THE EQUITIES WHOSE CLOSE WAS ABOVE THE PARABOLIC SARS, SO I FIGURED THAT LOOKING AT STOCK WHOSE CLOSE WAS BELOW THE PARABOLIC SARS WOULD BE GOOD FOR SHORTS. HOPE THIS HELPS DO NOT TRY TO USE STOCKTRADER'S VERSION |
stocktrader 294 posts msg #64319 - Ignore stocktrader |
6/25/2008 10:04:42 AM Hawk, Sorry about that. After being on SF for a number of years it tends to get boring in the Forum. Yes, take a look at chetron's version. In time you'll learn to modify and code some filters on your own and come up with something that works for your trading style. Regards. |
stocktrader 294 posts msg #64320 - Ignore stocktrader |
6/25/2008 10:08:00 AM It was actually your forum title that got my attention. My own filters tend to be heavy in math trickery. Trade well. |
StockFetcher Forums · General Discussion · To the exponent -1 | << 1 2 >>Post Follow-up |
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