macd test code expert

 
The code did not cut and past corectly....I will post later.
 
Try backtesting with a bit more history than one year, and then you'll understand, why a systems which does not set trades with a initial StopLoss are a bad idea. Oh and if you put in a StopLoss, the system will not be profitable anymore.
 
Perhaps I am testing the system incorrectly. I told the strategy tester to use all of the available data from 1988 to present. Also, the system does use stops. Can anyone comment on how the use of the backtesting in metaqtrader to ensure proper testing. The idea behind this post is to improve on this simple template for constructing techniques. It is not ment to be used only for the macd but as a general way to setup a trading system as well as the testing of the technique.

Thanks in advance for any helpful comments to improve the template.
Reason: