I have been using excel for a long time but never going deeper than using SUM commands. I tried reading some guides on excel functions but none of them seem to solve my problem so I hope you guys can help me out.
I am researching a trading strategy for stocks where I want to calculate the average returns of a simple strategy of buying and selling at arbitrary ratios. Basically I want a formula that automatically find the time at which the value crosses a certain low point and again when it crosses a high point and records down both. Something along the lines of =IF(OR(a1>2, a1<0),LOOKUP,...) etc. Obviously this one doesn't work, I only want the time of the start and the end recorded, not everything in between too. I could manually filter out the extra values except I have 550,000 numbers to deal with.
I hope I didn't make it sound too complicated. Any help is more than welcome. Thank you.
The title is a bit misleading, I hope that's ok.
Bookmarks