Feb 28, 2012

dan MTF scoring EA

The "multi time-frame scoring robot" from 13-05-2010 checks the values of many different indicators, and assigns a score depending if they are bullish or bearish. Once the score reaches a certain value, the robot opens a trade, and closes it again once it drops too low.

The idea behind this robot was that with enough information about the market given by many agreeing indicators, we should be able to get some winning trades.

It was programmed partly out of curiosity and partly from desperation since no other robot designs were working.

It loops through several time-frames looking up various values and uses arrays to store the indicator values for some reason ... maybe just because I wanted to use arrays for fun.

I attempted to back-test this robot, but it was extremely slow, and I stopped it after a while.

From memory, this robot actually performed half decently, until at one point I increased the lot size, thinking I really only needed a few accurate trades with high leverage to generate a good profit.

Then it suffered one huge loss, and I stopped testing it.

Update!

I realized I had put the delay which I usually include in my robots in the wrong place.

This link has the corrected code with the working delay. The robot now back-tests faster, but doesn't seem to open any trades. It could be the multi time-frame code doesn't play well in MetaTraders back-tests.