scoreNoRotate, as documented, prevents new trades, was: Why rotational system is not trading

@Mactoub,
Welcome to the forum. You would be well-advised to study the following page:
https://forum.amibroker.com/t/how-to-use-this-site/182

We also use code tags </> to wrap our code so it's easier for others to test. In addition it helps to avoid typos in the code.

I copied your supplied code into Formula Editor and ran it as a backtest on a watchlist comprised of 29 ETFs using the Worden TC2000 database from 2018-01-01 to 2019-03-21 and it generated 23 trades. It appears to be working.

1 Like