Hi again,

Sorry for the strange title, but I unfortunately I don't know of a better way 
to express this...

I've just run a backtest of a time range pre-2000 with QP data and did not get 
one single trade (worked perfectly with post-2000 data).

I've isolated the problem, but I don't know of a way to solve this nicely.

I use a couple of criteria for the entry signal, which I have arranged for 
convenient access as parameters in the "Parameters" Window.

One of them is EPS Rank, and the QP database doesn't contain any EPS Rank data 
pre-2000. That's no problem for me right know, as I want to leave that criteria 
out of the picture for that backtest, so I've changed the Minimum EPS Rank 
parameter to >= 0, which essentially cancels that criteria out (or so I 
thought). But AB doesn't let me do it that way.

1) Is there some way to change my code in a universal way (i. e. that I don't 
have to mess around with my code in the future for such cases) that ignores 
criteria for which there is no historical data?

2) Additionally, a "perfect" solution for this would contain some form of 
warning when running the backtest. How could I accomplish this?

Thanks very much in advance!

Reply via email to