August 10th, 2009, 4:10 pm
It helps immensely, thank you.Yes you will need some type of lookback check in one of your columns. This can be done easily by just referencing the row preceding it. If the value in the past is set then do this else this. So when you have a buy/sell signal the test will know and trigger the event and then wait for the next signal to unwind etc ... You might need to use 4 columns to implement what you want. So you mean If G3>1, then buy, 0 - the problem with this is there does not seem to be a buy or sell function. I can sort out the nested if functions ( using AND as well I think) - but do you know how I get the spreadsheet to actually buy ?Previously, I have got the return from doing say Open - Close ( on any row) - and I can do the same here presumably...ie IF G3>1 then open position at price at that point, and close at price after 10 seconds. ( which will be another column etc).Does that sound right ?Sorry to pester you...