Has any one found that after programming code and back testing it the back test produces bizarre results??? I.e. 2% trailing stop loss ignored? Entries missed and exits missed, Trade going short when it is supposed to go long??
Sometimes you have to investigate a bit more into your code to understand if what you see on screen is the results of your code or malfunction of specific instruction at a certain time.. I know that debugging can be frustrating sometimes because things don’t go the way it should .. Maybe I can help debug your code, just post it here.