Very simple problem, but I simply can't figure out how.
Say, A1=buy, A2=(space), A3=buy, A4=sell, A5=sell, A6=sell, A7=buy
I want to screen out all the repeated signals, i.e., since I already bought upon A1, I would ignore A3. And sell on A4. After selling on A4, it'd have been sold, and A5/A6 and all subsequent selling signals will be ignored until a buying signal comes to tell me buy again.
So, B1=buy, B2, B3=(space), B4=sell, B5, B6=(space), B7=buy
What formula do I have to put on row B to achieve this result? This single thing would improve the efficiency of my excel technical analysis model a million times, since I now need to screen them out manually, on dozens of stocks, each consisting of dozens of technical models. A million thanks.
Bookmarks