15minoffame 131 posts msg #118614 - Ignore 15minoffame |
3/13/2014 3:37:10 PM
Hi all,
I have this filter:
macd fast line(12,26,9) crossed below macd slow line(12,26,9)
macd fast line(12,26,9) 1 day ago has been above macd slow line(12,26,9) for the last 20 days
Now, how do I go about writing a syntax where I add a column sorting days since. For example, let's say SPY, CAT, IBM, KO show up in the filter. Let's say this is the first time in 23 days that SPY had a bearish MACD X over, CAT 25 days, IBM 31 days, KO 26 days. I can't figure out how to sort these numbers.
TIA!
|