Trying to do a stock backtester for excel. Have the data, the indices and even the entry and exit as well as the stop-loss in the spreadsheet. The issue I'm having is that the Exit and Stop-loss points, because the criteria extends for several rows, I get a value for multiple rows and I only need the first one. I've tried to add the IF statement that excludes if the cell prior is "0" but that only works for one cell, then the third one has the value again.
Looking for any options and thoughts.
Also, if there are any templates out there that I could learn from, would appreciate it.
Thanks!!!
Looking for any options and thoughts.
Also, if there are any templates out there that I could learn from, would appreciate it.
Thanks!!!