I used the following code to back test using Par Sar and moving averages. I found that testing for the signal to go from 'Long' to 'Short' strategy (the 'else if' part of 'main'), the value of the Par Sar is not factored into the logic. Any guidance as to what I maybe doing wrong?
Thanks for the advise
Thanks for the advise
Comment