Bill,
There are a few things you can do to allow AMIBroker to help figure out some settings. If you use the Optimization Engine in AMIBroker it can help you to tweak the settings.
For Example: Adding moving average tests to the 4% model. AMIBroker will run through years of data issuing buys and sells and in the end it will show you ranked best to worst what parameters to use. Then when it is done it will show you the best performing moving averages to add to the formula. I have V5.20 of AMIBroker. If you can get that version for a free upgrade the optimization engine is super fast.
The 4% model I posted on the AMIBroker site did not have any moving average logic. You can use the code below to allow AMIBroker to optimize what moving average to use. You will see once you run this through the 4% model signals will improve and there will be fewer trades. Once you go through this process start thinking about other items that can be optimized such as the 4% change should it be 3.5%, 3.9%.....?? let AMIBroker figure it out by using the optimization engine. This will get you close to how the model works on MTR except I left out a few things that I do not want to disclose.
Here is the code you can use for Moving Avg Optimization. Add the code below to your Buy / Sell parameters. Not sure if you have run the AMIBroker Optimizer before... if not look at the Optimizer help in AMIBroker it takes you though the process step by step.
MAB = Optimize( "MAB", 15, 5, 55, 1 );
MAS = Optimize( "MAS", 15, 5, 55, 1 );
//Add to xBuy
And C >MA(C, MAB);
//Add to xSell
Sell = C < MA(C,MAS);
Let me know if you need any help setting it up or to review the code.
Thanks,
Patrick