First time poster here.
Basically I've spent the last two days trying to figure out how to back test a simple strategy (I thought?). For some reason with all the ways I've tried I can't seem to get the Exits to fire correctly. If anyone wants to take a gander and give me some tips would be much appreciated.
The idea was to write some code to enter short when RSI falls under 70 and you then get a cross of the MACD in the same direction within 5 bars (Bar must close, order is placed on next bar on a 233 tick chart). A stop would be placed at the High of the previous bar and a trailing stop would start when the price falls below the entry by 5 ticks.
Again, any tips would be helpful, right now it seems I'm getting pretty close, but I have some odd exits firing, or not firing at all.
Comment