moby 314 posts msg #90795 - Ignore moby modified |
4/5/2010 12:13:37 AM
Please help me with this scan. Trying to narrow my results to scans that only print results that open within the body of the candle of the previous day. And regardless if the previous candle is red or green.
set{body_bottom,min(open,close)}
set{body_top,max(open,close)}
show stocks where body_top is above body_top 1 day ago
This is what I could find but I can't make it work.
Also, I would prefer if the previous candle is red and the alert to print that today's candle opened within the body of the previous candle and closed green.
I added
and opcl 1 day ago < 0 (makes the day before red)
but when I add
opcl > 0 (to show today's candle closed green, I get errored out).
Just posting the latter stuff to show I am trying, but I can't make it work.
If someone can help when they have time, I would appreciate it. Thank you.
|
four 5,087 posts msg #90797 - Ignore four modified |
4/5/2010 12:56:25 AM
perhaps 1...
perhaps 2...
|
moby 314 posts msg #90799 - Ignore moby |
4/5/2010 7:41:24 AM
Thank you very much Four, works perfect !
|
four 5,087 posts msg #90811 - Ignore four |
4/5/2010 2:12:21 PM
Welcome
Which of the two filters: 1 or 2 works for you ?
Perhaps you will share the finished filter ?
|
heypa 283 posts msg #90815 - Ignore heypa modified |
4/5/2010 2:59:38 PM
I believe in simple
|
moby 314 posts msg #90816 - Ignore moby |
4/5/2010 4:25:37 PM
Thanks heypa and Four.
Four: they both work. Trying to add one of them to settings as a global filter. Only had a few min this morning to try and add them to other filters. When I find a combination that works I will post it in this thread. Thanks again. :)
|
moby 314 posts msg #90821 - Ignore moby |
4/5/2010 6:21:01 PM
|
moby 314 posts msg #90903 - Ignore moby modified |
4/8/2010 1:51:16 AM
Four: I asked for help on something else, but I took out the first line of your scan and got this as another filter. Ones that don't take out a previous red candle.
Thanks again Four :)
|
moby 314 posts msg #90904 - Ignore moby |
4/8/2010 2:05:44 AM
Four: I like this too, but the ones that gap too much scare me. That they have gone away to far. How can I alter the last scan to limit the gap up to say less than .20 cents ? If you can help tweak this I'd appreciate it, if not I am already very happy with the scan you wrote. Thanks again :)
|
moby 314 posts msg #90914 - Ignore moby modified |
4/8/2010 8:31:38 AM
Four: Sorry I seem to be answering my own questions here. I was able to add this tweak from another scan and it seems to work together with your's. I thought my add on would create conflict and get zeroed out. Just posting this so you know I am trying and not always asking for help without putting in any effort. Thanks again for everything. Have a nice day.
|