I've been looking at a few intraday charts on FX and on the ASX and I've come across a few strategies that I'd like to test. One example is going long off of bottoms: Shove a crap load of capital into a stock that is closing in on a support level with tight stops, then adjust stop if bounces, otherwise exit ASAP. I can program the money management part, but I don't think I'd be able to code for the support levels. For example, I'd much rather use the green circle as support because it's wider and the price action doesn't seem to be as volatile as the red circle.
Anywho, to the question: How do you backtest discretionary trades?